The most dramatic optimization to nanoGPT so far 25% speedup is to simply increase vocab size from 50257 to 50304 nearest multiple of 64. This calculates added useless dimensions but goes down a different kernel path with much higher occupancy. Careful with your Powers of 2.
Quote by Andrej Karpathy, Slovak computer scientist (1986). One of 41 Andrej Karpathy quotes on Quotlr.
Share: WhatsApp Facebook Telegram X Pinterest LinkedIn Email
Cite this quote (APA, MLA, Chicago)
APA
Andrej Karpathy. (n.d.). The most dramatic optimization to nanoGPT so far 25% speedup is to simply increase vocab size from 50257 to 50304… Quotlr.com. Retrieved December 6, 2026, from https://quotlr.com/archive/quote/1297047
MLA
Andrej Karpathy. “The most dramatic optimization to nanoGPT so far 25% speedup is to simply increase vocab size from 50257 to 50304…” Quotlr.com, https://quotlr.com/archive/quote/1297047. Accessed 6 Dec. 2026.
Chicago
Andrej Karpathy. “The most dramatic optimization to nanoGPT so far 25% speedup is to simply increase vocab size from 50257 to 50304…” Quotlr.com. Accessed December 6, 2026. https://quotlr.com/archive/quote/1297047.