intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 46 forks source link

[polyfill] Upgraded tfjs-backend-wasm version to 2.7.0. #1371

Closed BruceDai closed 3 years ago

BruceDai commented 3 years ago

There's an error when running with upgraded tfjs-backend-wasm with both enabled SIMD and Threads flags. Please see detail info here.

BruceDai commented 3 years ago

Performance data (ms) of MobileNet v2 TFLite on ICL Acer Swift 3 (CPU: i5-1035G4, GPU: Intel Iris Puls Graphics)

Model Wasm (Plain) Wasm (SIMD) Wasm (SIMD+Threads) WebGL
MobileNet v2 TFLite 139.54 45.03 24.73 35.74

Wasm (SIMD+Threads) speedups 5.6X than Wasm (Plain) and 1.8X than Wasm (SIMD) .

ibelem commented 3 years ago

Awesome, thanks!