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 67a37ab commit 65218d4Copy full SHA for 65218d4
check_binary.sh
@@ -310,6 +310,16 @@ else
310
popd
311
fi
312
313
+###############################################################################
314
+# Check torch.git_version
315
316
+if [[ "$PACKAGE_TYPE" != 'libtorch' ]]; then
317
+ pushd /tmp
318
+ python -c 'import torch; assert torch.version.git_version != "Unknown"'
319
+ python -c 'import torch; assert torch.version.git_version != None'
320
+ popd
321
+fi
322
+
323
324
###############################################################################
325
# Check for MKL
0 commit comments