We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbfa627 commit 6fedb78Copy full SHA for 6fedb78
1 file changed
third_party/amd/backend/driver.py
@@ -81,6 +81,12 @@ def _get_path_to_hip_runtime_dylib():
81
82
paths = []
83
84
+ # Check backend
85
+ local_lib = os.path.join(os.path.dirname(__file__), "lib", lib_name)
86
+ if os.path.exists(local_lib):
87
+ return local_lib
88
+ paths.append(local_lib)
89
+
90
import site
91
# First search the HIP runtime dynamic library packaged with PyTorch. It's very likely
92
# that we run Triton together with PyTorch. This makes sure we use the same dynamic
0 commit comments