Spaces:
Sleeping
Sleeping
Update webui.py
Browse files
webui.py
CHANGED
@@ -48,9 +48,9 @@ time.sleep(1.5)
|
|
48 |
|
49 |
llm = Llama(
|
50 |
model_path=f"{dir}/models/llama-2-7b-chat.ggmlv3.q2_K.bin",
|
51 |
-
n_ctx=
|
52 |
n_gpu_layers=0,
|
53 |
-
n_threads=
|
54 |
verbose=True,
|
55 |
f16_kv=True,
|
56 |
logits_all=False,
|
|
|
48 |
|
49 |
llm = Llama(
|
50 |
model_path=f"{dir}/models/llama-2-7b-chat.ggmlv3.q2_K.bin",
|
51 |
+
n_ctx=1536,
|
52 |
n_gpu_layers=0,
|
53 |
+
n_threads=16,
|
54 |
verbose=True,
|
55 |
f16_kv=True,
|
56 |
logits_all=False,
|