From 22808b3abf6b59819c6cd470b8a315d7ab053d47 Mon Sep 17 00:00:00 2001 From: "Nick J. Browning" Date: Fri, 1 Nov 2024 19:23:19 +0100 Subject: [PATCH] debug --- .github/workflows/build-torch-wheels.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-torch-wheels.yml b/.github/workflows/build-torch-wheels.yml index 95f0eacb..1b945a27 100644 --- a/.github/workflows/build-torch-wheels.yml +++ b/.github/workflows/build-torch-wheels.yml @@ -76,6 +76,16 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_LINUX: | auditwheel repair --exclude libmetatensor.so --exclude libtorch.so --exclude libtorch_cpu.so --exclude libc10.so -w {dest_dir} {wheel} + - name: Configure PyTorch + run: | + pip install torch==${{ matrix.torch-version }}.* + env: + PIP_INDEX_URL: https://download.pytorch.org/whl/cu124 + + - name: Install remaining dependencies from pyproject.toml + run: | + pip install . --no-deps + - name: Build sphericart-torch wheels run: | # ensure we build the wheel from the sdist, not the checkout @@ -95,7 +105,6 @@ jobs: TORCH_CUDA_ARCH_LIST=All CUDAARCHS=all SPHERICART_TORCH_BUILD_WITH_TORCH_VERSION=${{ matrix.torch-version }}.* - PIP_INDEX_URL=https://download.pytorch.org/whl/cu124 CIBW_REPAIR_WHEEL_COMMAND_LINUX: | auditwheel repair --exclude libtorch.so --exclude libtorch_cpu.so --exclude libtorch_cuda.so --exclude libc10.so --exclude libc10_cuda.so -w {dest_dir} {wheel}