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 becce74 commit 0ff3a81Copy full SHA for 0ff3a81
.ci/scripts/utils.sh
@@ -50,8 +50,10 @@ dedupe_macos_loader_path_rpaths() {
50
fi
51
52
local torch_lib_dir
53
+ pushd ..
54
torch_lib_dir=$(python -c "import importlib.util; print(importlib.util.find_spec('torch').submodule_search_locations[0])")/lib
-
55
+ popd
56
+
57
if [[ -z "${torch_lib_dir}" || ! -d "${torch_lib_dir}" ]]; then
58
return
59
0 commit comments