AIngram-autoresearch is a lightweight integration of Karpathy's autoresearch, designed for seamless operation on consumer hardware. Ideal for those with limited resources, it enables persistent experimental memory across coding loops, ensuring improved training and recall capabilities. Suitable for Python 3.11 and above.
AIngram-AR is a fork of Karpathy's Autoresearch specifically designed to run effectively on consumer hardware. This project has been tested on laptops equipped with an RTX 4060 GPU and 8GB of VRAM, providing users a practical solution for experimenting with machine learning workflows without the need for high-end infrastructure.
Unlike the full Autoresearch implementation, which continuously loops through its training process, AIngram-AR provides a streamlined approach for initial experimentation with a single run:
uv run train.py
This command executes one timed experiment for a duration of 5 minutes and compiles results, offering a straightforward way to analyze training performance without getting entangled in endless loops.
AIngram-AR requires:
Follow the provided instructions to set up two virtual environments for optimal functionality:
For those utilizing consumer-grade GPUs such as the RTX 4060, AIngram-AR offers modified training parameters to accommodate limited memory resources. To avoid OOM (Out of Memory) errors, adjustments such as lowering DEVICE_BATCH_SIZE and MAX_SEQ_LEN are recommended to ensure smooth operation during training sessions.
AIngram-AR stands as an accessible and efficient solution for users looking to explore the integration of autoregressive models and persistent memory in machine learning experiments on consumer hardware. The combination of Autoresearch and AIngram provides a unique framework for advancing machine learning research and development.
No comments yet.
Sign in to be the first to comment.