婆罗门
精华
|
战斗力 鹅
|
回帖 0
注册时间 2008-10-24
|
楼主 |
发表于 2025-4-19 04:49
|
显示全部楼层
- [url=home.php?mod=space&uid=118165]@Echo[/url] off
- rem ======= update_torch.bat (ASCII only) ======================
- rem 0) load environment (sets %%DIR%% -> …\system)
- call "%~dp0environment.bat"
- rem 1) python helper
- set PY=%DIR%\python\python.exe
- rem 2) update pip tooling
- "%PY%" -m pip install --upgrade pip setuptools wheel
- rem 3) install nightly torch for CUDA‑12.8
- "%PY%" -m pip install --pre torch torchvision torchaudio ^
- --index-url https://download.pytorch.org/whl/nightly/cu128 --upgrade
- "%PY%" -m pip install flatbuffers --upgrade
- rem 4) show result
- "%PY%" -c "import torch; print('Torch:', torch.version); print('CUDA:', torch.version.cuda)"
- pause
- rem =============================================================
复制代码 50系显卡在根目录下写个bat跑一下升级到cuda12.8就能跑了,模型+依赖一共有50g建议搞个流量足够的梯子
|
|