8000 Change /usr/local/lib/python3.12/dist-packages/torch/_inductor/bin/ptxas · pytorch/pytorch@1a3aea4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a3aea4

Browse files
committed
Change /usr/local/lib/python3.12/dist-packages/torch/_inductor/bin/ptxas
to /usr/local/lib/python3.12/dist-packages/torch/bin/ptxas
1 parent 325768a commit 1a3aea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_inductor/runtime/compile_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _reload_python_module(
4040
def _set_triton_ptxas_path() -> None:
4141
if os.environ.get("TRITON_PTXAS_PATH") is not None:
4242
return
43-
ptxas = Path(__file__).absolute().parents[1] / "bin" / "ptxas"
43+
ptxas = Path(__file__).absolute().parents[2] / "bin" / "ptxas"
4444
if not ptxas.exists():
4545
return
4646
if ptxas.is_file() and os.access(ptxas, os.X_OK):

0 commit comments

Comments
 (0)
0