Transformers.js - WebGPU Benchmark Results
#6
by
osanseviero
- opened
Batch Size | WASM (ms) | WebGPU (ms) |
1 | 451.00 | 10.10 |
2 | 931.10 | 80.20 |
4 | 1835.80 | 254.10 |
8 | 3473.50 | 319.60 |
16 | 7189.30 | 253.30 |
32 | 14899.00 | 364.80 |
- Model: Xenova/all-MiniLM-L6-v2
- Quantized: false
- Sequence length: 512
- Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36