Conversation
Add pod template for Karpathy's autoresearch (autonomous ML experiment loop). Builds on runpod/base with CUDA 12.8.1 for both Ubuntu 22.04 and 24.04. Image comes pre-loaded with the repo, dependencies, and prepared data so users can start experimenting immediately. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e58d640a95
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - 'official-templates/shared/**' | ||
| - 'official-templates/autoresearch/**' |
There was a problem hiding this comment.
Rebuild autoresearch after base image changes
The build-autoresearch change detector only watches official-templates/shared/** and official-templates/autoresearch/**, so when official-templates/base/** changes this workflow still runs build-base but skips rebuilding autoresearch. That leaves runpod/autoresearch:* tags on older base layers (including missed base fixes) until an unrelated autoresearch/shared edit happens. Add base template paths to this filter so dependent images rebuild whenever their base is rebuilt.
Useful? React with 👍 / 👎.
| ARG AUTORESEARCH_REF=main | ||
| RUN git clone --branch ${AUTORESEARCH_REF} --depth 1 \ |
There was a problem hiding this comment.
Pin autoresearch checkout to an immutable ref
The image build clones runpod/autoresearch from main, so rebuilding the same release later can silently pull different code (or fail if upstream main breaks), making image tags non-reproducible. For release images, use a fixed tag or commit SHA (and set it from bake args) to keep builds deterministic.
Useful? React with 👍 / 👎.
The runpod/autoresearch repo uses master as its default branch, not main. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add base template paths to the autoresearch change detector so the image rebuilds when its base layer is updated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
runpod/basewith CUDA 12.8.1 for Ubuntu 22.04 and 24.04build-autoresearchCI job to the existing workflowFiles added
official-templates/autoresearch/Dockerfile— clones repo, runsuv sync+uv run prepare.pyofficial-templates/autoresearch/docker-bake.hcl— matrix build configofficial-templates/autoresearch/README.md— Docker Hub docs.github/workflows/base.yml— added autoresearch build jobTest plan
./bake.sh autoresearch --loadbuilds successfully/workspace/autoresearch/contains the repo with deps installeduv run train.pystarts training on a GPU podrunpod/autoresearch:1.0.2-cuda1281-ubuntu2204🤖 Generated with Claude Code