We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6570b9 commit 16a051dCopy full SHA for 16a051d
.github/workflows/pytorch-version-tests.yml
@@ -103,8 +103,8 @@ jobs:
103
# which raises the error: AttributeError: module 'distutils' has no attribute 'version' for setuptools>59
104
bad_pth_version=$(python -c "import torch; print('.'.join(torch.__version__.split('.')[:2]) in ['1.9', '1.10'])")
105
if [ "${bad_pth_version}" == "True" ]; then
106
- uv pip install --upgrade "setuptools<59"
107
- uv run python -c "from setuptools import distutils; distutils.version.LooseVersion"
+ uv pip install "setuptools<59"
+ python -c "from setuptools import distutils; distutils.version.LooseVersion"
108
fi
109
110
- name: Download MNIST
0 commit comments