Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
from pydantic import BaseModel
|
| 3 |
from unsloth import FastModel
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
os.environ["TRITON_CACHE_DIR"] = "/app/.triton_cache"
|
| 3 |
+
|
| 4 |
+
|
| 5 |
from fastapi import FastAPI
|
| 6 |
from pydantic import BaseModel
|
| 7 |
from unsloth import FastModel
|