Browser Machine Learning Mastery (Paperback)
Langue : anglais
Edité par Independently Published, 2025
- Livre broché
- Neuf

Vendeur : Grand Eagle Retail, Bensenville, IL, Etats-UnisGrand Eagle Retail
Vendeur AbeBooks depuis 12 octobre 2005
Etat: Neuf
EUR 30,87
Quantité disponible : 1 disponible
Ajouter au panierA propos de cet article
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 multiple locations in the US or from the UK, depending on stock availability.…
N° de réf. du vendeur 9798273164123
- Titre
- Browser Machine Learning Mastery (Paperback)
- Auteur
- Aura Fenwick
- Éditeur
- Independently Published
- Année de publication
- 2025
- État de l'article
- new
- Reliure
- Paperback
- Langue
- anglais
- ISBN à 13 chiffres
- 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.
« Synopsis » peut appartenir à une autre édition de cet ouvrage.
Grand Eagle Retail
Bensenville, IL, Etats-Unis
Vendeur AbeBooks depuis 12 octobre 2005
Frais d'expédition à l'intérieur de ce pays : Etats-Unis
| Article | 6 à 14 jours ouvrés | 6 à 16 jours ouvrés |
|---|---|---|
| Premier article | EUR 0,00 | EUR 0,00 |
Modes de paiement
Profil professionnel du vendeur
APOLLO ONLINE CORP.
605 Geddes Street
Wilmington, DE Etats-Unis 19805
Conditions de vente
We guarantee the condition of every book as it¿s described on the Abebooks web sites. If you¿ve changed
your mind about a book that you¿ve ordered, please use the Ask bookseller a question link to contact us
and we¿ll respond within 2 business days.
Books ship from California and Michigan.
Droit de rétractation
Si vous êtes un consommateur, vous pouvez exercer votre droit de rétractation sur le contrat conformément à ce qui suit. Le mot « consommateur » désigne toute personne physique agissant à des fins qui n'entrent pas dans le cadre de son activité commerciale, artisanale ou professionnelle.
Informations concernant le droit de rétractation
Droit statutaire de rétractation
Vous avez le droit d'exercer votre droit de rétractation sur ce contrat dans les 14 jours sans donner de raison.
Le délai de rétractation expirera au bout de 14 jours à compter du jour où vous-même, ou un tiers autre que le transporteur et désigné par vous, prendrez physiquement possession de la dernière marchandise, du dernier lot ou de la dernière pièce.
Pour exercer votre droit de rétractation, remplissez électroniquement et envoyez une déclaration claire sur notre site Web, sous « Vos achats » dans « Votre compte ». Nous vous communiquerons sans délai un accusé de réception de cette rétractation sur un support durable (par exemple, par e-mail).
Pour respecter le délai de rétractation, il vous suffit d'envoyer votre message concernant l'exercice de votre droit de rétractation avant l'expiration du délai de rétractation.
Effets de la rétractation
Si vous exercez votre droit de rétractation sur ce contrat, nous vous rembourserons tous les paiements que vous avez effectués, y compris les frais de livraison (à l'exception des frais supplémentaires résultant du choix d'un mode de livraison autre que le type de livraison standard le moins cher que nous proposons).
Nous pouvons déduire du remboursement la perte de valeur de toute marchandise livrée, si la perte est le résultat d'une manipulation inutile de votre part.
Nous effectuerons le remboursement dans les meilleurs délais, et au plus tard 14 jours après le jour où nous aurons été informés de votre décision d'exercer votre droit de rétractation sur ce contrat.
Nous effectuerons le remboursement en utilisant le même moyen de paiement que celui que vous avez utilisé pour la transaction initiale, sauf si vous en avez expressément convenu autrement ; en tout état de cause, aucuns frais ne vous seront facturés à la suite d'un tel remboursement.
Nous pouvons suspendre le remboursement jusqu'à ce que nous ayons reçu les marchandises ou que vous ayez fourni la preuve que vous avez renvoyé les marchandises, en fonction de la première éventualité.
Vous devez renvoyer les marchandises ou les remettre à Grand Eagle Retail, Bensenville, Illinois, U.S.A., sans retard injustifié et, en tout état de cause, au plus tard 14 jours à compter du jour où vous nous avez communiqué votre décision de rétractation du présent contrat. Le délai est respecté si vous renvoyez les marchandises avant l'expiration du délai de 14 jours. Vous devrez prendre en charge les frais directs du renvoi des marchandises. Vous n'êtes responsable que de toute diminution de valeur des marchandises résultant d'une manipulation autre que celle nécessaire pour établir la nature, les caractéristiques et le fonctionnement des marchandises.
Exceptions au droit de rétractation
Le droit de rétractation ne s'applique pas à ce qui suit :
- Distribution de journaux, de revues ou de magazines, à l'exception des contrats d'abonnement ; et
- Fourniture d'un contenu numérique qui n'est pas fourni sur un support matériel (par exemple, sur un CD ou un DVD) si vous avez accepté, lors de votre commande, que nous puissions commencer à le livrer et que vous ne puissiez pas exercer votre droit de rétractation une fois la livraison commencée.
Conditions d'expédition
Orders usually ship within 2 business days. All books within the US ship free of charge. Delivery is 4-14 business days anywhere in the United States.
Books ship from California and Michigan.
If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.