Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Akshat Tripathi <[email protected]>
  • Loading branch information
Akshat-Tripathi committed Dec 12, 2024
1 parent 82919bc commit 49f6b12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/lora/test_punica_variation.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

# Enable custom op register if we're using custom ops
if HAS_TRITON:
import vllm.lora.ops.triton.bgmv_expand
import vllm.lora.ops.triton.bgmv_expand_slice
import vllm.lora.ops.triton.bgmv_shrink
import vllm.lora.ops.triton.sgmv_expand
import vllm.lora.ops.triton.sgmv_expand_slice
import vllm.lora.ops.triton.sgmv_shrink # noqa: F401
import vllm.lora.ops.triton_ops.bgmv_expand
import vllm.lora.ops.triton_ops.bgmv_expand_slice
import vllm.lora.ops.triton_ops.bgmv_shrink
import vllm.lora.ops.triton_ops.sgmv_expand
import vllm.lora.ops.triton_ops.sgmv_expand_slice
import vllm.lora.ops.triton_ops.sgmv_shrink # noqa: F401

# Unlike test_punica_sizes.py, we directly utilize custom op for
# testing, which verifies the correct registration of these ops.
Expand All @@ -26,7 +26,7 @@
sgmv_expand_slice = torch.ops.vllm.sgmv_expand_slice
sgmv_shrink = torch.ops.vllm.sgmv_shrink
else:
from vllm.lora.ops.default.lora_ops import ( # type: ignore
from vllm.lora.ops.torch_ops.lora_ops import ( # type: ignore
bgmv_expand, bgmv_expand_slice, bgmv_shrink, sgmv_expand,
sgmv_expand_slice, sgmv_shrink)

Expand Down

0 comments on commit 49f6b12

Please sign in to comment.