Skip to content

refactor: move triton dependency to flashinfer.triton #918

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

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Mar 6, 2025

Some platforms do not support triton but user still need other functionlities (e.g. JIT) in flashinfer, this PR moves triton dependency to flashinfer.triton and defer the import so that user can still use flashinfer without installing triton.

cc @MasterJH5574

@yzh119 yzh119 requested a review from MasterJH5574 March 6, 2025 23:07
Copy link
Collaborator

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@MasterJH5574 MasterJH5574 merged commit d835e6f into main Mar 6, 2025
@MasterJH5574 MasterJH5574 deleted the remove-triton-dep branch March 13, 2025 14:09
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

Successfully merging this pull request may close these issues.

2 participants