Giter Site home page Giter Site logo

Comments (6)

hippalectryon-0 avatar hippalectryon-0 commented on September 22, 2024 1

Looks like a poetry issue unrelated to our repo. Try https://stackoverflow.com/questions/74438817/poetry-failed-to-unlock-the-collection

from casalioy.

jcl2023 avatar jcl2023 commented on September 22, 2024 1

poetry works after "export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring"

from casalioy.

su77ungr avatar su77ungr commented on September 22, 2024

Since it passes checks on Ubuntu. This might be caused by an package issue. Did you install LlamaCpp with GPU support?

Try pip install --upgrade cachecontrol

quick fix; remove n_gpu_layers inside startLLM.py here; here

Also your model ggml-vicuna-7b-4bit-**rev1**.bin looks interesting. I'm sleep-writing atm so I'll hit you up in a few hours.

from casalioy.

jcl2023 avatar jcl2023 commented on September 22, 2024

Work fine by Remving quick fix; remove n_gpu_layers inside startLLM.py.
Wait for a proper fix.

Thanks,

from casalioy.

hippalectryon-0 avatar hippalectryon-0 commented on September 22, 2024

Work fine by Remving quick fix; remove n_gpu_layers inside startLLM.py.

You forgot to run poetry install after updating. You have outdated packages.

from casalioy.

jcl2023 avatar jcl2023 commented on September 22, 2024

When I run "poetry install", it has the following errors:

Installing dependencies from lock file

Package operations: 29 installs, 10 updates, 0 removals

• Updating numpy (1.24.3 -> 1.23.5): Failed

KeyringLocked

Failed to unlock the collection!

at ~/anaconda3/envs/privateGPT/lib/python3.11/site-packages/keyring/backends/SecretService.py:67 in get_preferred_collection
63│ raise InitError("Failed to create the collection: %s." % e)
64│ if collection.is_locked():
65│ collection.unlock()
66│ if collection.is_locked(): # User dismissed the prompt
→ 67│ raise KeyringLocked("Failed to unlock the collection!")
68│ return collection
69│
70│ def unlock(self, item):
71│ if hasattr(item, 'unlock'):

from casalioy.

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.