abetlen commited on
Commit
8d337c8
·
1 Parent(s): 355f06e
Files changed (1) hide show
  1. models.py +1 -0
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",