Skip to content

docs: improve llama.cpp install instructions. #720

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

Merged
merged 4 commits into from
May 31, 2024
Merged

Conversation

Vaibhavs10
Copy link
Member

Does two things:

  1. Makes homebrew install the default and points users to build instructions for other platforms (note: our previous instructions were also only for Mac - this PRs makes the wording more generalised)
  2. moves from -m to --hf-file this would make sure that the models are cached

Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@Vaibhavs10
Copy link
Member Author

cc: @gary149 - can I get your blessings to merge this PR, too, please? 🙏

Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with my suggestion, wdyt?

@Vaibhavs10
Copy link
Member Author

Sounds good to me, I will wait for @pcuenca to confirm that it looks good to him, too (since it's slightly deviating from his original idea) before merging.

@Vaibhavs10 Vaibhavs10 requested a review from pcuenca May 30, 2024 15:31
@Vaibhavs10
Copy link
Member Author

I don't know why the E2E error fails, will wait for @coyotte508's guidance

Copy link
Contributor

@osanseviero osanseviero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! The tests pass after re-running.

@Vaibhavs10 Vaibhavs10 merged commit a352941 into main May 31, 2024
4 checks passed
@Vaibhavs10 Vaibhavs10 deleted the update-llama.cpp branch May 31, 2024 07:31
mishig25 pushed a commit that referenced this pull request Jun 5, 2024
follow up to #720

just like we show two snippets for transformers (pipeline & automodel)
(example
[here](https://huggingface.co/mistralai/Codestral-22B-v0.1?library=transformers))

![Screenshot 2024-06-05 at 14 51
22](https://github.com/huggingface/huggingface.js/assets/11827707/04cc26ce-18c4-497d-8a2e-c0983bd07085)

we should show the two options for llama.cpp clearly as well. The two
options are: installing from brew and installing from source

![Screenshot 2024-06-05 at 15 37
22](https://github.com/huggingface/huggingface.js/assets/11827707/4cfd87f0-62d7-471c-bbb0-05d8b8c82ef7)

---------

Co-authored-by: Victor Muštar <[email protected]>
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.

4 participants