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

cannot import name 'JITFunction' from 'triton' (unknown location) #30

Open
JinA0218 opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@JinA0218
Copy link

JinA0218 commented Jul 22, 2024

Hi, I'm currently trying to run python vec_add.py but it gives the following error

ImportError: cannot import name 'JITFunction' from 'triton' (unknown location)

I've followed all the requirements written in the Readme, and I'm using triton version 3.0.0.

Is there any other factor that I should consider?
Should I install triton from source as written in #25 ?
Thanks in advance.

@Jokeren
Copy link
Member

Jokeren commented Jul 22, 2024

Yes. Please install triton from source for now.

@tejas3070 Please take some time to resolve build issues when you have time.

There are mainly two:

  1. "chalk-diagrams @ git+https://github.com/chalk-diagrams/chalk.git" in setup.py is not compatible with pep517.
  2. We need to specify a specific triton commit in our dependency.

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