Spaces:
Sleeping
Sleeping
pakito312
commited on
Commit
·
0aec217
1
Parent(s):
a08be4a
update
Browse files
api.py
CHANGED
|
@@ -192,7 +192,7 @@ class ModelManager:
|
|
| 192 |
# Configuration optimisée
|
| 193 |
n_gpu_layers = 0 # Pas de GPU sur Hugging Face gratuit
|
| 194 |
n_threads = 2 # Conservateur
|
| 195 |
-
n_ctx =
|
| 196 |
|
| 197 |
print(f"🔄 Chargement: {os.path.basename(self.model_path)}")
|
| 198 |
|
|
|
|
| 192 |
# Configuration optimisée
|
| 193 |
n_gpu_layers = 0 # Pas de GPU sur Hugging Face gratuit
|
| 194 |
n_threads = 2 # Conservateur
|
| 195 |
+
n_ctx = 2048 # Limité
|
| 196 |
|
| 197 |
print(f"🔄 Chargement: {os.path.basename(self.model_path)}")
|
| 198 |
|