[refactor] Move trtllm_fp8_kv_kernel to triton_ops directory (#15044)
This commit is contained in:
@@ -15,7 +15,9 @@ from sglang.srt.layers.attention.flashinfer_backend import (
|
|||||||
FlashInferAttnBackend,
|
FlashInferAttnBackend,
|
||||||
FlashInferMultiStepDraftBackend,
|
FlashInferMultiStepDraftBackend,
|
||||||
)
|
)
|
||||||
from sglang.srt.layers.attention.trtllm_fp8_kv_kernel import fused_fp8_set_kv_buffer
|
from sglang.srt.layers.attention.triton_ops.trtllm_fp8_kv_kernel import (
|
||||||
|
fused_fp8_set_kv_buffer,
|
||||||
|
)
|
||||||
from sglang.srt.model_executor.forward_batch_info import ForwardBatch, ForwardMode
|
from sglang.srt.model_executor.forward_batch_info import ForwardBatch, ForwardMode
|
||||||
from sglang.srt.utils import is_flashinfer_available
|
from sglang.srt.utils import is_flashinfer_available
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,9 @@ import unittest
|
|||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
from sglang.srt.layers.attention.trtllm_fp8_kv_kernel import fused_fp8_set_kv_buffer
|
from sglang.srt.layers.attention.triton_ops.trtllm_fp8_kv_kernel import (
|
||||||
|
fused_fp8_set_kv_buffer,
|
||||||
|
)
|
||||||
from sglang.test.test_utils import CustomTestCase
|
from sglang.test.test_utils import CustomTestCase
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user