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 run the api server #13

Open
chengchengpei opened this issue May 30, 2024 · 2 comments
Open

failed to run the api server #13

chengchengpei opened this issue May 30, 2024 · 2 comments

Comments

@chengchengpei
Copy link

I followed the instructions in readme.md. it built successfully i guess.
but when i run wasmedge rag-api-server.wasm -h, i got the following errors:

[2024-05-29 18:44:18.672] [error] instantiation failed: unknown import, Code: 0x62
[2024-05-29 18:44:18.672] [error]     When linking module: "rustls_client" , function name: "new_codec"
[2024-05-29 18:44:18.672] [error]     At AST node: import description
[2024-05-29 18:44:18.672] [error]     At AST node: import section
[2024-05-29 18:44:18.672] [error]     At AST node: module
@ChloeWKY
Copy link

Seems the rustls plugin is not required. Please try the following command to reinstall wasmedge with ggml + rustls plugins:

curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -v 0.13.5 --plugins wasi_nn-ggml wasmedge_rustls

Mentioned here #6

@apepkuss
Copy link
Collaborator

apepkuss commented Jul 1, 2024

@chengchengpei The issue is still there on your side? Thanks!

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

No branches or pull requests

3 participants