We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 663f127 commit da2fbbcCopy full SHA for da2fbbc
.github/workflows/pytorch-version-tests.yml
@@ -74,8 +74,7 @@ jobs:
74
# Patch setuptools for old PyTorch versions
75
version=$(python -c "import torch; print('.'.join(torch.__version__.split('.')[:2]))")
76
if [[ "$version" == "1.9" || "$version" == "1.10" ]]; then
77
- pip install "setuptools<59"
78
- python -c "from setuptools import distutils; distutils.version.LooseVersion"
+ pip install "setuptools<59" "distutils==0.3"
79
fi
80
81
- name: Download MNIST
0 commit comments