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 80b03f6 commit 66cf0aaCopy full SHA for 66cf0aa
update-pytorch.sh
@@ -55,6 +55,17 @@ function checkCount() {
55
# update main PyTorch index, that contains everything, whatever the compute platform
56
updateIndex "whl"
57
58
+# see resulting updates
59
+git update-index -q --refresh
60
+git diff-index --name-status HEAD
61
+
62
+if `git diff-index --quiet HEAD`
63
+then
64
+ echo "no update found in PyTorch main index."
65
+ exit 0
66
+fi
67
+echo "updates found in PyTorch main index: updating also compute platform specific ones..."
68
69
# update compute-platform specific indexes
70
# ignore old non-updated ones:
71
# - cu75 cu80 cu90 cu91 cu92 cu100 cu101 cu102 cu110 cu111 cu113 cu115 cu116 cu117 cu117_pypi_cudnn
0 commit comments