Update app.py
Browse files
app.py
CHANGED
|
@@ -555,7 +555,7 @@ def respond(
|
|
| 555 |
flash_attn=True,
|
| 556 |
n_gpu_layers=-1,
|
| 557 |
n_batch=2048, # increase
|
| 558 |
-
n_ctx=
|
| 559 |
# n_threads= os.cpu_count(), # set to your CPU cores
|
| 560 |
n_threads=os.cpu_count(), # use all cores
|
| 561 |
n_threads_batch=os.cpu_count(),
|
|
|
|
| 555 |
flash_attn=True,
|
| 556 |
n_gpu_layers=-1,
|
| 557 |
n_batch=2048, # increase
|
| 558 |
+
n_ctx= 16384, # reduce if you don’t need 8k
|
| 559 |
# n_threads= os.cpu_count(), # set to your CPU cores
|
| 560 |
n_threads=os.cpu_count(), # use all cores
|
| 561 |
n_threads_batch=os.cpu_count(),
|