vercel-labs/vgpu
Modular cross-runtime WebGPU library for shaders, 3D scenes, GPU tensors, neural networks, and math viz
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest 16 days ago, with 7 contributors on GitHub.
Use Cases & Benefits
- Provides a modular TypeScript library for WebGPU enabling typed shader imports, 3D scenes, GPU tensors, neural networks, and math visualization across multiple runtimes.
- Offers a unified, small, and multi-runtime API with typed WGSL shader modules and explicit GPU frame management, ensuring consistent behavior in browser, Node, and test environments.
- Use for developing cross-platform GPU-accelerated graphics and compute applications with type-safe shader integration in TypeScript projects.
- Use for running GPU-based rendering or compute workloads headlessly in Node.js environments using the Dawn-backed adapter.
- Use for building deterministic GPU test suites and CI pipelines with the mock adapter that simulates GPU behavior without hardware.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
vgpu is a TypeScript library for WebGPU: typed shader imports, a tiny gpu-first API, and the same code running in the browser, headless Node, and your test suite.
View full documentation and examples on vgpu.sh.
In this example,
init()acquires an adapter and device and returns the singleGpucontext; every other entry point takes it as its first argument.surfacewraps the canvas as a render target and keeps its size current, clamping the device-pixel ratio between 1 and 2.effectcompiles the shader into a fullscreen effect whose uniforms are addressed by their WGSL names throughset()— writes land immediately, so the loop only sets what changes each frame.clockprovides frame time, andframeLoopruns the callback once per frame, whereframe.passdraws the effect into the surface.The same API runs headless, against a Dawn-backed device:
vgpu/mockswaps in a deterministic software adapter for the same code, so tests never need a GPU.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+1,563 stars over 60 days across 6 snapshot days; best day +89 on Aug 31.
Forks
135+88
Open issues
44-2
Compared with peers in Deep Learning
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| onnx/onnx | 21.6K | — | 63 | 31 days ago |
| mlc-ai/web-llm | 19.3K | — | 59 | 16 days ago |
| lukas-blecher/LaTeX-OCR | 16.6K | — | 18 | — |
| milesial/Pytorch-UNet | 11.7K | — | 18 | — |
| SharpAI/DeepCamera | 3.1K | — | 31 | 227 days ago |
| vercel-labs/vgpu | 2.6K | — | 59 | 16 days ago |
| Category median | 16.6K | — | 31 | — |
Also by vercel-labs
Other repositories from this maintainer that GStars tracks
- Rust46.0K stars
agent-browser
Browser automation CLI for AI agents
- TypeScript38.3K stars
skills
The open agent skills tool - npx skills
- JavaScript33.6K stars
agent-skills
Vercel's official collection of agent skills
- TypeScript18.8K stars
json-render
The Generative UI framework
- Rust17.0K stars
agent-desktop
Computer use CLI for AI agents
Discover Repositories
Search across tracked repositories by name or description