GithubHelp home page GithubHelp logo

model is not None about llama2-webui HOT 8 CLOSED

quanpinjie avatar quanpinjie commented on June 28, 2024 1
model is not None

from llama2-webui.

Comments (8)

jamartinh avatar jamartinh commented on June 28, 2024 1

from llama2-webui.

jamartinh avatar jamartinh commented on June 28, 2024

Same here !

from llama2-webui.

liltom-eth avatar liltom-eth commented on June 28, 2024

Thanks for the issue. Might be some issue from llama.cpp. Will have a look.

from llama2-webui.

talarari avatar talarari commented on June 28, 2024

https://stackoverflow.com/questions/76986412/assertionerror-when-using-llama-cpp-python-in-google-colab

need to use llama-cpp-python==0.1.78
the format changed

or better yet, use the gguf models

from llama2-webui.

HyperUpscale avatar HyperUpscale commented on June 28, 2024

There so many issues in the code... but if this is you main struggle...

What worked for me as workaround,, before I stumble to the next issue is:
Replace in .env file , BACKEND_TYPE = "llama.cpp" with "gptq" it will download the model and continued to the next error ...

Then errors appears to be in: nn_modules\qlinear\qlinear_cuda_old.py
line 83, in init self.autogptq_cuda = autogptq_cuda_256
NameError: name 'autogptq_cuda_256' is not defined

And then I surrender :)

from llama2-webui.

liltom-eth avatar liltom-eth commented on June 28, 2024

@jamartinh @HyperUpscale Thanks for the feedback. I believe the issue is mainly due to the new GGUF format.
A quick solution is try install from requirements like

git clone https://github.com/liltom-eth/llama2-webui.git
cd llama2-webui
pip install -r requirements.txt

to stick the old version of llama-cpp-python== 0.1.77.

from llama2-webui.

liltom-eth avatar liltom-eth commented on June 28, 2024

@jamartinh @HyperUpscale hi now the new release llama2-wrapper=0.1.13 will lock on llama-cpp-python = "0.1.77" to support old ggml models.
New release will support gguf models.

from llama2-webui.

liltom-eth avatar liltom-eth commented on June 28, 2024

#73 now supporting gguf models.

from llama2-webui.

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.