Artificial Intelligence · 28.08.2026, 17:48 UTC
Vercel AI Open-Sources vgpu: A TypeScript WebGPU Library for AI Agent Shaders
| Schweregrad | info |
|---|---|
| Kategorie | Artificial Intelligence |
| Quelle | MarkTechPost ↗ |
| Veröffentlicht | 28.08.2026 UTC |
Sicherheitsmeldung mit Schweregrad noch nicht bewertet. Technische Details im Tab „Originaltext“; empfohlene Schritte in der Checkliste.
Shaders are still the hardest thing to ship on a normal web team. WebGPU gives you the hardware, then hands you adapters, bind group layouts, and pipeline descriptors before a single pixel moves. Vercel spent that cost internally building the shaders on vercel.com, and has now open-sourced the result. vgpu is a TypeScript library that treats .wgsl files as importable modules, exposes one Gpu context, and runs the same shader in a browser canvas, in headless Node.js, and in a CI snapshot test.
Is it deployable?
Yes,vgpu is MIT licensed and published to npm, so pnpm add vgpu is the entire acquisition path. It is a library, not a hosted service, so there is no account, quota, or inference bill.
One context, no hidden global state
init() acquires an adapter and device and returns a single Gpu handle. Everything else hangs off it. The browser quick start in the README is four lines:
Copy CodeCopiedUse a different Browserconst gpu = await init(); const surface = gpu.surface(canvas, { dpr: [1, 2] }); const wave = gpu.effect(WAVE_WGSL, { set: { speed: 2 } }); gpu.frame.loop(() => { wave.set({ time: gpu.time }); wave.draw(); });
surface wraps the canvas and clamps device pixel ratio between 1 and 2. effect compiles WGSL into a fullscreen effect whose uniforms are addressed by their WGSL names through set(). Frames are explicit: passes, clears, and draws are calls, never implicit scene-graph state.
WGSL as a Module System
The differentiator is shader tooling. .wgsl files import and export like TypeScript modules. vgpu resolves the module graph, reflects bindings, removes …
Maßnahmen
⬇ Als MarkdownVerwandte Beiträge
- info Batch write and discover records in Amazon SageMaker Feature Store
- info GLM-5.3-Flash vs Qwen3.8-Flash-Next: Two Chinese AI Labs Independently Converge on the Same Model Architecture
- info Spreading the load: How Salesforce met Multi-AZ HA with SageMaker Inference Components
- info How Decathlon runs demand forecasting at scale with Chronos-2