Giter Club home page Giter Club logo

Comments (3)

Timothychen00 avatar Timothychen00 commented on July 20, 2024 1

Plz anybody help me with this, i really want to run a local llava on my mac 🙏

from llava.

zhouhao27 avatar zhouhao27 commented on July 20, 2024

I got different errors.

My command is:

python -m llava.serve.model_worker --device mps --host 0.0.0.0 --controller http://localhost:10000 --port 40000 --worker http://localhost:40000 --model-path liuhaotian/llava-v1.5-13b

The error message is:

raise ImportError(PROTOBUF_IMPORT_ERROR.format(error_message))
2024-06-30 16:02:02 | ERROR | stderr | ImportError:
2024-06-30 16:02:02 | ERROR | stderr | The new behaviour of LlamaTokenizer (with self.legacy = False) requires the protobuf library but it was not found in your environment. Checkout the instructions on the
2024-06-30 16:02:02 | ERROR | stderr | installation page of its repo: https://github.com/protocolbuffers/protobuf/tree/master/python#installation and follow the ones
2024-06-30 16:02:02 | ERROR | stderr | that match your environment. Please note that you may need to restart your runtime after installation.

from llava.

zhouhao27 avatar zhouhao27 commented on July 20, 2024

Question

I want to run this model on my mac (with 16G RAM and M1).but since i followed the instructions int the macos.readme

when i am trying to start a model.(4-bit) using the following command:

python -m llava.serve.model_worker --host 0.0.0.0 --controller http://localhost:10000 --port 40000 --worker http://localhost:40000 --model-path liuhaotian/llava-v1.5-13b --load-4bit --device mps

The full output it returns:

截圖 2024-06-27 下午2 24 19 #### I tried: I tried to pip install bitsandbytes to fix it, but this time when i run i get :
RuntimeError: No GPU found. A GPU is needed for quantization.

No response

I think it asked to uninstall bitsandbytes in instruction for Mac.

from llava.

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.