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

bugfix: Another bugfix for torch.library #828

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Feb 13, 2025

Followup of #823 , we should import from .. import flashinfer_kernels, flashinfer_kernels_sm90 instead of from .. import _kernels, _kernels_sm90, otherwise we will be using JIT compilation all the time.

Also add some logic to catch "undefined symbol" errors in case the AOT wheel compilation is successful but failed to be loaded.

@yzh119 yzh119 merged commit 770126f into main Feb 13, 2025
@yzh119
Copy link
Collaborator Author

yzh119 commented Feb 13, 2025

@youkaichao @abmfy

@zhyncs zhyncs deleted the another-bugfix-torch-library branch February 13, 2025 22:26
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.

1 participant