Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ llm = Llama(
|
|
13 |
model_path=model_path,
|
14 |
n_ctx=2048,
|
15 |
chat_format="llama-3",
|
16 |
-
n_gpu_layers
|
17 |
flash_attn=True,
|
18 |
)
|
19 |
|
|
|
13 |
model_path=model_path,
|
14 |
n_ctx=2048,
|
15 |
chat_format="llama-3",
|
16 |
+
n_gpu_layers=50, # ensure all layers are on GPU
|
17 |
flash_attn=True,
|
18 |
)
|
19 |
|