@paddlejs/paddlejs-backend-webgpu
v0.0.2-beta.3
Published
[中文版](./README_cn.md)
Downloads
1
Readme
paddlejs-backend-webgpu
This package implements an experimental backend based on WebGPU for Paddle.js. (https://gpuweb.github.io/gpuweb/)
Importing
You can install the backend package via npm. @paddlejs/paddlejs-backend-webgpu
.
// Import the WebGPU backend and ops
import registerWebGPUBackend from '@paddlejs/paddlejs-backend-webgpu';
// Register the WebGPU backend to the global backend instance before initializing runner
registerWebGPUBackend();
Note: If you want to run webGPU backend demo, you need run it in the Chrome Canary application.