GPT-2 small
The small version in the GPT-2 series released by OpenAI, with approximately 124 million parameters, and one of the representative early open language models.
Timeline (last 90 days)
The 19-minute dual-core proof time is still not fast enough for real-time applications; the zero-knowledge property of the privacy construction relies on explicit assumptions and has not yet been proven in the standard model; the tests cover only GPT-2 small, and the performance on larger models remains to be verified.
GPT-2 small is a language model released by OpenAI in 2019, with 117 million parameters, 12 Transformer blocks, a hidden layer dimension of 768, 12 attention heads, and a vocabulary size of about 50,000.
The model output matches high-precision inference at least as well as standard 16-bit inference.
The research team implemented a complete system, and on a dual-core processor, proving the entire forward pass of GPT-2 small (including twelve blocks and full-vocabulary output) takes only 19 minutes, with verification taking 21 seconds.
15M parameters is roughly equivalent to about one-eighth of early GPT-2 small (about 117M parameters).
The experiment used pretrained GPT-2 small (124M parameters), an NVIDIA A40 GPU, fp32 precision with TF32 disabled, batch size 1, and greedy decoding.
One developer implemented the KV Cache for GPT-2 small from scratch in PyTorch and measured three sets of data: correctness, latency, and memory.
The author's GPT-2 small KV cache implementation code and article are publicly available on a personal blog and GitHub repository (angry-kratos.github.io), and the same set of numbers can be reproduced.
Under the same experimental setup, the total time to generate 1016 tokens drops from 14.66 seconds to 5.03 seconds.
Under the same experimental setup, at context length 1000 the estimated FLOPs drop by about 1000x, while single-token latency drops only about 6x.
2 more timeline events
All Facts (13)
Under the same experimental setup, the total time to generate 1016 tokens drops from 14.66 seconds to 5.03 seconds.
70%UnverifiedGPT-2 small is a language model released by OpenAI in 2019, with 117 million parameters, 12 Transformer blocks, a hidden layer dimension of 768, 12 attention heads, and a vocabulary size of about 50,000.
50%UnverifiedThe 19-minute dual-core proof time is still not fast enough for real-time applications; the zero-knowledge property of the privacy construction relies on explicit assumptions and has not yet been proven in the standard model; the tests cover only GPT-2 small, and the performance on larger models remains to be verified.
50%UnverifiedThe research team implemented a complete system, and on a dual-core processor, proving the entire forward pass of GPT-2 small (including twelve blocks and full-vocabulary output) takes only 19 minutes, with verification taking 21 seconds.
50%UnverifiedThe model output matches high-precision inference at least as well as standard 16-bit inference.
50%Unverified15M parameters is roughly equivalent to about one-eighth of early GPT-2 small (about 117M parameters).
50%UnverifiedThe experiment used pretrained GPT-2 small (124M parameters), an NVIDIA A40 GPU, fp32 precision with TF32 disabled, batch size 1, and greedy decoding.
50%UnverifiedThe author's GPT-2 small KV cache implementation code and article are publicly available on a personal blog and GitHub repository (angry-kratos.github.io), and the same set of numbers can be reproduced.
50%UnverifiedOn a single NVIDIA A40 with fp32 and TF32 disabled, batch size 1 and greedy decoding, after GPT-2 small uses the KV cache, single-token latency at context length 1000 drops from 29.69 ms to 4.95 ms, about 6x.
50%UnverifiedUnder the same experimental setup, at context length 1000 the estimated FLOPs drop by about 1000x, while single-token latency drops only about 6x.
50%UnverifiedKeera's architecture is based on GPT-2 small: 12 Transformer blocks, hidden dimension 768, and a total parameter count of 97.5M.
50%UnverifiedGetting started with mechanistic interpretability can begin with interpretability analysis of small models (such as GPT-2 small), gradually progressing to more complex mechanisms.
50%UnverifiedOne developer implemented the KV Cache for GPT-2 small from scratch in PyTorch and measured three sets of data: correctness, latency, and memory.
50%