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

Issue-1720: Updated Build on mac documentations #2168

Closed
wants to merge 2 commits into from
Closed

Issue-1720: Updated Build on mac documentations #2168

wants to merge 2 commits into from

Conversation

LeonSijiaLu
Copy link
Contributor

Description

  1. Updated the model from gpt4all-j to phi-2, the latter one has a smaller size, easier to download
  2. Added one additional trouble shooting entry

This PR fixes #1720

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Apr 28, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 8faf995
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/662e7829c27b0700082c6d4e
😎 Deploy Preview https://deploy-preview-2168--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

If completions are slow, ensure that `gpu-layers` in your model yaml matches the number of layers from the model in use (or simply use a high number such as 256).
If you a get a compile error: `error: only virtual member functions can be marked 'final'`, reinstall all the necessary brew packages, clean the build, and try again.
1. If you encounter errors regarding a missing utility metal, install `Xcode` from the App Store.
2. After the installation of Xcode, if you receive a xcrun error `'xcrun: error: unable to find utility "metal", not a developer tool or in PATH'`. You might have installed the Xcode command line tools before installing Xcode, the former one is pointing to an incomplete SDK.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added one additional entry, as I encountered it myself during make build

here is the detailed thread gfx-rs/gfx#2309

# Download gpt4all-j to models/
wget https://gpt4all.io/models/ggml-gpt4all-j.bin -O models/ggml-gpt4all-j
# Download phi-2 to models/
wget https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q2_K.gguf -O models/phi-2.Q2_K

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated to phi-2 as requested in the issue

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.

Replace model in Build tutorial for mac to phi-2
1 participant