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

Failed to load generator: Shared library with base name 'llama' not found #14

Open
vuaieo opened this issue Dec 7, 2024 · 4 comments · May be fixed by #15
Open

Failed to load generator: Shared library with base name 'llama' not found #14

vuaieo opened this issue Dec 7, 2024 · 4 comments · May be fixed by #15

Comments

@vuaieo
Copy link

vuaieo commented Dec 7, 2024

hi so downlaoded and installed the meshgen-cuda.zip on blender 4.2.4 , blender 4.3 and latest compiled build of UPBGE 4.4 but every version it gives same error messege when clicking on load generator:
i am on linux fedora based distro.

Loading generator...
Failed to load generator: Shared library with base name 'llama' not found
Traceback (most recent call last):
File "/home/vuaieo/.config/blender/4.2/scripts/addons/meshgen/generator/generator.py", line 72, in load_generator
import llama_cpp
File "/home/vuaieo/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/init.py", line 1, in
from .llama_cpp import *
File "/home/vuaieo/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/llama_cpp.py", line 88, in
_lib = _load_shared_library(_lib_base_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vuaieo/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/llama_cpp.py", line 79, in _load_shared_library
raise FileNotFoundError(
FileNotFoundError: Shared library with base name 'llama' not found

@JackHeathcote
Copy link

Bump

@JackHeathcote
Copy link

Fixed this issue. You need to install:
1). Visual Studio (might not be needed, but CUDA 12.1 prompted I install this first)
2). NVIDIA CUDA 12.1
3). This Add-on

@Rhysjosmin
Copy link

Rhysjosmin commented Dec 8, 2024

im using the cpu version , im getting the same error
cpu + linux
AMD 5600G 16GB RAM

@zosman1
Copy link

zosman1 commented Dec 11, 2024

@Rhysjosmin I reproduced your issue on Linux, made a small change to have the builds be run on multiple architectures to support mac/linux/win

Opened a PR with #15 that resolves it on my machine, give it a try and let me know!

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

Successfully merging a pull request may close this issue.

4 participants