tfjs 3.4.0 regression: wasm causes browser hang
See original GitHub issuetfjs 3.4.0 was just released and unfortunately wasm module is somewhat broken
to be precise, tfjs-backend-wasm.wasm
and tfjs-backend-wasm-simd.wasm
seem to work (although haven’t tested in depth)
what’s definitely broken is tfjs-backend-wasm-threaded-simd.wasm
and symptoms are simple - complete browser hang,
up to a point where browser window is nonresponsive to close requests and requires a hard kill
to reproduce:
- enable
WebAssembly SIMD support
in chrome://flags - enable
WebAssembly threads support
in chrome://flags - set backend to
wasm
- run any model inference
this used to work in all recent versions of tfjs
environment: tfjs 3.4.0 on windows 10 with chrome 89 or edge 89
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @vladmandic , we are releasing 3.5.0 with this fix today.
@mattsoulanille thanks!
given it’s a regression that causes hangs, does this warrant spinning up a tfjs service build (e.g., 3.4.1)? (cc @pyu10055)