File tree Expand file tree Collapse file tree 2 files changed +17
-15
lines changed Expand file tree Collapse file tree 2 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 1- --upgrade  pip
2- --upgrade  torch torchvision torchaudio --index-url  https://download.pytorch.org/whl/cu118 
1+ # Install PyTorch, torchvision, torchaudio with CUDA 11.8 support 
2+ torch  --index-url  https://download.pytorch.org/whl/cu118 
3+ torchvision  --index-url  https://download.pytorch.org/whl/cu118 
4+ torchaudio  --index-url  https://download.pytorch.org/whl/cu118 
5+ # Install xformers for PyTorch 2.x 
36xformers [torch2 ]
7+ 
8+ # Install 'unsloth' (from GitHub repo) 
49unsloth [colab ] @ git+https://github.com/unslothai/unsloth.git 
5- git+https://github.com/huggingface/transformers.git 
6- trl 
7- boto3 
810
9- --upgrade  torch torchvision torchaudio --index-url  https://download.pytorch.org/whl/cu118 
11+ # Install Hugging Face 'transformers' (from GitHub repo) 
12+ git+https://github.com/huggingface/transformers.git 
1013
11- xformers 
14+ # Install trl 
15+ trl 
1216
17+ # Install boto3 
18+ boto3 
1319
14- -U  torch
15- -U  torchvision
16- -U  torchaudio
17- torch 
18- torchvision 
20+ # Install PyTorch, torchvision, torchaudio with CUDA 11.8 support again 
21+ torch  --index-url  https://download.pytorch.org/whl/cu118 
22+ torchvision  --index-url  https://download.pytorch.org/whl/cu118 
1923torchaudio  --index-url  https://download.pytorch.org/whl/cu118 
2024
21- 
22- -U  xformers
23- xformers [torch2 ]
25+ # Install xformers for PyTorch 2.x again 
2426
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments