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.
| Assumption | Value |
|---|---|
| Images | 1,000,000,000 |
| Average file | 200 KB, so 200 TB in all |
| Embedding size | 768 dimensions |
| Embedding throughput | 1,000 images per second per GPU, decoding included |
| Sustained math rate | 100 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
A billion images at 1,000 a second on one GPU. About how many GPU-hours?
Pick an answer above to see the rest