Skip to content

Add WebGPU notebook proving GPU inference - #10

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

decitre merged 1 commit into
mainfrom
webgpu-notebook

Conversation

@decitre

@decitre decitre commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

ch13_webgpu.ipynb shows that WebGPU inference really runs on the GPU: the
hardware adapter, model tensors held in GPU memory, and WebGPU vs WASM timing
for the same greedy generation with SmolLM2-135M-Instruct (q4). Link it from
the README and the ch01 introduction, and cover it in the notebook tests with
stubbed adapter and tensor-location probes.

ch13_webgpu.ipynb shows that WebGPU inference really runs on the GPU: the
hardware adapter, model tensors held in GPU memory, and WebGPU vs WASM timing
for the same greedy generation with SmolLM2-135M-Instruct (q4). Link it from
the README and the ch01 introduction, and cover it in the notebook tests with
stubbed adapter and tensor-location probes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@decitre
decitre merged commit c345ddd into main Nov 4, 2026
6 checks passed
@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 (1285278) to head (16096aa).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  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 deleted the webgpu-notebook 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