update cuda default torch==2.7 cuda==12.8

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-04-29 11:04:14 -04:00
parent c6cc1476c6
commit c940f69b6d
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@
- Prompt-Enhhance: add **Qwen3** 0.6B/1.7B/4B models
- Prompt-Enhhance: add thinking mode support (for models that have it)
- **Other**
- CUDA: set default to `torch==2.7.0` with `cuda==12.8`
- FramePack: improve performance
- Docker: pre-install `ffmpeg`
- **Fixes**
+2 -1
View File
@@ -573,7 +573,8 @@ def install_cuda():
if args.use_nightly:
cmd = os.environ.get('TORCH_COMMAND', '--upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu128 --extra-index-url https://download.pytorch.org/whl/nightly/cu126')
else:
cmd = os.environ.get('TORCH_COMMAND', 'torch==2.6.0+cu126 torchvision==0.21.0+cu126 --index-url https://download.pytorch.org/whl/cu126')
# cmd = os.environ.get('TORCH_COMMAND', 'torch==2.6.0+cu126 torchvision==0.21.0+cu126 --index-url https://download.pytorch.org/whl/cu126')
cmd = os.environ.get('TORCH_COMMAND', 'torch==2.7.0+cu128 torchvision==0.22.0+cu128 --index-url https://download.pytorch.org/whl/cu128')
return cmd