[Feature Request] GPU support for Pyodide.
Author: dynamicwebpaigeCreated Oct 26, 2021Updated Jul 29, 2026
As an example: TensorFlow.js supports a variety of platforms and backends, including:
- TensorFlow.js CPU Backend, pure-JS backend for Node.js and the browser.
- TensorFlow.js WebGL Backend, WebGL backend for the browser.
- TensorFlow.js WASM Backend, WebAssembly backend for the browser.
- TensorFlow.js WebGPU, WebGPU backend for the browser.
- TensorFlow.js Node, Node.js platform via TensorFlow C++ adapter.
- TensorFlow.js React Native, React Native platform via expo-gl adapter.
This supports both training (fine-tuning existing models) and inference, in browser-based contexts. Would it be possible to add in-browser GPU support for Pyodide via WebGPU?
Source: pyodide/pyodide