Generative AI in C++: Coding Transformers and LLMs (C++ LLM Coding on CPU and GPU)
Language: English
Published by Independently published, 2024
- Softcover
- Used

Seller: WorldofBooks, Goring-By-Sea, WS, United KingdomWorldofBooks
AbeBooks seller since March 16, 2007
Condition: Used - Fine
US$ 27.69
Quantity: 1 available
Add to basketSeller Inventory # GOR015167180
- Title
- Generative AI in C++: Coding Transformers and LLMs (C++ LLM Coding on CPU and GPU)
- Author
- Spuler, David
- Publisher
- Independently published
- Publication year
- 2024
- Condition
- Fine
- Binding
- Paperback
- Language
- English
- ISBN 13
- 9798871928684
- Item weight
- 1,252 grams
- Series
- Book 1 of 5: C++ LLM Coding on CPU and GPU
Do you know C++ but not AI? Do you dream of writing your own AI engine in C++? From beginner to advanced, this book covers the internals of AI engines in C++, with real source code examples and research paper citations.
Key Features- Transformer components in C++
- Faster and smarter AI
- Play with an AI engine on your desktop
- Cutting-edge research optimizations
- Just C++ code without all the math
Table of Contents
Part I: AI Projects in C++
1. Introduction to AI in C++
2. Transformers & LLMs
3. AI Phones
4. AI on Your Desktop
5. Design Choices & Architectures
6. Training, Fine-Tuning & RAG
7. Deployment Architecture
Part II: Basic C++ Optimizations
8. Bitwise Operations
9. Floating Point Arithmetic
10. Arithmetic Optimizations
11. Compile-Time Optimizations
12. Pointer Arithmetic
13. Algorithm Speedups
14. Memory Optimizations
Part III: Parallel C++ Optimizations
15. Loop Vectorization
16. Hardware Acceleration
17. AVX Intrinsics
18. Parallel Data Structures
Part IV: Transformer Components in C++
19. Encoders & Decoders
20. Attention
21. Activation Functions
22. Vector Algorithms
23. Tensors
24. Normalization
25. Softmax
26. Decoding Algorithms
27. Tokenizer and Vocabulary
Part V: Optimizing Transformers in C++
28. Deslugging AI Engines
29. Caching Optimizations
30. Vectorization
31. Kernel Fusion
32. Quantization
33. Pruning
34. MatMul/GEMM
35. Lookup Tables & Precomputation
36. AI Memory Optimizations
Part VI: Enterprise AI in C++
37. Tuning, Profiling & Benchmarking
38. Platform Portability
39. Quality
40. Reliability
41. Self-Testing Code
42. Debugging
Part VII: Research on AI Optimization
43. Overview of AI Research
44. Advanced Quantization
45. Knowledge Distillation
46. Structured Pruning
47. Early Exit and Layer Pruning
48. Width Pruning
49. Length Pruning
50. Adaptive Inference
51. Zero-Multiplication Models
52. Logarithmic Models
53. Arithmetic Optimization Research
54. Ensemble Multi-Model Architectures
55. Advanced Number Systems
56. Neural Architecture Search
Appendix 1: C++ Slug Catalog
"Synopsis" may belong to another edition of this title.
WorldofBooks
Goring-By-Sea, WS, United Kingdom
AbeBooks seller since March 16, 2007
Shipping rates from United Kingdom to U.S.A.
| Item | 7 to 12 business days | 5 to 9 business days |
|---|---|---|
| First item | US$ 7.53 | US$ 16.13 |
Payment methods
Store description
In 2002, World of Books Group was founded on an ethos to do good, protect the planet and support charities by enabling more goods to be reused. Since then, we've grown into to a global company pioneering the circular economy. Today, we drive the circular economy through three re-commerce brands: - Wob: Through Wob, we sell. We provide affordable, preloved books and media to customers all over the world. A book leaves our collection of over seven million titles and begins a new chapter every two seconds, enabling more goods to be reused. - Ziffit: Through Ziffit, we buy. We give people around the world the opportunity to contribute to the circular economy, earn money and protect the planet, by trading their unwanted books and media. - Shopiago: Through Shopiago, we help others. By sharing the technology that has grown World of Books Group into the business it is today, we’re helping charities increase revenue and reduce waste through re-commerce.…
Specialty
COOKERY, RECYCLE, CHARITY, USED BOOKS, MODERN, HISTORY, CHILDRENS, FICTION, CHEAP BOOKS, NON -FICTIONSeller's business information
World of Books Ltd
Mulberry House, Woods Way Trading Estate
Goring-By-Sea, United Kingdom BN12 4QY
Terms of sale
WorldofBooks.com fully embraces the AbeBooks terms and conditions and we will do
what we can to resolve any issues.
Shipping terms
Orders ship within 2 business days. Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.