Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,3 @@
|
|
1 |
-
pip install torch==2.3.0 torchvision torchaudio -f https://download.pytorch.org/whl/cu121/torch_stable.html
|
2 |
-
# Check Python version
|
3 |
-
import sys
|
4 |
-
print("Python version:", sys.version)
|
5 |
-
|
6 |
-
# Check PyTorch version
|
7 |
-
import torch
|
8 |
-
print("PyTorch version:", torch.__version__)
|
9 |
-
|
10 |
-
!pip install "unsloth[cu121-torch230] @ git+https://github.com/unslothai/unsloth.git"
|
11 |
-
|
12 |
-
!pip install triton
|
13 |
-
|
14 |
from unsloth import FastLanguageModel
|
15 |
|
16 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from unsloth import FastLanguageModel
|
2 |
|
3 |
import torch
|