Skip to content

Triton Puzzle was broken (by a recent change?) #33

Closed
@Matagi1996

Description

@Matagi1996

When trying a colab notebook here:
https://colab.research.google.com/github/srush/Triton-Puzzles/blob/main/Triton-Puzzles.ipynb#scrollTo=_981RFRp4Avz

I got a early error with regards to kwargs not beeing passed while following the notebook:
TypeError Traceback (most recent call last)
in <cell line: 11>()
9 print(x)
10
---> 11 triton_viz.trace(demo)[(1, 1, 1)](torch.ones(4, 4))
12 triton_viz.launch()

3 frames
/usr/local/lib/python3.10/dist-packages/triton_viz/interpreter.py in _grid_executor_call(self, *args_dev, **kwargs)
135
136 def _grid_executor_call(self, *args_dev, **kwargs):
--> 137 args_hst = self._init_args_hst(args_dev)
138 # Removes reserved keywords from kwargs
139 kwargs = {k: v for k, v in kwargs.items() if k not in RESERVED_KWS}

TypeError: GridExecutor._init_args_hst() missing 1 required positional argument: 'kwargs'

I noticed that the file recently changed but see no apparent cause of the bug, so maybe the colab notebook is at fault here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions