-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee40811
commit 8943e28
Showing
2 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
--upgrade pip | ||
--upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 | ||
# Install PyTorch, torchvision, torchaudio with CUDA 11.8 support | ||
torch --index-url https://download.pytorch.org/whl/cu118 | ||
torchvision --index-url https://download.pytorch.org/whl/cu118 | ||
torchaudio --index-url https://download.pytorch.org/whl/cu118 | ||
# Install xformers for PyTorch 2.x | ||
xformers[torch2] | ||
|
||
# Install 'unsloth' (from GitHub repo) | ||
unsloth[colab] @ git+https://github.com/unslothai/unsloth.git | ||
git+https://github.com/huggingface/transformers.git | ||
trl | ||
boto3 | ||
|
||
--upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 | ||
# Install Hugging Face 'transformers' (from GitHub repo) | ||
git+https://github.com/huggingface/transformers.git | ||
|
||
xformers | ||
# Install trl | ||
trl | ||
|
||
# Install boto3 | ||
boto3 | ||
|
||
-U torch | ||
-U torchvision | ||
-U torchaudio | ||
torch | ||
torchvision | ||
# Install PyTorch, torchvision, torchaudio with CUDA 11.8 support again | ||
torch --index-url https://download.pytorch.org/whl/cu118 | ||
torchvision --index-url https://download.pytorch.org/whl/cu118 | ||
torchaudio --index-url https://download.pytorch.org/whl/cu118 | ||
|
||
|
||
-U xformers | ||
xformers[torch2] | ||
# Install xformers for PyTorch 2.x again | ||
|