From 8539ec3a85b24dd593be5bd36476d381c80fb077 Mon Sep 17 00:00:00 2001 From: mathias Date: Mon, 29 Jun 2026 19:14:51 +0000 Subject: [PATCH] fix(ci): install torch from cu130 index in venv step train.py imports torch but the venv step only installed requirements.txt, which deliberately excludes torch (must come from the cu130 wheel index for koala's Blackwell sm_120, per the requirements.txt header). Baseline run died with ModuleNotFoundError: No module named 'torch'. Add the documented install. --- .gitea/workflows/autoresearch.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/autoresearch.yml b/.gitea/workflows/autoresearch.yml index bbab44d..dc00452 100644 --- a/.gitea/workflows/autoresearch.yml +++ b/.gitea/workflows/autoresearch.yml @@ -42,6 +42,9 @@ jobs: - name: Set up Python venv run: | [ -d .venv ] || python3 -m venv .venv + # torch must come from the cu130 wheel index (koala Blackwell sm_120); + # requirements.txt deliberately excludes it. Install it first. + .venv/bin/pip install -q torch --index-url https://download.pytorch.org/whl/cu130 .venv/bin/pip install -q -r requirements.txt - name: Scaffold run dir