Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/evidence/efficiency/chinchilla-table.sh # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / evidence / efficiency / chinchilla-table.sh` 12 lines ยท 1094 bytes Raw Blame History 1 # aien-train L278 section 8: Chinchilla-optimal training on one GB10. 2 # N = parameters, L = layers, h = hidden width (nearest GPT-3 shapes; 50M shape is the author's choice). 3 # D = 20 N tokens, F = 6 N D FLOPs, peak p = 207.7e12 (measured FP8 best case), bw = 273e9 B/s, T = 524288 tokens/step. 4 # State floor: 23 bytes/param moved once per step. Activation floor: 2 x 34 h L bytes/token (store all, written once, read once). 5 # Recompute floor: 2 x 2 h L bytes/token (keep only each layer input; section 5.2 method). 6 for row in "50e6 8 512" "125e6 12 768" "350e6 24 1024" "1e9 24 2048" "3e9 32 2560"; do 7 set -- $row 8 awk -v N=$1 -v L=$2 -v h=$3 'BEGIN{D=20*N; F=6*N*D; p=207.7e12; T=524288; bw=273e9; 9 m40=F/(0.40*p); m25=F/(0.25*p); m55=F/(0.55*p); 10 st=(D/T)*23*N/bw; as=D*2*34*h*L/bw; ar=D*2*2*h*L/bw; 11 printf "N=%g L=%d h=%d D=%g F=%.4g | math hours: 25%%=%.4g 40%%=%.4g 55%%=%.4g | state floor h=%.4g steps=%.0f | act store-all h=%.4g (%.3g x math@40%%) | act recompute h=%.4g (%.3g x math@40%%)\n", N,L,h,D,F, m25/3600,m40/3600,m55/3600, st/3600,D/T, as/3600, as/m40, ar/3600, ar/m40}' 12 done