Skip to content
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

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

Closed
shatz001 opened this issue Nov 18, 2024 · 7 comments

Comments

@shatz001
Copy link

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
Copy link
Collaborator

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

@shatz001
Copy link
Author

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
Copy link
Author

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

@mark14wu
Copy link
Collaborator

Thanks. Let me take a look.

@shatz001
Copy link
Author

Seems like there is a solution here: srush/Triton-Puzzles#24
Ill try to install triton 3.1.0

@shatz001
Copy link
Author

shatz001 commented Nov 18, 2024

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
Copy link
Collaborator

There's a fix to this issue: srush/Triton-Puzzles#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants