Deep-Learning-Profiling-Tools / triton-viz

MIT License
152 stars 13 forks source link

TypeError: GridExecutor._init_args_hst() takes 2 positional arguments but 3 were given #48

Closed shatz001 closed 5 hours ago

shatz001 commented 5 hours ago

I get this error when running all the cells in Introduction

TypeError: GridExecutor._init_args_hst() takes 2 positional arguments but 3 were given

mark14wu commented 5 hours ago

Could you please provide the filename of which you are running? Like are you running the jupyter notebook or the examples?

shatz001 commented 5 hours ago

Oh sorry, I thought this was the srush/triton puzzles repo! My bad. Im getting the error in the colab notebook

Screenshot 2024-11-17 at 8 13 02 PM
shatz001 commented 5 hours ago

In this notebook: https://github.com/srush/Triton-Puzzles/blob/main/Triton-Puzzles.ipynb

mark14wu commented 5 hours ago

Thanks. Let me take a look.

shatz001 commented 5 hours ago

Seems like there is a solution here: https://github.com/srush/Triton-Puzzles/issues/24 Ill try to install triton 3.1.0

shatz001 commented 5 hours ago

Yep so commenting out : !mv triton-3.0.0*.whl triton-3.0.0-cp310-cp310-linux_x86_64.whl !pip install triton-3.0.0-cp310-cp310-linux_x86_64.whl

And instead doing: !apt-get install libcairo2-dev !pip install pycairo !pip install git+https://github.com/Deep-Learning-Profiling-Tools/triton-viz.git !pip install triton==3.1.0

Fixes issue :)

mark14wu commented 4 hours ago

There's a fix to this issue: https://github.com/srush/Triton-Puzzles/pull/25