md896 commited on
Commit
830c039
·
1 Parent(s): d118f9f

Add --break-system-packages for Ubuntu 24.04 (PEP-668)

Browse files
Files changed (1) hide show
  1. ultimate_sota_training.py +2 -2
ultimate_sota_training.py CHANGED
@@ -3,10 +3,10 @@
3
 
4
  import os
5
  print("📦 Installing State-of-the-Art Libraries (Unsloth & TRL)...")
6
- os.system('pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"')
7
  # Removed the pip install -U line as Unsloth installs the correct versions of trl, accelerate, peft automatically
8
  # Installing torchao separately since torch 2.5 has missing torch.int1 attribute in some versions of torchao. Actually unsloth handles torchao.
9
- os.system("pip install wandb matplotlib")
10
 
11
  import httpx
12
  import torch
 
3
 
4
  import os
5
  print("📦 Installing State-of-the-Art Libraries (Unsloth & TRL)...")
6
+ os.system('pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git" --break-system-packages')
7
  # Removed the pip install -U line as Unsloth installs the correct versions of trl, accelerate, peft automatically
8
  # Installing torchao separately since torch 2.5 has missing torch.int1 attribute in some versions of torchao. Actually unsloth handles torchao.
9
+ os.system("pip install wandb matplotlib --break-system-packages")
10
 
11
  import httpx
12
  import torch