Transformers.js - WebGPU Benchmark Results
#3
by
pcuenq
- opened
Batch Size | WASM (ms) | WebGPU (ms) |
1 | 378.30 | 32.40 |
2 | 765.70 | 44.70 |
4 | 1542.00 | 73.10 |
8 | 3095.20 | 123.80 |
16 | 6180.40 | 211.40 |
32 | 12587.50 | 384.80 |
- Model: Xenova/all-MiniLM-L6-v2
- Quantized: false
- Sequence length: 512
- Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36