Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import torch
|
|
| 7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 8 |
|
| 9 |
# Replace 'path/to/your/safetensors' with the actual path to your fine-tuned model's safetensors file
|
| 10 |
-
model_path = "pytorch_lora_weights.safetensors"
|
| 11 |
|
| 12 |
if torch.cuda.is_available():
|
| 13 |
torch.cuda.max_memory_allocated(device=device)
|
|
|
|
| 7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 8 |
|
| 9 |
# Replace 'path/to/your/safetensors' with the actual path to your fine-tuned model's safetensors file
|
| 10 |
+
model_path = "./pytorch_lora_weights.safetensors"
|
| 11 |
|
| 12 |
if torch.cuda.is_available():
|
| 13 |
torch.cuda.max_memory_allocated(device=device)
|