File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ def sample(
390
390
top_k = llama_cpp .c_int (top_k ),
391
391
top_p = llama_cpp .c_float (top_p ),
392
392
temp = llama_cpp .c_float (temp ),
393
- mirostat = llama_cpp .c_int (mirostat_mode ),
393
+ mirostat_mode = llama_cpp .c_int (mirostat_mode ),
394
394
mirostat_mu = llama_cpp .c_float (mirostat_mu ),
395
395
mirostat_tau = llama_cpp .c_float (mirostat_tau ),
396
396
mirostat_eta = llama_cpp .c_float (mirostat_eta ),
@@ -404,7 +404,7 @@ def generate(
404
404
top_k : int ,
405
405
top_p : float ,
406
406
temp : float ,
407
- mirostat : int ,
407
+ mirostat_mode : int ,
408
408
mirostat_tau : float ,
409
409
mirostat_eta : float ,
410
410
mirostat_mu : float ,
Original file line number Diff line number Diff line change 22
22
extras_require = {
23
23
"server" : ["uvicorn>=0.21.1" , "fastapi>=0.95.0" , "sse-starlette>=1.3.3" ],
24
24
},
25
+ cmake_args = ['-DLLAMA_CUBLAS=ON' ],
25
26
python_requires = ">=3.7" ,
26
27
classifiers = [
27
28
"Programming Language :: Python :: 3" ,
You can’t perform that action at this time.
0 commit comments