Comments (9)
This should be fixed at this pre-release: https://github.com/WasmEdge/WasmEdge/releases/tag/0.8.2-rc.4
Please use the new binary and try again. Thanks for your report.
it can run in 0.8.2-rc.4
from wasmedge.
@q82419 Could you check this?
path_readlink
is a valid wasi function:
https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/witx/wasi_snapshot_preview1.witx#L372
from wasmedge.
Seems like our path_readlink
function has 6 args whereas WASI spec only has 5 args.
Updated: Our implementation is the same as WASI spec which has 5 args. So it will need to check the wasm file itself to figure out the details.
from wasmedge.
Seems like our
path_readlink
function has 6 args whereas WASI spec only has 5 args.
in my wasm path_readlink is (func (param i32 i32 i32 i32 i32 i32) (result i32))
from wasmedge.
@L-jasmine Could you provide the steps of creating the wasi-quickjs?
After checking the WASI-SDK, the path_readlink
should have only 5 args:
from wasmedge.
@L-jasmine
This function was not changed in the past 2 years. Can you provide your WASM file and the source? Thanks.
from wasmedge.
wasmer: https://github.com/wasmerio/wasmer/blob/master/lib/wasi/src/syscalls/mod.rs#L1907-L1922
wasilibc: https://github.com/WebAssembly/wasi-libc/blob/659ff414560721b1660a19685110e484a081c3d4/libc-bottom-half/sources/__wasilibc_real.c#L473-L476
from wasmedge.
It seems like the arg5
is defined in the result column.
https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/witx/wasi_snapshot_preview1.witx#L380
We'll fix it and check for other functions. Thanks.
from wasmedge.
This should be fixed at this pre-release: https://github.com/WasmEdge/WasmEdge/releases/tag/0.8.2-rc.4
Please use the new binary and try again. Thanks for your report.
from wasmedge.
Related Issues (20)
- bug: LlamaEdge 0.4.0 installation on Mac Intel model, missing file ' WasmEdge-plugin-wasmedge_rustls-0.13.5-darwin_x86_64.tar.gz' HOT 3
- bug: Randomly fail of Windows or Windows-MSVC test for LLVM HOT 2
- question: module name conflict when loading rustls plugin HOT 2
- LFX Workspace: Integrate Intel Extension for Transformers as a new WASI-NN backend HOT 5
- question: LLamaEdge installation failed in Raspberry Pi OS HOT 4
- feat: Support Qwen-VL model HOT 4
- LFX Workspace: Integrate MLX as a new WASI-NN backend HOT 3
- Use `println!` in rust will make the execution terminated on the Windows environment. HOT 1
- bug: failed to link libwasmedgeAOT.dylib, undefined symbols when rerun `ninja` HOT 3
- CI warning at plugins (manylinux2014, aarch64) HOT 1
- How to solve the problem"WASI-NN plugin not installed." HOT 7
- feat: support relaxed simd proposal HOT 3
- LFX Workspace: Integrate whisper.cpp as a new WASI-NN backend #3170 HOT 3
- bug: `[WASI-NN] RPC client is not implemented for LoadByNameWithConfig` HOT 8
- feat: A pure shell script to install wasmedge and plugins HOT 1
- feat: `wasmedge_tensorflowlite` plug-in support for Android platform. HOT 5
- feat: ggml: support more parameters from llama.cpp HOT 2
- bug: <WasmEdge/example/plugin/get-string can not be compiled> HOT 4
- bug: error trying to connect: dns error: Success (os error 85) when running on cluster
- feat: support WASI-NN streaming extension for NNRPC HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmedge.