Skip to content

Commit

Permalink
update to work with latest pyllamacpp (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuance1979 committed Jun 10, 2023
1 parent b9cb40b commit 1191e40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llama_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.1"
__version__ = "0.2.2"
2 changes: 1 addition & 1 deletion llama_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def main(
model_path = Path(KNOWN_MODELS.model_home) / model_path
globals()["model_id"] = model_id
globals()["model"] = Model(
ggml_model=str(model_path),
model_path=str(model_path),
n_ctx=512,
prompt_context=PROMPT,
prompt_prefix=REVERSE_PROMPT,
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def get_extras_require() -> str:
"pytest",
"pytest-cov",
"pytest-xdist",
"numpy",
],
}
return req
Expand Down

0 comments on commit 1191e40

Please sign in to comment.