FREE HISTORY OF COMPUTING COMPANIES LESSON

2012: AI reindustrializes software

CUDA, NVIDIA, DeepMind, hyperscalers, and frontier laboratories

The 2012 deep-learning milestone represented by AlexNet combined a learning algorithm, a labeled image dataset, implementation choices, and GPU computation. CUDA predates that result, while later organizations such as DeepMind and frontier-model laboratories developed other tasks and systems. A precise history separates the programming platform, a particular scientific result, subsequent scaling, and commercial distribution. None is adequately explained by saying that a single model invented modern AI.

The original AlexNet paper is useful because it specifies an architecture, training procedure, dataset setting, and measured evaluation. It reports a result under those conditions, not a theorem that larger models always improve every task. NVIDIA's timeline gives the manufacturer's account of platform development. The sources answer different questions: what a research experiment demonstrated and how a vendor describes the infrastructure supporting a wider ecosystem.

A GPU exposes parallel execution, but a program benefits only when work can be mapped efficiently to it. Data movement, memory capacity, synchronization, numerical precision, and kernel implementation matter. A familiar software interface can hide expensive physical constraints. A training run can spend substantial time waiting for data or communication even when theoretical arithmetic throughput is high.

Use a fictional job requiring 100 hours on one accelerator. Assume 80% of the time is perfectly parallelizable and 20% remains serial. Four accelerators reduce ideal execution time to 20+80/4=40 hours, a 2.5-fold speedup, not fourfold. The accelerator-hours rise from 100 to 160. If communication adds another 10 elapsed hours while all four devices remain allocated, cost rises further to 200 accelerator-hours. Faster completion and lower resource cost are different objectives.

The institution needs more than chips: power, cooling, networking, storage, data rights, experiment tracking, researchers, evaluation, and a route to users. A trained model also incurs inference and maintenance costs. If distribution makes a system popular, serving demand can become a new bottleneck even after the initial training has finished. An evaluation failure can waste the entire run by making the claimed improvement uninterpretable.

Shared frameworks and libraries reduce repeated implementation work and accumulate expertise around a platform. They can also raise switching costs when models rely on specialized kernels, numerical behavior, or tooling. An alternative accelerator must be assessed on end-to-end workloads, not only a headline operations-per-second figure. Porting, verification, failure recovery, and staff familiarity are part of the comparison.

This industrial account must preserve uncertainty. Compute spending does not by itself establish capability, reliability, or social value. A benchmark is evidence about a defined test, and a product claim needs evidence about actual use. Map the stack, identify the limiting resource, and compare a cheaper or smaller baseline. The strongest explanation connects measured behavior to the mechanism and cost that produced it, while stating which conclusions the experiment cannot support.

Reconstruction exercise

For the fictional 100-hour job with 80% parallel work, calculate ideal time and accelerator-hours on four devices. Add ten hours of communication while all devices remain allocated. Compare speedup and resource consumption with one device. Then name two measurements needed before deciding whether a different accelerator platform is better, and one evaluation safeguard that prevents mistaking infrastructure expenditure for learning progress.

Worked solution

Ideal time is 20+80/4=40 hours, speedup 100/40=2.5, and usage 4×40=160 accelerator-hours. With ten extra hours, elapsed time is 50 hours, speedup 2, and usage 200 accelerator-hours. The job finishes sooner while consuming twice the device-hours, under the stated model. Measure complete training throughput including data and communication, and verify numerical behavior, memory limits, or recovery under the alternative platform. Keep a held-out evaluation protocol fixed before model selection and compare against a relevant baseline. Spending more or finishing faster is an infrastructure observation; improved predictive behavior requires independently interpretable evaluation.

Test the limits and transfer the idea

1. Throughput calculation · allow 25 minutes

An accelerator waits for the slowest pipeline stage

A fictional training batch needs 40 ms for input preparation, 20 ms for transfer and 10 ms for accelerator compute. Without overlap, calculate batches/second. With ideal dedicated resources and buffering, calculate steady-state pipeline throughput and first-batch latency. A new accelerator halves compute time. Recompute both cases and explain what measurement would reveal whether buying it improves the real workload.

Get a starting hint

Serial latency adds stage times; steady pipeline throughput is limited by the slowest stage.

Compare your reasoning with the worked solution

Without overlap, a batch takes 70 ms, so throughput is about 14.286 batches/second. Ideal pipelining retains 70 ms first-batch latency but completes one batch every max(40,20,10)=40 ms after filling, or 25/second. Halving compute gives serial latency 65 ms and throughput about 15.385/second, only a 7.69% throughput increase. Pipelined throughput remains 25/second because preparation still takes 40 ms; first-batch latency drops to 65 ms. Real overlap depends on resource contention, buffers and dependencies. Trace stage occupancy and end-to-end completed batches rather than only kernel speed. AlexNet's paper is a primary experiment report under its stated protocol; NVIDIA's timeline is corporate history, and neither establishes these fictional timings.

Check your reasoning

  • Separates first-batch latency from steady-state throughput.
  • Computes the limited gain and unchanged pipeline bottleneck.
  • Names an end-to-end measurement that tests the model.

2. Evaluation design · allow 25 minutes

A larger experiment can reuse its test set into irrelevance

A team trains 100 model variants, repeatedly examines the same 500-example “test” set, and chooses the highest-scoring variant. It then reports that score as an independent estimate of deployment performance. Explain the selection problem without assuming any particular numerical correction. Design training, validation and final evaluation stages for deployment on previously unseen people. Identify one artifact needed to audit data separation and one result that would challenge the claimed gain.

Get a starting hint

A set used to choose the model is part of the selection procedure, whatever its filename says.

Compare your reasoning with the worked solution

Repeated score inspection makes the 500 examples function as validation data. Selection can exploit sample-specific fluctuations, so the winning score is not an untouched estimate of the chosen procedure's generalization. Split by person before creating derived examples, tune variants and thresholds on training/validation data, freeze the chosen procedure, then evaluate once on a held-out person-disjoint test set representative of the intended use. Record stable provenance identifiers and a split manifest that permits checking overlap without publishing private records. A gain disappearing on the untouched set, or arising only among previously seen people, would challenge the claim. A primary benchmark paper supports its reported protocol and outcome; it does not automatically validate a later team's reused-test procedure or transfer to another population.

Check your reasoning

  • Identifies adaptive test reuse as model selection.
  • Uses person-level separation and freezes selection before final evaluation.
  • Names auditable provenance and a falsifying result.

Check your understanding

A100-hour job is 80% perfectly parallelizable. Four accelerators take 40 ideal hours. What are speedup and allocated accelerator-hours?

  • 2.5-fold speedup and40 accelerator-hours.
  • Fourfold speedup and100 accelerator-hours.
  • 2.5-fold speedup and160 accelerator-hours.
  • Fivefold speedup and80 accelerator-hours.
Explanation

Elapsed time is 20+80/4=40; four allocated devices consume 4×40=160 device-hours.

A larger training run costs twice as much and achieves a better score on a test repeatedly used for model selection. What is the strongest next step?

  • Evaluate the selected procedure using an appropriate untouched protocol and relevant baseline.
  • Treat the reused test as permanently independent.
  • Ignore data and measure only accelerator throughput.
  • Infer that twice the spend proves twice the capability.
Explanation

Infrastructure spending and selection-biased evaluation do not establish generalization to a new evaluation population.

Sources and further reading