Browser Machine Learning Mastery (Paperback)
Sprache: Englisch
Verlag: Independently Published, 2025
- Softcover
- Neu

Anbieter: CitiRetail, Stevenage, Vereinigtes KönigreichCitiRetail
Verkäufer:in bei AbeBooks seit 29. Juni 2022
Zustand: Neu
EUR 42,35
Anzahl: 1 verfügbar
In den WarenkorbArtikelbeschreibung des Verkäufers
Paperback. Ship fast, private, and efficient AI in the browser with ONNX Runtime Web, WebGPU, and a proven pipeline from training to production.Developers face real constraints in the browser, from cross origin isolation and CSP to GPU limits, storage quotas, and variable device performance. This book gives you a practical end to end system that handles those constraints while delivering low latency features users can trust.You will learn when client side inference is the right call, how to export and optimize models, and how to run them reliably with WebGPU and WASM using clean fallbacks. The result is a codebase that is faster to maintain, easier to ship, and ready for production.Decide where inference should run using clear cost, privacy, and latency trade offsExport PyTorch models to ONNX with external data to handle 2 GiB limitsConvert and optimize graphs into ORT format and apply mixed precision fp16 safelyUse ONNX Runtime Web SessionOptions, IO binding, and device tensors to keep data on GPUApply graph capture on WebGPU for static shapes and plan around binding size limitsReach stable CPU performance with WASM threads and SIMD through cross origin isolationProbe WebGPU features including shader f16, subgroups, and timestamp queriesSelect providers with a backend matrix that adapts across WebGPU, WebNN, and WASMBuild tokenizer workflows and pipelines with Transformers.js using device webgpuImplement preprocessing and postprocessing for images and audio with codecs and batchingCache large weights in IndexedDB and OPFS with quota checks and eviction handlingVersion and validate assets using manifests, ETags, and integrity checksStream and lazy load sharded weights with HTTP Range for faster first useHandle large models with KV cache tiling and binding size aware layoutsPartition graphs between WebGPU and WASM for selective fallbacks on weaker devicesBuild real projects end to end, including Stable Diffusion Turbo with fp16 weightsWire Whisper Tiny for streaming capture with VAD for robust speech inputShip real time background removal with camera compositing for the webDeliver CLIP image search with local embeddings and an IndexedDB vector indexSet headers and CSP correctly, avoid COEP credentialless pitfalls, and keep isolationProfile performance with ORT logs and the WebGPU inspector to remove bottlenecksMigrate cleanly from ONNX.js and TensorFlow.js to ORT Web without breaking flowsStand up production telemetry, error boundaries, and alerting that respect privacyPlan costs for CDN egress, caching, and storage, with practical distribution strategiesFuture proof with feature detection for WebNN and NPUs and a maintenance roadmapThis is a code heavy guide, with working examples that show IO binding, fp16 kernels, manifests, service workers, feature probes, and complete project wiring so you can ship real products.Get the guide that turns browser AI from a demo into a dependable product, grab your copy today. This item is printed on demand. Shipping may be from our UK warehouse or from our Australian or US warehouses, depending on stock availability.…
Bestandsnummer des Verkäufers 9798273164123
- Titel
- Browser Machine Learning Mastery (Paperback)
- Autor
- Aura Fenwick
- Verlag
- Independently Published
- Erscheinungsjahr
- 2025
- Zustand
- new
- Einband
- Paperback
- Sprache
- Englisch
- ISBN-13
- 9798273164123
Ship fast, private, and efficient AI in the browser with ONNX Runtime Web, WebGPU, and a proven pipeline from training to production.
Developers face real constraints in the browser, from cross origin isolation and CSP to GPU limits, storage quotas, and variable device performance. This book gives you a practical end to end system that handles those constraints while delivering low latency features users can trust.
You will learn when client side inference is the right call, how to export and optimize models, and how to run them reliably with WebGPU and WASM using clean fallbacks. The result is a codebase that is faster to maintain, easier to ship, and ready for production.
- Decide where inference should run using clear cost, privacy, and latency trade offs
- Export PyTorch models to ONNX with external data to handle 2 GiB limits
- Convert and optimize graphs into ORT format and apply mixed precision fp16 safely
- Use ONNX Runtime Web SessionOptions, IO binding, and device tensors to keep data on GPU
- Apply graph capture on WebGPU for static shapes and plan around binding size limits
- Reach stable CPU performance with WASM threads and SIMD through cross origin isolation
- Probe WebGPU features including shader f16, subgroups, and timestamp queries
- Select providers with a backend matrix that adapts across WebGPU, WebNN, and WASM
- Build tokenizer workflows and pipelines with Transformers.js using device webgpu
- Implement preprocessing and postprocessing for images and audio with codecs and batching
- Cache large weights in IndexedDB and OPFS with quota checks and eviction handling
- Version and validate assets using manifests, ETags, and integrity checks
- Stream and lazy load sharded weights with HTTP Range for faster first use
- Handle large models with KV cache tiling and binding size aware layouts
- Partition graphs between WebGPU and WASM for selective fallbacks on weaker devices
- Build real projects end to end, including Stable Diffusion Turbo with fp16 weights
- Wire Whisper Tiny for streaming capture with VAD for robust speech input
- Ship real time background removal with camera compositing for the web
- Deliver CLIP image search with local embeddings and an IndexedDB vector index
- Set headers and CSP correctly, avoid COEP credentialless pitfalls, and keep isolation
- Profile performance with ORT logs and the WebGPU inspector to remove bottlenecks
- Migrate cleanly from ONNX.js and TensorFlow.js to ORT Web without breaking flows
- Stand up production telemetry, error boundaries, and alerting that respect privacy
- Plan costs for CDN egress, caching, and storage, with practical distribution strategies
- Future proof with feature detection for WebNN and NPUs and a maintenance roadmap
This is a code heavy guide, with working examples that show IO binding, fp16 kernels, manifests, service workers, feature probes, and complete project wiring so you can ship real products.
Get the guide that turns browser AI from a demo into a dependable product, grab your copy today.
„Inhaltsangabe“ gehört möglicherweise zu einer anderen Auflage dieses Titels.
CitiRetail
Stevenage, Vereinigtes Königreich
Verkäufer:in bei AbeBooks seit 29. Juni 2022
Versandkosten von Vereinigtes Königreich nach USA
| Artikel | 7 bis 14 Werktage | 7 bis 60 Werktage |
|---|---|---|
| Erster Artikel | EUR 44,12 | EUR 44,12 |
Zahlungsarten
Shopbeschreibung
Online business
Unternehmensdaten der Verkäuferin bzw. des Verkäufers
ABC BOOKS LIMITED
10 John Street
London, Vereinigtes Königreich WC1N 2EB
Verkaufsbedingungen
Orders can be returned within 30 days of receipt.
Widerrufsrecht
Wenn Sie Verbraucher sind, können Sie gemäß den folgenden Bestimmungen vom Vertrag zurücktreten. Verbraucher ist jede natürliche Person, die zu Zwecken handelt, die nicht ihrer kaufmännischen, gewerblichen, künstlerischen oder beruflichen Tätigkeit zugerechnet werden können.
Informationen zum Widerrufsrecht
Gesetzliches Widerrufsrecht
Sie haben das Recht, den Vertrag innerhalb von 14 Tagen ohne Angabe von Gründen zu widerrufen.
Die Widerrufsfrist beträgt 14 Tage ab dem Tag, an dem Sie oder ein von Ihnen benannter Dritter, der nicht der Transporteur ist, die letzte Ware oder den letzten Posten oder das letzte Exemplar in Besitz genommen hat.
Um das Widerrufsrecht auszuüben, füllen Sie auf unserer Website unter „Meine Einkäufe" in „Mein Nutzerkonto" eine eindeutige Erklärung elektronisch aus und senden Sie sie ab. Wir werden Ihnen unverzüglich eine Bestätigung über den Eingang eines solchen Widerrufs auf einem dauerhaften Datenträger (z. B. per E-Mail) übermitteln.
Um die Widerrufsfrist einzuhalten, reicht es aus, dass Sie Ihre Mitteilung über die Ausübung des Widerrufsrechts vor Ablauf der Widerrufsfrist absenden.
Auswirkungen des Widerrufs
Wenn Sie diesen Vertrag widerrufen, erstatten wir Ihnen alle Zahlungen, die wir von Ihnen erhalten haben, einschließlich der Lieferkosten (mit Ausnahme der zusätzlichen Kosten, die entstehen, wenn Sie eine andere Art der Lieferung als die von uns angebotene günstigste Standardlieferung gewählt haben).
Wir können einen Abzug von der Rückerstattung für den Wertverlust der gelieferten Waren vornehmen, wenn der Verlust auf eine unnötige Behandlung durch Sie zurückzuführen ist.
Wir werden die Rückerstattung unverzüglich und nicht später als 14 Tage nach dem Tag vornehmen, an dem wir über Ihre Entscheidung, diesen Vertrag zu widerrufen, informiert wurden.
Für die Rückerstattung verwenden wir dasselbe Zahlungsmittel, das Sie für die ursprüngliche Transaktion verwendet haben, es sei denn, Sie haben ausdrücklich etwas anderes vereinbart; in keinem Fall werden Ihnen aufgrund einer solchen Rückerstattung Gebühren berechnet.
Wir können die Rückzahlung verweigern, bis wir die Waren wieder zurückerhalten haben oder Sie den Nachweis erbracht haben, dass Sie die Waren zurückgesandt haben, je nachdem, was eher eintritt.
Sie müssen die Waren unverzüglich und in jedem Fall spätestens 14 Tage ab dem Tag, an dem Sie uns über den Widerruf dieses Vertrags unterrichten, an CitiRetail, Stevenage, United Kingdom, zurücksenden oder übergeben. Die Frist ist eingehalten, wenn Sie die Ware vor Ablauf der Frist von 14 Tagen zurücksenden. Sie müssen die direkten Kosten der Rücksendung der Waren tragen. Sie haften nur für einen etwaigen Wertverlust der Waren, der auf eine Behandlung zurückzuführen ist, die nicht zur Prüfung der Art, Eigenschaften und Funktionsweise der Waren erforderlich ist.
Ausnahmen vom Widerrufsrecht
Das Widerrufsrecht gilt nicht für:
- Die Lieferung von Zeitungen, Zeitschriften oder Magazinen mit Ausnahme von Abonnementverträgen; und
- Die Lieferung digitaler Inhalte, die nicht auf einem physischen Medium (z. B. auf einer CD oder DVD) geliefert werden, wenn Sie bei Ihrer Bestellung akzeptiert haben, dass wir mit der Lieferung beginnen können und dass Sie nach Beginn der Lieferung den Vertrag nicht mehr widerrufen können.
Versandbedingungen
Please note that titles are dispatched from our US, Canadian or Australian warehouses. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 7-14 days.