Skip to content

Commit

Permalink
Update dependencies, for llama-cpp-python: see abetlen/llama-cpp-pyth…
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwengert committed Jun 1, 2023
1 parent 269224f commit c50188c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def streaming_answer_generator(fun: Callable[[str], None], q: queue.Queue, text_


def create_conversation(model_path: str, prompt: BasePromptTemplate, stop=None, n_ctx=2048) -> ConversationChain:

# if this fails because of llama-cpp: https://github.com/abetlen/llama-cpp-python/issues/303
llm = InterruptableLlamaCpp(model_path=model_path,
temperature=0.8,
n_threads=8,
Expand Down

0 comments on commit c50188c

Please sign in to comment.