-
Notifications
You must be signed in to change notification settings - Fork 715
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
llama cannot run #3354
Comments
What's the output of |
|
Is your shell bash? Do you run |
yes. I have run source /home/wwl/.bashrc before the execution. 5 directories, 15 files |
Looks like the installation is done. What's the output of |
================================== Running in interactive mode. ===================================
[Bot]: Hello! How can I help you today? You: |
Does the error still occur after you appending |
[2024-04-23 11:29:01.779] [error] instantiation failed: module name conflict, Code: 0x60 The above error still exists, but "llama3" already works fine. |
I cannot reproduce the error on our runner. In the environment, if there is no other wasmedge installation and the plugin is installed in the HOME directory ( OS:
Arch:
GPU:
The module name conflict is a false positive known error. It can be ignored. Do you have multiple wasmedge installed on your environment? |
Yes, I have multiple wasmedge installations in the terminal, but all in different locations. |
Hi @17862687921 |
Summary
Follow the execution steps given in https://mp.weixin.qq.com/s/Ovkb2DT39DMkoUBvwyjXZQ. The final result is:
$
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3-8B-Instruct-Q5_K_M.gguf llama-chat.wasm -p llama-3-chat
[2024-04-23 10:01:26.911] [error] instantiation failed: module name conflict, Code: 0x60
[2024-04-23 10:01:26.911] [error] At AST node: module
[2024-04-23 10:01:26.938] [error] instantiation failed: unknown import, Code: 0x62
[2024-04-23 10:01:26.938] [error] When linking module: "wasi_ephemeral_nn" , function name: "load_by_name_with_config"
[2024-04-23 10:01:26.938] [error] At AST node: import description
[2024-04-23 10:01:26.938] [error] At AST node: import section
[2024-04-23 10:01:26.938] [error] At AST node: module
Please tell me how to solve the problem, thank you.
Current State
$
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3-8B-Instruct-Q5_K_M.gguf llama-chat.wasm -p llama-3-chat
[2024-04-23 10:01:26.911] [error] instantiation failed: module name conflict, Code: 0x60
[2024-04-23 10:01:26.911] [error] At AST node: module
[2024-04-23 10:01:26.938] [error] instantiation failed: unknown import, Code: 0x62
[2024-04-23 10:01:26.938] [error] When linking module: "wasi_ephemeral_nn" , function name: "load_by_name_with_config"
[2024-04-23 10:01:26.938] [error] At AST node: import description
[2024-04-23 10:01:26.938] [error] At AST node: import section
[2024-04-23 10:01:26.938] [error] At AST node: module
Expected State
[USER]:
Who is Robert Oppenheimer?
[ASSISTANT]:
Robert Oppenheimer was an American theoretical physicist and director of the Manhattan Project, which developed the atomic bomb during World War II. He is widely regarded as one of the most important physicists of the 20th century and is known for his contributions to the development of quantum mechanics and the theory of the atomic nucleus. Oppenheimer was also a prominent figure in the post-war nuclear weapons debate and was a strong advocate for international cooperation on nuclear weapons control.
Reproduction steps
[2024-04-23 10:01:26.911] [error] instantiation failed: module name conflict, Code: 0x60
[2024-04-23 10:01:26.911] [error] At AST node: module
[2024-04-23 10:01:26.938] [error] instantiation failed: unknown import, Code: 0x62
[2024-04-23 10:01:26.938] [error] When linking module: "wasi_ephemeral_nn" , function name: "load_by_name_with_config"
[2024-04-23 10:01:26.938] [error] At AST node: import description
[2024-04-23 10:01:26.938] [error] At AST node: import section
[2024-04-23 10:01:26.938] [error] At AST node: module
Screenshots
Any logs you want to share for showing the specific issue
No response
Components
CLI, C SDK, Rust SDK, Others
WasmEdge Version or Commit you used
0.13.5
Operating system information
ubuntu22.04
Hardware Architecture
x86_64
Compiler flags and options
No response
The text was updated successfully, but these errors were encountered: