Skip to content

Possible to use it without docker? #6

Closed

Description

@coldcode69

Would really appreciate some instructions or guidance for getting this working directly, without docker. I noticed it's using a modified llama.cpp mixed with golong, but I don't have enough knowledge with this to build it. I did try building it but got a error about lama.h not being found.

Activity

  1. mudler commented on Apr 4, 2023

    @mudler
    Owner

    good point, I'll have a look as soon as possible.

  2. mkellerman commented on Apr 14, 2023

    @mkellerman
    Contributor

    You can try and copy my Makefile from here: https://github.com/go-skynet/llama-cli/blob/ad18b8305449b54f63383408bc47c246cacdf419/Makefile

    If you have all the required GO dependancies, you can use make build and make run to run it on your machine directly.

  3. mkellerman commented on Apr 14, 2023

    @mkellerman
    Contributor

    @mudler if this Makefile is tested and merged, then we could close this issue?

    (we could make it a seperate PR if you wish)

  4. mkellerman commented on Apr 21, 2023

    @mkellerman
    Contributor

    you should now be able to do 'make build' if you use latest and have all the required dependancies (ie: go, cmake).

    @mudler i think we can close this item.

    We would need to update the documentation tho, so this issue doesn't re-apead for lack of docs.

  5. limcheekin commented on Apr 22, 2023

    @limcheekin

    I don't have experience in GoLang. Currently I have a question answering chatbot developed using LangChain Python and hosted as AWS Lambda function. You may want to look into the github repo at https://github.com/limcheekin/serverless-flutter-gpt.

    I want to swap out the OpenAI API dependency to LocalAI if possible. Appreciate your advise whether it is feasible to do so and please share the steps on how to do so.

    Thanks in advanced.

  6. mudler commented on Apr 22, 2023

    @mudler
    Owner

    I don't have experience in GoLang. Currently I have a question answering chatbot developed using LangChain Python and hosted as AWS Lambda function. You may want to look into the github repo at https://github.com/limcheekin/serverless-flutter-gpt.

    I want to swap out the OpenAI API dependency to LocalAI if possible. Appreciate your advise whether it is feasible to do so and please share the steps on how to do so.

    Thanks in advanced.

    @limcheekin 👋 feel free to join our Discord channel, however I think it should be as simple as specifying from the OpenAI client you already use a different base_url, and point it to where the API runs.

  7. mudler commented on Apr 22, 2023

    @mudler
    Owner

    I'm closing this issue now, as building locally should be possible with make build. I've opened #66 to track having binary releases

  8. mudler commented on May 25, 2023

    @mudler
    Owner

    Update: binary releases now are available too https://github.com/go-skynet/LocalAI/releases/tag/v1.15.0

  9. ralyodio commented on May 25, 2023

    @ralyodio

    how do we use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions