-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triton Puzzle was broken (by a recent change?) #33
Comments
@mark14wu Please fix |
It is an update from triton: triton-lang/triton#3777 |
By looking at the problem again, I think triton-viz/main should have fixed it already. Maybe there's a mismatch between the triton wheel you're using and what the puzzle is using |
That's true. The puzzle is using v1 of triton-viz. |
I built off main , and still ran into the same issue . What am i doing wrong ? %pip install git+https://github.com/Deep-Learning-Profiling-Tools/triton-viz.git@main |
I've offloaded this problem to @mark14wu |
Let me have a look. |
I solve this by restarting the notebook, then |
I tried several settings. |
In the colab notebook, you can try |
Thanks. Please pin Sasha when you create a PR and cc me |
This is because while pip installing |
Maybe we should make a release like v1.1 and change the link to pip install git+https://github.com/Deep-Learning-Profiling-Tools/[email protected] |
Agreed. |
I've granted you write access, so I suppose you should be able to publish a release |
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.
The text was updated successfully, but these errors were encountered: