Skip to content

Commit 3666738

Browse files
superbobryThe jax_triton Authors
authored and
The jax_triton Authors
committed
Temporarily disabled debug mode in ir.pass_manager.
PiperOrigin-RevId: 606958579
1 parent 6effbb5 commit 3666738

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jax_triton/triton_lib.py

+7
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ def aval_size_bytes(aval):
153153
return np.dtype(aval.dtype).itemsize * aval.size
154154

155155

156+
# Triton unconditionally enables debug mode in all of its stages. Ideally,
157+
# this should be controlled by cb.CUDAOptions.debug, but for simplicity we
158+
# disable debug mode entirely until https://github.com/openai/triton/pull/3127
159+
# is merged.
160+
tl_ir.pass_manager.enable_debug = lambda self: None
161+
162+
156163
def compile_ttir_to_ptx_inplace(
157164
ttir,
158165
cuda_backend: cb.CUDABackend,

0 commit comments

Comments
 (0)