Update tests.yml to use reusable conda test suite workflow from branch
77530f9
22 days ago
by jezdez
+0.44%
Fix linux-qemu job: make requirements files optional
The conda-libmamba-solver repo doesn't have requirements-Linux.txt or
requirements-ci.txt files. Make these optional by checking if they exist
before including them in the conda create command.
This allows the linux-qemu job to work in conda-libmamba-solver where
only tests/requirements.txt exists.
cbfb345
20 days ago
by jezdez
+0.08%
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
ee321e3
18 days ago
by pre-commit-ci[bot]
-0.08%
Fix test_gpu_cpu_mutexes: handle pytorch 1.12 cudatoolkit limitation
The test was failing because pytorch 1.12 still installs cudatoolkit
even with cpuonly specified, due to package metadata constraints.
This is a known limitation with older pytorch versions.
Update the test to:
- Track if cudatoolkit is found instead of immediately failing
- Use pytest.xfail to mark as expected failure for pytorch 1.12
- Update comments to clarify this is a known limitation with older versions
- Keep the test to catch when this gets fixed