Supercharging TensorFlow.js with SIMD and multi-threading
blog.tensorflow.org
Supercharging TensorFlow.js with SIMD and multi-threading
1–10 of 20 posts
Re: Supercharging TensorFlow.js with SIMD and multi-threading
#2If the CPU is really faster than the GPU, that really demonstrates how inefficient the WebGL backend really is, compared to something like CUDA.
Re: Supercharging TensorFlow.js with SIMD and multi-threading
#3Re: Supercharging TensorFlow.js with SIMD and multi-threading
#4(Yes, there are unofficial wheels for various CPUs, but, not sure if that passes your security requirements.)
Re: Supercharging TensorFlow.js with SIMD and multi-threading
#5If I read this right, this is much faster than the WebGL backend on the devices tested. If the CPU is really faster than the GPU, that really demonstrates how inefficient the WebGL backend really is, compared to something like CUDA.
Re: Supercharging TensorFlow.js with SIMD and multi-threading
#6Re: Supercharging TensorFlow.js with SIMD and multi-threading
#7If I read this right, this is much faster than the WebGL backend on the devices tested. If the CPU is really faster than the GPU, that really demonstrates how inefficient the WebGL backend really is, compared to something like CUDA.
Re: Supercharging TensorFlow.js with SIMD and multi-threading
#8Re: Supercharging TensorFlow.js with SIMD and multi-threading
#928ms on 2018 iPhone without threads or SIMD, 24ms on Chrome MBP 2019 with threads and no SIMD, 11ms with SIMD.