Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Cody Snider's PR for LlamaCPP local support (no server) #1154

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

IMJONEZZ
Copy link

Ran ruff check . --fix-only

Added import llama_cpp to fix build test

Added install commands for CPU, CUDA, and Metal with link to pypi for other configurations

Added comment explaining model: str

@arnavsinghvi11
Copy link
Collaborator

Thanks for adding to the LlamaCPP support @IMJONEZZ ! The changes still fail the tests as llama_cpp is not imported . To fix this, you can follow the try/except Exception structure here
and/or add llama_cpp to the optional dependencies in the pyproject.toml.

It would also be great if you could add documentation for the LlamaCpp LM to provide context as done for the LMs in our documentation here?. maybe can pull from the example in @codysnider 's PR #862 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants