Summary: Torchwright is a novel compiler that converts arbitrary computation graphs, defined in ordinary Python, into the weights of a vanilla transformer architecture, specifically a Phi-3-like checkpoint. This allows the transformer to execute the defined computation graph directly, without requiring any training process. The output is a standard Hugging Face-loadable model, eliminating the need for custom code or 'trust_remote_code'.
Why it matters: This development offers a new paradigm for understanding and programming transformers, enabling direct algorithmic execution within standard models. AI builders can explore encoding specific algorithms into transformer weights, potentially leading to more interpretable or specialized models without the complexities of training.