Skip to content

Document that Firefox cannot run the WebGPU notebook's q4 model - #11

Merged
decitre merged 1 commit into
mainfrom
webgpu-firefox-note
Nov 4, 2026
Merged

decitre merged 1 commit into
mainfrom
webgpu-firefox-note

Conversation

@decitre

@decitre decitre commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Firefox's WebGPU allows 9 storage buffers per shader stage, and ONNX Runtime's
4-bit WebGPU kernels need 10, so loading SmolLM2-135M-Instruct q4 (or q4f16)
fails with "Too many storage buffers in shader. Current: 10, Max is 9". Chrome
allows 10 and Safari 44; fp16 and fp32 run in Firefox. State this in the
notebook introduction, and correct the q4 download size (about 180 MB).

Firefox's WebGPU allows 9 storage buffers per shader stage, and ONNX Runtime's
4-bit WebGPU kernels need 10, so loading SmolLM2-135M-Instruct q4 (or q4f16)
fails with "Too many storage buffers in shader. Current: 10, Max is 9". Chrome
allows 10 and Safari 44; fp16 and fp32 run in Firefox. State this in the
notebook introduction, and correct the q4 download size (about 180 MB).
@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.96%. Comparing base (6756797) to head (cf7f163).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   82.96%   82.96%           
=======================================
  Files           8        8           
  Lines        2472     2472           
=======================================
  Hits         2051     2051           
  Misses        421      421           
Flag Coverage Δ
javascript 79.19% <ø> (ø)
python 87.81% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@decitre
decitre merged commit 30f1d9a into main Nov 4, 2026
8 checks passed
@decitre
decitre deleted the webgpu-firefox-note branch November 4, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant