Transformers.js - WebGPU Benchmark Results
#1
by
Xenova
HF staff
- opened
Batch Size | WASM (ms) | WebGPU (ms) |
1 | 507.20 | 45.70 |
2 | 1059.80 | 137.60 |
4 | 2089.70 | 204.90 |
8 | 4172.90 | 356.70 |
16 | 8225.30 | 367.40 |
32 | 16416.90 | 579.10 |
- Model: Xenova/all-MiniLM-L6-v2
- Quantized: false
- Sequence length: 512
- Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36