File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 10
10
import torch
11
11
import triton
12
12
import triton .language as tl
13
+
13
14
import tritonparse .structured_logging
14
15
import tritonparse .utils
15
16
Original file line number Diff line number Diff line change 17
17
import torch
18
18
import triton
19
19
import triton .language as tl
20
- import tritonparse .structured_logging
21
- import tritonparse .utils
22
20
from triton .compiler import ASTSource , IRSource
23
21
from triton .knobs import CompileTimes
24
22
23
+ import tritonparse .structured_logging
24
+ import tritonparse .utils
25
25
from tritonparse .structured_logging import convert , extract_python_source_info
26
26
27
27
@@ -85,9 +85,9 @@ def setUp(self):
85
85
# Check if CUDA is available
86
86
if not torch .cuda .is_available ():
87
87
self .skipTest ("CUDA not available" )
88
-
88
+
89
89
self .cuda_device = torch .device ("cuda:0" )
90
-
90
+
91
91
# Save original settings
92
92
self .prev_listener = triton .knobs .compilation .listener
93
93
self .prev_always_compile = triton .knobs .compilation .always_compile
@@ -223,5 +223,5 @@ def run_test_kernel(x):
223
223
shutil .rmtree (temp_dir )
224
224
225
225
226
- if __name__ == ' __main__' :
226
+ if __name__ == " __main__" :
227
227
unittest .main ()
You can’t perform that action at this time.
0 commit comments