Experimental library
Adaptive Neural Execution Engine
Explore how GPT-style models can vary the compute they use per token.
What it does
ANEE profiles intermediate model states and uses a controller to choose which layers to run. The repository documents experiments with GPT-2 models and how the cache is handled.
Availability
The tagged research code can be used to reproduce the experiments. Theoretical operation savings and observed runtime are separate measurements.