Skip to content

Commit 8e6418b

Browse files
seemethereLucasWilkinson
authored andcommitted
vllm_flash_attn: Setup for vllm_kernels package (#71)
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>
1 parent 2733401 commit 8e6418b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm_flash_attn/layers/rotary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import torch
99
from einops import rearrange, repeat
10-
from vllm.vllm_flash_attn.ops.triton.rotary import apply_rotary # modified from original
10+
from ..ops.triton.rotary import apply_rotary # modified from original
1111

1212

1313
def rotate_half(x, interleaved=False):

0 commit comments

Comments
 (0)