You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: CUDA_TILE_ENABLE_CRASH_DUMP=1 does not work on latest cutile #92
This is the error I see when running with CUDA_TILE_ENABLE_CRASH_DUMP=1:
Traceback (most recent call last):
File "/home/compiler-tile-ir/sanjoyd/workspace/cutile-mega-kernel/bugs/repro_tileiras_tm256_tf128_th256_numctas1.py", line 214, in <module>
main()
File "/home/compiler-tile-ir/sanjoyd/workspace/cutile-mega-kernel/bugs/repro_tileiras_tm256_tf128_th256_numctas1.py", line 203, in main
ct.launch(
File "/home/compiler-tile-ir/sanjoyd/workspace/cutile-mega-kernel/.venv/lib/python3.12/site-packages/cuda/tile/_execution.py", line 127, in _compile
result = compile_tile(self._annotated_function, (signature,),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/compiler-tile-ir/sanjoyd/workspace/cutile-mega-kernel/.venv/lib/python3.12/site-packages/cuda/tile/_compile.py", line 91, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/compiler-tile-ir/sanjoyd/workspace/cutile-mega-kernel/.venv/lib/python3.12/site-packages/cuda/tile/_compile.py", line 556, in compile_tile
_compiler_crash_dump(ir_keeper.final_ir, func_desc.name,
File "/home/compiler-tile-ir/sanjoyd/workspace/cutile-mega-kernel/.venv/lib/python3.12/site-packages/cuda/tile/_compile.py", line 335, in _compiler_crash_dump
artifacts[f"{func_name}.{i}.cutileir"] = f"{func_ir.body.to_string(include_loc=False)}\n"
^^^^^^^^^^^^
AttributeError: 'Block' object has no attribute 'body'
I suspect the line just needs to be func_ir.to_string.
Minimum reproducible example
Relevant log output
Full env printout
Other/Misc.
No response
Contributing Guidelines
I agree to follow cuTile Python's contributing guidelines
I have searched the open bugs and have found no duplicates for this bug report
Activity
xiaoqiqi177 commentedon Aug 10, 2026
The fix is in main.