From c870270097521e4092cc921a0abe9403eb80dbe4 Mon Sep 17 00:00:00 2001 From: Adam Nowak <74208510+youngdashu@users.noreply.github.com> Date: Sun, 17 May 2026 18:49:40 +0200 Subject: [PATCH 1/3] Add Test.txt with initial content --- Test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 Test.txt diff --git a/Test.txt b/Test.txt new file mode 100644 index 0000000..9daeafb --- /dev/null +++ b/Test.txt @@ -0,0 +1 @@ +test From dcabb5710199dd9b9464f1f5ba009bb36958572b Mon Sep 17 00:00:00 2001 From: Adam Nowak Date: Sun, 17 May 2026 21:53:39 +0200 Subject: [PATCH 2/3] test 2 --- .github/workflows/ci.yml | 10 +++++++--- Test.txt | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89df162..97417b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: run: | # Create a hash from the environment file and PyTorch CPU install string ENV_HASH=$(sha256sum toolbox_env_conda.yml | cut -d' ' -f1) - PYTORCH_SPEC="pytorch-cpuonly" + PYTORCH_SPEC="pip-torch-cpu-whl" CACHE_KEY="micromamba-${{ runner.os }}-${ENV_HASH}-${PYTORCH_SPEC}" echo "key=${CACHE_KEY}" >> $GITHUB_OUTPUT @@ -54,8 +54,12 @@ jobs: - name: Install CPU-only PyTorch and dependencies if: steps.cache-restore.outputs.cache-hit != 'true' run: | - ~/micromamba-bin/micromamba install -n tbe -y pytorch cpuonly -c pytorch -c conda-forge - pip install esm + # Avoid a second micromamba/libmamba solve mixing pytorch + conda-forge on an + # already-large env (can abort with libsolv solver_addrule assertion, exit 134). + # CPU wheels from PyTorch are the usual CI approach. + ~/micromamba-bin/micromamba run -n tbe python -m pip install --upgrade pip + ~/micromamba-bin/micromamba run -n tbe python -m pip install torch --index-url https://download.pytorch.org/whl/cpu + ~/micromamba-bin/micromamba run -n tbe python -m pip install esm - name: Save micromamba environment cache if: steps.cache-restore.outputs.cache-hit != 'true' diff --git a/Test.txt b/Test.txt index 9daeafb..02acdd2 100644 --- a/Test.txt +++ b/Test.txt @@ -1 +1,2 @@ test +2 \ No newline at end of file From 39de52760fa29ed22703e0fc10221f0c379abefc Mon Sep 17 00:00:00 2001 From: Adam Nowak Date: Sun, 17 May 2026 22:09:42 +0200 Subject: [PATCH 3/3] 3 --- .github/workflows/ci.yml | 8 +++++--- Test.txt | 2 -- 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 Test.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97417b8..307986d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: run: | # Create a hash from the environment file and PyTorch CPU install string ENV_HASH=$(sha256sum toolbox_env_conda.yml | cut -d' ' -f1) - PYTORCH_SPEC="pip-torch-cpu-whl" + PYTORCH_SPEC="pip-torch-torchvision-cpu-whl" CACHE_KEY="micromamba-${{ runner.os }}-${ENV_HASH}-${PYTORCH_SPEC}" echo "key=${CACHE_KEY}" >> $GITHUB_OUTPUT @@ -56,9 +56,11 @@ jobs: run: | # Avoid a second micromamba/libmamba solve mixing pytorch + conda-forge on an # already-large env (can abort with libsolv solver_addrule assertion, exit 134). - # CPU wheels from PyTorch are the usual CI approach. + # CPU wheels from PyTorch are the usual CI approach. Install torchvision from the + # same index as torch so C++/dispatch ops (e.g. torchvision::nms) match conda-forge + # transformers alone pulls torchvision that can mismatch a pip-only torch build. ~/micromamba-bin/micromamba run -n tbe python -m pip install --upgrade pip - ~/micromamba-bin/micromamba run -n tbe python -m pip install torch --index-url https://download.pytorch.org/whl/cpu + ~/micromamba-bin/micromamba run -n tbe python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu ~/micromamba-bin/micromamba run -n tbe python -m pip install esm - name: Save micromamba environment cache diff --git a/Test.txt b/Test.txt deleted file mode 100644 index 02acdd2..0000000 --- a/Test.txt +++ /dev/null @@ -1,2 +0,0 @@ -test -2 \ No newline at end of file