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 32862a4 commit 27e059cCopy full SHA for 27e059c
release/pypi/prep_binary_for_pypi.sh
@@ -56,7 +56,7 @@ for whl_file in "$@"; do
56
if [[ $whl_file == *"with.pypi.cudnn"* ]]; then
57
rm -rf "${whl_dir}/caffe2"
58
rm -rf "${whl_dir}"/torch/lib/libnvrtc*
59
- find "${whl_dir}/torch/include/caffe2" -maxdepth 1 -type d|grep -v serialize|xargs rm -rf
+ find "${whl_dir}/torch/include/caffe2" -maxdepth 1 -mindepth 1 -type d|grep -v serialize|xargs rm -rf
60
sed -i -e "/^Requires-Dist: nvidia-cublas-cu11 (==11.10.3.66).*/a Requires-Dist: nvidia-cuda-nvrtc-cu11 (==11.7.99)" "${whl_dir}"/*/METADATA
61
62
sed -i -e "s/-with-pypi-cudnn//g" "${whl_dir}/torch/version.py"
0 commit comments