27/35
Part 6 of 6 · A worked example and follow-upsLearn and do

A worked example: a billion images, sized

State the assumptions, then do the arithmetic in front of the interviewer.

AssumptionValue
Images1,000,000,000
Average file200 KB, so 200 TB in all
Embedding size768 dimensions
Embedding throughput1,000 images per second per GPU, decoding included
Sustained math rate100 TFLOPS per GPU on large matrix multiplies
Price$2 per GPU-hour

Embedding the pile is cheap, and the effort goes into reading the files

Predict

A billion images at 1,000 a second on one GPU. About how many GPU-hours?

Pick an answer above to see the rest