File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 2121 rev : v0.7.1
2222 hooks :
2323 - id : ruff
24- files : ' (^python|^third_party/proton)/.*'
24+ files : ' (^python|^third_party/proton|^third_party/amd )/.*'
2525 args : ["--fix", "--exit-non-zero-on-fix"]
2626 exclude : |
2727 (?x)(
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class DlPhdrInfo(ctypes.Structure):
3737 # Load libc and get the dl_iterate_phdr symbol.
3838 try :
3939 dl_iterate_phdr = ctypes .CDLL ('libc.so.6' ).dl_iterate_phdr
40- except :
40+ except Exception :
4141 return None
4242 # argtypes must use c_char_p to accept create_string_buffer.
4343 dl_iterate_phdr .argtypes = [callback_t , c_char_p ]
Original file line number Diff line number Diff line change 1- import tempfile
2-
3- import numpy as np
41import pytest
52import torch
63
74import triton
8- import triton .language as tl
95
106from triton ._internal_testing import is_hip
117
You can’t perform that action at this time.
0 commit comments