Skip to content

Conversation

@seemethere
Copy link

This import was failing when I was attempting to run tests so let's just add a try / except to ensure that this is backwards compatible and we can clean this up after the full vllm_kernels PR lands.

This relates to vllm-project/vllm#17419

@seemethere
Copy link
Author

cc @LucasWilkinson for review

Copy link
Collaborator

@LucasWilkinson LucasWilkinson left a comment

Choose a reason for hiding this comment

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

would a relative import work here?
i.e. from ..ops.triton.rotary import apply_rotary

@seemethere
Copy link
Author

would a relative import work here? i.e. from ..ops.triton.rotary import apply_rotary

Let me try this really quick

This import was failing when I was attempting to run tests so let's just
use relative imports instead of full package imports

Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
@seemethere seemethere force-pushed the seemethere/vllm_kernels branch from 8e63f13 to ac67b26 Compare June 23, 2025 21:23
@seemethere
Copy link
Author

would a relative import work here? i.e. from ..ops.triton.rotary import apply_rotary

Let me try this really quick

Okay this appears to work just fine.

@LucasWilkinson LucasWilkinson merged commit 5f36441 into vllm-project:main Jun 23, 2025
1 check passed
@seemethere seemethere deleted the seemethere/vllm_kernels branch June 24, 2025 16:44
zyongye pushed a commit to zyongye/flash-attention that referenced this pull request Aug 7, 2025
This import was failing when I was attempting to run tests so let's just
use relative imports instead of full package imports

Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
LucasWilkinson pushed a commit that referenced this pull request Aug 7, 2025
This import was failing when I was attempting to run tests so let's just
use relative imports instead of full package imports

Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
jayhshah pushed a commit that referenced this pull request Aug 8, 2025
This import was failing when I was attempting to run tests so let's just
use relative imports instead of full package imports

Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
Signed-off-by: Jay Shah <jayhshah@gmail.com>
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