Symptom:
- App shows:
WebGPU not available. Use Chrome 113+ or Edge 113+.
Fix:
- Use latest Chrome/Edge desktop.
- Verify hardware acceleration is enabled.
- Retry in a clean tab/profile.
Symptom:
Prompt tokens exceed context window size
Cause:
- Prompt is longer than selected model context (e.g., >4096 on 4k model).
Fix:
- Use custom 8k model for long prompts.
- Reduce prompt length.
- Use sliding window mode where applicable.
Symptom:
- Errors around local files/wasm load.
Fix:
- Ensure required files exist:
mlc-chat-config.json,tokenizer.json,tensor-cache.json,params_shard_*.bin. - Re-add local files after page reload (session-only).
- Use matching
.wasmfor your model build.
Symptom:
- Lower throughput and larger TTFT vs Chrome/Edge.
Fix:
- Use
Safari Stablepreset. - Reduce prompt/output window.
- For publishable benchmarks, run Chrome/Edge primary and include Safari secondary.
Explanation:
- Browser WebGPU does not expose exact live GPU VRAM usage.
- Treat VRAM as metadata/proxy signals.