tfjs 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
tfjs 3.4.0 was just released and unfortunately wasm module is somewhat broken
to be precise,
tfjs-backend-wasm.wasmandtfjs-backend-wasm-simd.wasmseem to work (although haven't tested in depth)what's definitely broken is
tfjs-backend-wasm-threaded-simd.wasmand 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:
WebAssembly SIMD supportin chrome://flagsWebAssembly threads supportin chrome://flagswasmthis used to work in all recent versions of tfjs
environment: tfjs 3.4.0 on windows 10 with chrome 89 or edge 89