Skip to content

Commit 0ff3a81

Browse files
committed
Fix
1 parent becce74 commit 0ff3a81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.ci/scripts/utils.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ dedupe_macos_loader_path_rpaths() {
5050
fi
5151

5252
local torch_lib_dir
53+
pushd ..
5354
torch_lib_dir=$(python -c "import importlib.util; print(importlib.util.find_spec('torch').submodule_search_locations[0])")/lib
54-
55+
popd
56+
5557
if [[ -z "${torch_lib_dir}" || ! -d "${torch_lib_dir}" ]]; then
5658
return
5759
fi

0 commit comments

Comments
 (0)