Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 515d9bd

Browse filesBrowse files
Fixed somethings and activated cublas
1 parent aa203a0 commit 515d9bd
Copy full SHA for 515d9bd

File tree

Expand file treeCollapse file tree

3 files changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-3
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def sample(
390390
top_k=llama_cpp.c_int(top_k),
391391
top_p=llama_cpp.c_float(top_p),
392392
temp=llama_cpp.c_float(temp),
393-
mirostat=llama_cpp.c_int(mirostat_mode),
393+
mirostat_mode=llama_cpp.c_int(mirostat_mode),
394394
mirostat_mu=llama_cpp.c_float(mirostat_mu),
395395
mirostat_tau=llama_cpp.c_float(mirostat_tau),
396396
mirostat_eta=llama_cpp.c_float(mirostat_eta),
@@ -404,7 +404,7 @@ def generate(
404404
top_k: int,
405405
top_p: float,
406406
temp: float,
407-
mirostat: int,
407+
mirostat_mode: int,
408408
mirostat_tau: float,
409409
mirostat_eta: float,
410410
mirostat_mu: float,

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
extras_require={
2323
"server": ["uvicorn>=0.21.1", "fastapi>=0.95.0", "sse-starlette>=1.3.3"],
2424
},
25+
cmake_args=['-DLLAMA_CUBLAS=ON'],
2526
python_requires=">=3.7",
2627
classifiers=[
2728
"Programming Language :: Python :: 3",

‎vendor/llama.cpp

Copy file name to clipboard

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.