Spaces:
Sleeping
Sleeping
Update
Browse files
models.py
CHANGED
@@ -96,6 +96,7 @@ def generate(
|
|
96 |
n_ctx=1024,
|
97 |
n_ubatch=512,
|
98 |
n_batch=512,
|
|
|
99 |
)
|
100 |
return model.create_chat_completion(messages=[{
|
101 |
"role": "user",
|
|
|
96 |
n_ctx=1024,
|
97 |
n_ubatch=512,
|
98 |
n_batch=512,
|
99 |
+
n_gpu_layers=-1,
|
100 |
)
|
101 |
return model.create_chat_completion(messages=[{
|
102 |
"role": "user",
|