Update install.bat
This commit is contained in:
parent
bc225622bc
commit
00582ba1c4
@ -25,15 +25,6 @@ else (
|
|||||||
echo Python 已安装
|
echo Python 已安装
|
||||||
)
|
)
|
||||||
|
|
||||||
where nvcc >nul 2>&1
|
|
||||||
if %ERRORLEVEL% neq 0 (
|
|
||||||
echo 错误: 未找到CUDA工具包
|
|
||||||
exit /b 1
|
|
||||||
)
|
|
||||||
else (
|
|
||||||
echo CUDA 工具包已安装
|
|
||||||
)
|
|
||||||
|
|
||||||
nvcc --version | findstr "release 11.8" >nul 2>&1
|
nvcc --version | findstr "release 11.8" >nul 2>&1
|
||||||
if %ERRORLEVEL% neq 0 (
|
if %ERRORLEVEL% neq 0 (
|
||||||
echo 错误: 需要CUDA 11.8版本
|
echo 错误: 需要CUDA 11.8版本
|
||||||
|
Loading…
Reference in New Issue
Block a user