Skip to main content

Share story

AI

karpathy/autoresearch: AI agents running research on single-GPU nanochat training automatically

AI agents running research on single-GPU nanochat training automatically - karpathy/autoresearch Image: Primary
The autoresearch repository enables an AI agent to conduct autonomous experiments on training a language model using a single GPU implementation of nanochat. The agent modifies the training code, runs a session for five minutes, evaluates the result with the validation bits per byte metric, and either retains or discards the changes before repeating the cycle. A user starts the process and later reviews a log of the experiments along with any improved model. The project structure relies on three primary files. The prepare.py file handles fixed data preparation and utilities and remains unchanged. The train.py file contains the model, optimizer, and training loop and serves as the sole file the agent edits. The program.md file supplies the baseline instructions for the agent and is the file updated by the human. Each training run uses a fixed five minute wall clock budget that excludes startup and compilation time. This produces approximately 12 experiments per hour and roughly 100 experiments over an overnight period. The setup requires a single NVIDIA GPU along with Python 3.10 or newer and the uv project manager. The design limits agent changes to one file to keep modifications reviewable. Initial setup involves installing dependencies, preparing data, and then directing an AI coding agent to the program.md file.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from GitHub and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Products
Products

Quest Global acquires wearable testing provider Tests Assured

Quest Global has acquired Tests Assured, adding specialized testing for wearable devices, immersive technologies, and connected hardware and software to its engineering services business. The U.S. company tests smart glasses and augmented, virtual and extended reality products.

Capital Infrastructure
Capital Infrastructure

Mavria raises $130M for truck-shippable data centers

Mavria raised $130M across pre-seed and seed rounds at a $1B valuation, with Paradigm leading the financing, The Wall Street Journal reported. The company aims to build modular data centers that can be shipped by truck.