hamishivi's picture
Document retired SIF cache and support rebuilding images locally
82d6678 verified
|
Raw History Blame Contribute Delete
2.99 kB

Terminal-Lego-15k: retained Apptainer build records

Training data and task archives for all 15,048 tasks are in hamishivi/agent-task-terminal-lego-15k. This repository retains the complete historical Apptainer manifest and per-image build records after retiring the hosted image cache.

Hosted Apptainer pool retired

The hosted SIF image pools in both hamishivi/agent-task-terminal-lego-15k and TMaxxx/agent-task-terminal-lego-15k were removed on 2026-10-19 to reduce storage. Task data, verifiers, source build contexts, and build records remain available. Existing Docker Hub images are unaffected; environments without registry images require a local build.

apptainer/manifest.jsonl and the per-image JSON records are retained unchanged as historical provenance. Their status, hf_path, hf_repo, revision, and commit fields describe the former pool; they do not provide active SIF downloads. Historical SIF download URLs are retired too. task-manifest.json and image-build-status.json retain their publication-time image status values. The legacy downloader now explains how to build locally.

Build images locally

Download task-data.tar.gz, task-manifest.json, and build_dataset_images.py from hamishivi/agent-task-terminal-lego-15k. Docker Buildx is required. --load builds into local Docker without pushing or requiring a Docker Hub login:

mkdir -p tasks
tar -xzf task-data.tar.gz -C tasks
python build_dataset_images.py --task-data-dir tasks --manifest task-manifest.json --load --workers 1 --timeout 1800

The script targets Linux AMD64, saves per-image logs, and can resume unfinished builds. It builds from the retained source Dockerfiles. The full historical apptainer/manifest.jsonl records build provenance and 24 compatibility repairs under context_repair; consult those records when an older Dockerfile needs adaptation to current package repositories. Those repairs are not automatically applied by the builder. Locally rebuilt images are not guaranteed to match the retired SIF checksums.

To create a tmax-compatible SIF after building an image, select its image and sif_name from the historical Apptainer manifest, then run on a Linux host with Docker and Apptainer:

# Set IMAGE and SIF_NAME to the matching manifest values first.
mkdir -p sifs
docker save "$IMAGE" -o image.tar
apptainer build "./sifs/$SIF_NAME" "docker-archive://$PWD/image.tar"
export SWERL_APPTAINER_SIF_DIR="$PWD/sifs"

Omit --load to retain the original registry-push workflow, which requires Docker Hub write access to the image namespace. To change that namespace, update image references consistently in the manifest, training records, and task image.txt files.