Coder Social home page Coder Social logo

macOS/build-locally instructions about localai HOT 5 CLOSED

mudler avatar mudler commented on May 22, 2024
macOS/build-locally instructions

from localai.

Comments (5)

camperdave avatar camperdave commented on May 22, 2024 2

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.

soleblaze avatar soleblaze commented on May 22, 2024 1

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.

antongisli avatar antongisli commented on May 22, 2024

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.

localai-bot avatar localai-bot commented on May 22, 2024

⚠️⚠️⚠️⚠️⚠️

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:

from localai.

Aisuko avatar Aisuko commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.