Comments (5)
I just installed this today on a mac. So far, there's not much to say - I used brew to ensure that I had the basics (xcode-based-compilers, wget, cmake, git, golang being the dependencies I recall adding), git cloned the repo and ran make build. The error messages returned were helpful to determine what was missing (cmake, for me) and it compiled with a similar degree of warnings as when I've done so in a linux docker container. Started the application up with ./local-ai --models-path=./models
Requests "ggml-gpt4all-j" work as expected - by default, the service is exposed to external devices on the network.
In general, it's pretty easy to get started on a Mac now!
from localai.
I'm getting a Mac Studio M2 Ultra this week. I'm currently planning on using it as a server. When I setup localai I'll create some instructions and put in a PR on localai-website.
from localai.
I think this issue can be closed now @mudler , since we added instructions for building on mac?
maybe some of the dependencies that @camperdave mentions need to be added to the docs tho, but I suspect I had those already on my machine.
from localai.
⚠️ ⚠️ ⚠️ ⚠️ ⚠️
Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!
but.... I can also be funny or helpful 😸 and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.
Don't engage in conversation with me,
I don't support (yet) replying!
⚠️ ⚠️ ⚠️ ⚠️ ⚠️
To build LocalAI locally without using Docker, you can follow the instructions in the "Build" section of the documentation.
For mac users who cannot use Docker, the recommended method is to install the required dependencies using brew and then build the binary manually as described in the "Build on mac" section of the documentation. This should work for both M1 and M2 processors.
If you encounter any issues during the build process or when running the server, please provide more details so that we can assist further.
Sources:
- https://github.com/go-skynet/LocalAI/tree/master/examples/langchain/docker-compose.yaml
- https://github.com/go-skynet/LocalAI/tree/master/Earthfile
- https://localai.io/basics/build/index.html
from localai.
Here is the document for building on macOS(M1 and M2) https://localai.io/basics/build/index.html#build-on-mac and it can also support Metal on macOS(check it at the bottom of that page). And it does not use docker and it has been tested by the community user. So, we can close this one now.
from localai.
Related Issues (20)
- Go versioning HOT 1
- Error running transcriptions on M2 MacBook Pro HOT 1
- Image Generation: ModuleNotFoundError: No module named 'PIL' HOT 4
- Watchdog does not kill and idle sentencetransformer backend HOT 3
- Manual Model Execution Error: Troubleshooting GPU Acceleration HOT 4
- ERROR: stderr update_slots : failed to find free space in the KV cache HOT 4
- Is there a template configuration that supports Llama3-ChatQA-1.5-70B? HOT 1
- OpenVINO libraries not installed in docker image after #2215
- Function calling results in bad state for all LLM models HOT 5
- image generation endpoint `response_format` does not match OpenAI spec HOT 2
- openvoice v1 and v2 now MIT licensed, let local ai support them HOT 1
- hipblass make: *** [Makefile:250: replace] Erro 127
- feat(multimodal): Video understanding
- Models page doesn't list anything HOT 4
- Distributed inference with llama.cpp HOT 2
- can not load ggml-large-v2-q5_0.bin at quay.io/go-skynet/local-ai:master-cublas-cuda12-ffmpeg HOT 1
- Can not load tts_models/multilingual TTS models HOT 1
- Error on image generation with diffusers backend on Intel GPU HOT 4
- macbook pro M3 using gpt-4 errors with grpc service not ready
- Missing `/v1/rerank` endpoint in swagger docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from localai.