Skip to content

Commit

Permalink
[pytorch] Ensure shared library loading order for aarch64 (#2892)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu committed Apr 26, 2024
1 parent 66a106a commit 1a47bea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ private static void loadLibTorch(LibTorch libTorch) {
&& name.contains("cudart")
&& name.contains("nvTools")) {
return false;
} else if (name.startsWith("libarm_compute-")) {
} else if (name.startsWith("libarm_compute-")
|| name.startsWith("libopenblasp")) {
rank.put(path, 2);
return true;
} else if (name.startsWith("libarm_compute_")) {
Expand Down

0 comments on commit 1a47bea

Please sign in to comment.