Items related to ONNX RUNTIME WEB: BUILD AI-POWERED APPS WITH WEBGPU...

ONNX RUNTIME WEB: BUILD AI-POWERED APPS WITH WEBGPU AND MACHINE LEARNING: Deploy Stable Diffusion and Transformers Directly in Browsers with Real Projects - Softcover

GRAHAM, TALIA

 
9798273118720: ONNX RUNTIME WEB: BUILD AI-POWERED APPS WITH WEBGPU AND MACHINE LEARNING: Deploy Stable Diffusion and Transformers Directly in Browsers with Real Projects

Synopsis

Build real on device AI apps that run fast in the browser with WebGPU and ONNX Runtime Web.

Developers want private low latency AI without a complex backend. The challenge is turning research models into reliable browser features that load quickly, fit memory limits, and stay responsive across devices.

This book gives you a production workflow. You will prepare models, choose execution providers, wire WebGPU or WASM cleanly, and ship two complete projects that prove the approach end to end.

  • set up a secure https development environment and shipable builds
  • choose webgpu webnn or wasm at runtime and fall back safely
  • prepare onnx models from pytorch or transformers with the right opset
  • simplify graphs convert to ort format and validate accuracy
  • use io binding to keep tensors on the gpu and cut copies
  • probe shader f16 limits and select workgroup sizes that fit devices
  • cache large models with cache storage indexeddb and opfs
  • stream weights with range requests and shard layouts that work on cdns
  • package wasm and model assets with cors corp coop and coep set correctly
  • measure performance with browser tools and onnx runtime profiling
  • troubleshoot fallbacks and slow kernels with a repeatable checklist
  • build stable diffusion turbo in a worker with webgpu acceleration
  • build a transformers toolkit chat embeddings and whisper tiny asr
  • ship version pinned repeatable builds with integrity checks
  • add monitoring error capture and feature telemetry for production
  • plan security and privacy for permissions storage and fingerprinting risks
  • automate cross browser and gpu tests with playwright and webdriver bidi
  • run safe rollouts with staged releases crash and performance budgets

This is a code heavy guide with working TypeScript WGSL and web platform snippets that you can paste into real projects.

Get the practical playbook for shipping browser based AI, grab your copy today.

"synopsis" may belong to another edition of this title.