Skip to content

Conversation

@yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Dec 30, 2024

We observe performance degradation for small operations in flashinfer v0.2 because of the overhead of torch.library.custom_op introduced in #554.
This PR disables torch custom operator registrations first, we can add them back with lightweight registration later: https://github.com/vllm-project/vllm/blob/36e76700453924c8d421db99af70a88a1df835cd/vllm/utils.py#L1660-L1674

cc @zhyncs @abcdabcd987 @youkaichao

@yzh119 yzh119 merged commit ccd3be9 into main Dec 30, 2024
@yzh119 yzh119 deleted the revert-torch-custom-op-register branch January 1, 2025 01:29
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