Skip to content

Conversation

@ya0guang
Copy link
Member

@ya0guang ya0guang commented Jul 26, 2021

This commit fix the wasm32-standalone app and it works now! Fix #8439

  • Upgrade wasmtime APIs in this example to the latest version
  • Switch to a secure memory copying method to WASM sandbox
  • Upgrade build script APIs
  • Check target arch when building tvm-sys: since there is no libtvm built in wasm32, then it should not try to link libtvm when building wasm32 target

@tqchen
Copy link
Member

tqchen commented Jul 26, 2021

cc @leonwanghui @jroesch

[dependencies]
wasmtime = "0.16.0"
wasmtime-wasi = "0.16.0"
wasmtime = "0.28.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can u check it if this version of wasmtime supports loading wasm graph with -mattr=+simd128 flag? Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can u check it if this version of wasmtime supports loading wasm graph with -mattr=+simd128 flag? Thanks!

Yes. I've already tested it. wasmtime 0.28 supports it.

@tqchen tqchen merged commit df06c58 into apache:main Jul 29, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
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 this pull request may close these issues.

[BUG] wasm-standalone app cannot work

3 participants