File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,15 @@ install_pip_dependencies() {
44
44
}
45
45
46
46
fix_conda_ubuntu_libstdcxx () {
47
+ cat /etc/issue
47
48
# WARNING: This is a HACK from PyTorch core to be able to build PyTorch on 22.04.
48
- # The issue still exists with the latest conda 23.10.0-1 at the time of writing
49
- # (2023/11/16).
49
+ # Specifically, ubuntu-20+ all comes lib libstdc++ newer than 3.30+, but anaconda
50
+ # is stuck with 3.29. So, remove libstdc++6.so.3.29 as installed by
51
+ # https://anaconda.org/anaconda/libstdcxx-ng/files?version=11.2.0
50
52
#
51
53
# PyTorch sev: https://github.com/pytorch/pytorch/issues/105248
52
54
# Ref: https://github.com/pytorch/pytorch/blob/main/.ci/docker/common/install_conda.sh
53
- if grep -e " [12][82] .04.[623 ]" /etc/issue > /dev/null; then
55
+ if grep -e " 2[02] .04.[5623 ]" /etc/issue > /dev/null; then
54
56
rm " /opt/conda/envs/py_${PYTHON_VERSION} /lib/libstdc++.so.6"
55
57
fi
56
58
}
You can’t perform that action at this time.
0 commit comments