tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] tqchen opened a new pull request #5506: [WEB][RUNTIME] TVM WebAssembly Runtime
Date Mon, 04 May 2020 04:29:04 GMT

tqchen opened a new pull request #5506:
URL: https://github.com/apache/incubator-tvm/pull/5506


   This PR introduces a brand new TVM web runtime based on the WASM standard API.
   Main highlights:
   
   - The new runtime is rewritten using the Typescript.
   - The new runtime now directly interfaces with WebAssembly's standard API,
     instead of relying on emscripten's API.
     This change will make the js runtime more portable to runtime variants.
     For example, we could also try to make it interface with the tvm's rust runtime implementation.
   - System library can be provided through WASI
     - We also build a hack to enable Emscripten to generate a WASI like
       bundle for runtime environment on the Web.
   - The wasm generation now uses the mainlin LLVM.
   - Dynamic link(dlopen) is not used due to limitation of wasm,
     instead we rely on the recent new RPC refactor to directly
     restart a new session for each wasm binary sent to the RPC.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message