mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-16 06:15:02 +08:00
[Refactor] Rename commnication utils (#20091)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
04e1642e32
commit
562308816c
@ -22,7 +22,7 @@ from vllm.model_executor.layers.quantization.utils.fp8_utils import (
|
|||||||
per_token_group_quant_fp8)
|
per_token_group_quant_fp8)
|
||||||
from vllm.platforms import current_platform
|
from vllm.platforms import current_platform
|
||||||
|
|
||||||
from .deepep_utils import ProcessGroupInfo, parallel_launch
|
from .utils import ProcessGroupInfo, parallel_launch
|
||||||
|
|
||||||
has_deep_ep = importlib.util.find_spec("deep_ep") is not None
|
has_deep_ep = importlib.util.find_spec("deep_ep") is not None
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ from vllm.model_executor.layers.quantization.utils.fp8_utils import (
|
|||||||
per_token_group_quant_fp8)
|
per_token_group_quant_fp8)
|
||||||
from vllm.platforms import current_platform
|
from vllm.platforms import current_platform
|
||||||
|
|
||||||
from .deepep_utils import ProcessGroupInfo, parallel_launch
|
from .utils import ProcessGroupInfo, parallel_launch
|
||||||
|
|
||||||
has_deep_ep = importlib.util.find_spec("deep_ep") is not None
|
has_deep_ep = importlib.util.find_spec("deep_ep") is not None
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ from vllm.model_executor.layers.fused_moe.modular_kernel import (
|
|||||||
FusedMoEModularKernel)
|
FusedMoEModularKernel)
|
||||||
from vllm.platforms import current_platform
|
from vllm.platforms import current_platform
|
||||||
|
|
||||||
from .deepep_utils import ProcessGroupInfo, parallel_launch
|
from .utils import ProcessGroupInfo, parallel_launch
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from pplx_kernels import AllToAll
|
from pplx_kernels import AllToAll
|
||||||
|
|||||||
@ -29,7 +29,7 @@ from vllm.model_executor.layers.fused_moe.modular_kernel import (
|
|||||||
FusedMoEModularKernel)
|
FusedMoEModularKernel)
|
||||||
from vllm.platforms import current_platform
|
from vllm.platforms import current_platform
|
||||||
|
|
||||||
from .deepep_utils import ProcessGroupInfo, parallel_launch
|
from .utils import ProcessGroupInfo, parallel_launch
|
||||||
|
|
||||||
requires_pplx = pytest.mark.skipif(
|
requires_pplx = pytest.mark.skipif(
|
||||||
not has_pplx,
|
not has_pplx,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user