Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always prompted I couldn't find “nexa.gguf” #36

Open
zhang10311105 opened this issue Nov 13, 2024 · 1 comment
Open

Always prompted I couldn't find “nexa.gguf” #36

zhang10311105 opened this issue Nov 13, 2024 · 1 comment

Comments

@zhang10311105
Copy link

from nexa.gguf import NexaVLMInference, NexaTextInference # Import model classes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'nexa.gguf'

@robertsamples
Copy link

I had this problem and was able to fix it. I don't know exactly what things were critical but what I did was

I installed the cuda version of nexa since I have an nvidia gpu:
pip install nexaai --prefer-binary --index-url https://github.nexa.ai/whl/cu124 --extra-index-url https://pypi.org/simple --no-cache-dir

installed nexa SDK via the windows installer (the nexa repo is linked in the readme)

whenever I got an error (for llama.dll for instance) I pulled the files from the nexa sdk folder (C:\Users[username]\AppData\Local\Nexa-SDK_internal) and put them in the python environment packages folder for nexa (C:\Users[username]\anaconda3\envs\local_file_organizer\Lib\site-packages\nexa). I had to do this for some of the other DLLs for gguf I think, I just copied over all files that werent in the directory already.

Then I got an error for punkt tab being missing. There will be a message in the terminal telling you how to fix this and I just followed that and now it seems to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants