Git Product home page Git Product logo

Comments (4)

messense avatar messense commented on September 21, 2024 1

I've investigated a bit, IMO the wasmedge C API didn't not expose any error status in WasmEdge_PluginLoadFromPath makes it hard to look further.

https://github.com/second-state/wasmedge_plugin_rust_sdk/blob/22fab4633bd8b0b653da98a00c5c267ba1924337/wasmedge_sys_ffi/src/ffi.rs#L1819

It definitely has hit some error condition but without proper error reporting, you're better investigate by yourself because I'm not using WasmEdge and I'm not interested in debugging by reading a lot of WasmEdge ffi code.

from maturin.

messense avatar messense commented on September 21, 2024
  • Build with maturin build (Failed)

I don't see any failure that's directly related to maturin since the wheel is correctly built, the plugin load failure seems like a user code or runtime environment issue.

Closing because nothing we can fix in maturin here.

from maturin.

apepkuss avatar apepkuss commented on September 21, 2024

@messense Thanks for your reply. As I mentioned above, when I use maturin develop, the wheel works and prints out

Hello, world!
Plugin count: 1
Plugin names: ["wasi_nn"]

However, when I use maturin build and install the wheels manually, it fails to print the same info as before:

Hello, world!
Plugin count: 0
Plugin names: []

No change happened between these two compilations. So I don't know why the wheels built with develop and build behave differently.

from maturin.

apepkuss avatar apepkuss commented on September 21, 2024

Thank you for the help. I'll check the issue further.

from maturin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.