fix: force reinstall PyTorch to resolve version conflicts
This commit is contained in:
@@ -27,7 +27,7 @@ source venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
|
||||
echo "[2/4] Install PyTorch with CUDA (RTX 5090 compatible)..."
|
||||
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
|
||||
pip install --force-reinstall torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
|
||||
|
||||
echo "[3/4] Install training dependencies..."
|
||||
pip install transformers datasets trl peft accelerate bitsandbytes
|
||||
|
||||
Reference in New Issue
Block a user