Update ImageStudioArrakis2.sh
Browse files- ImageStudioArrakis2.sh +1 -1
ImageStudioArrakis2.sh
CHANGED
|
@@ -298,7 +298,7 @@ GPU_INFO=$(nvidia-smi --query-gpu=name --format=csv,noheader 2>/dev/null || echo
|
|
| 298 |
|
| 299 |
if [[ "$GPU_INFO" == *"5090"* ]] || [[ "$GPU_INFO" == *"5080"* ]]; then
|
| 300 |
log_warn "RTX 5090/5080 detectada - instalando PyTorch novo"
|
| 301 |
-
python -m pip install
|
| 302 |
else
|
| 303 |
log_info "GPU: ${GPU_INFO:-Não detectada}"
|
| 304 |
fi
|
|
|
|
| 298 |
|
| 299 |
if [[ "$GPU_INFO" == *"5090"* ]] || [[ "$GPU_INFO" == *"5080"* ]]; then
|
| 300 |
log_warn "RTX 5090/5080 detectada - instalando PyTorch novo"
|
| 301 |
+
python -m pip install --force-reinstall torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
|
| 302 |
else
|
| 303 |
log_info "GPU: ${GPU_INFO:-Não detectada}"
|
| 304 |
fi
|