Commit 512c012
committed
Vol 1 camera-ready: fix accuracy findings from full review pass
Corrects verified factual errors and internal inconsistencies caught in a
per-chapter accuracy review of Volume 1. All changed numbers stay
LEGO-computed; no prose literals introduced.
Critical:
- appendix (System Assumptions): mixed-precision Adam memory table now renders
master+moments = 12 B and total = 16 B (was 8/12; total had omitted the FP32
master weight), matching the table caption, prose, and napkin math.
Factual / internal-consistency fixes:
- hw_acceleration: AlexNet ImageNet-2012 margin 10.8 -> 10.9 pp; GPU-supply
growth renders 1.7x (dropped a stray round() that showed 2x); H100 FP8
dense/sparse peaks labeled; H100 FP16-vs-FP32 gap ~15x.
- model_compression: NVIDIA T4 mislabeled as an 8 GB card -> RTX 3070; NAS
GPU-day table clarified vs landmark-system prose; prune+INT8 speedup scope;
ResNet-50 INT8 accuracy pair standardized.
- conclusion: 1024-GPU cluster MTBF "sub-day" -> "days-scale" (chapter computes
48.8 h); "microwatt" -> "milliwatt".
- ml_workflow: lifecycle-feedback caption routes to data collection (matching
the figure arrow and prose); transfer-learning corpus -> ILSVRC-2012 subset.
- data_selection: optimization-triad figure bottom edge now "I/O Bound" (was a
duplicate "Sample Efficiency").
- data_engineering: Apache Pulsar reclassified CP (was AP); Jeff Dean latency
numbers -> LADIS 2009 keynote; KWS model-size budget 64 KB.
- benchmarking: MFU peak-vs-sustained gap computed (2-3.3x); WILDS and DataComp
claims reconciled to one framing.
- model_serving: Hazelwood figure "translation directions" (was "language
pairs"); batch-8 throughput 4.4x (computed from the saturated model).
- introduction: Viola-Jones 12 features; Perceptron 1958; MYCIN "Bacteroides";
ViT ImageNet top-5 ~99%.
- nn_computation / nn_architectures: HOG 4x4-vs-8x8 bridging clause; FP16/BF16
exponent-range clause attached to BF16 only; Perceptron "-tron" etymology;
TPU v1 "deployed 2015, detailed 2017".
- frameworks: Keras/JAX shape-tuple bug (input_shape=(10,), (1,)).
- training: loss-scaling factor start-vs-steady-state wording.
- ml_systems: energy-gap footnote anchors aligned to chapter values; cost-gap
code comment 6 orders; Mobile cost cell clarified.
- ml_ops: A100 L2 bandwidth described as approximate, not vendor-published.
- responsible_engr: footnote 43x -> computed 43.1x reference.
- appendix (Data): PSI worked-example addends now sum exactly; softmax-overflow
wording softened; B200 4-bit row labeled FP4.
- appendix (Machine): DRAM-vs-FP16-multiply summary uses the computed ratio ref.
Registry:
- mlsysim tech memory: register-file access energy 0.01 -> 0.1 pJ. The old
value was an unsourced outlier (a 64,000x register-to-DRAM energy gap and a
register 50x cheaper than L1); 0.1 pJ gives the standard ~6,400x DRAM gap and
register ~5x cheaper than L1. Consumers are computed refs and update
consistently.
Verified: all Vol 1 LEGO cells exec-pass; binder gates (refs, labels, math,
code, footnotes, notation, tables, structure) green; Vol 1 PDF builds with no
unresolved refs, no Python tracebacks, and no severe layout overflow; the
optimization-triad figure was visually confirmed in the rendered PDF.1 parent 1512a5e commit 512c012
20 files changed
Lines changed: 93 additions & 77 deletions
File tree
- book/quarto/contents/vol1
- backmatter
- benchmarking
- conclusion
- data_engineering
- data_selection
- frameworks
- hw_acceleration
- introduction
- ml_ops
- ml_systems
- ml_workflow
- model_compression
- model_serving
- nn_architectures
- nn_computation
- responsible_engr
- training
- mlsysim/mlsysim/hardware/data/tech
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
484 | | - | |
485 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
1240 | | - | |
| 1240 | + | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
103 | | - | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
4127 | 4132 | | |
4128 | 4133 | | |
4129 | 4134 | | |
4130 | | - | |
| 4135 | + | |
4131 | 4136 | | |
4132 | 4137 | | |
4133 | 4138 | | |
| |||
4287 | 4292 | | |
4288 | 4293 | | |
4289 | 4294 | | |
4290 | | - | |
| 4295 | + | |
4291 | 4296 | | |
4292 | 4297 | | |
4293 | 4298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
| 1061 | + | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
| |||
0 commit comments