Skip to content

Commit b2ca756

Browse files
author
angazenn
committed
fix ruff
1 parent f0b120f commit b2ca756

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

vllm_ascend/distributed/communicator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515
# This file is a part of the vllm-ascend project.
1616
#
17-
from typing import Optional, List
17+
from typing import List, Optional
1818

1919
import torch
2020
import torch.distributed as dist

vllm_ascend/patch/platform/patch_common/patch_distributed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
# limitations under the License.
1717
# Adapted from vllm/model_executor/models/qwen2_vl.py
1818
# This file is a part of the vllm-ascend project.
19-
from typing import Optional, List
19+
from typing import List, Optional
2020

2121
import torch
22+
import vllm
23+
import vllm.distributed
2224
from torch.distributed import ProcessGroup
2325
from torch.distributed.distributed_c10d import (Backend, PrefixStore,
2426
_get_default_timeout,
2527
is_nccl_available)
2628
from torch.distributed.rendezvous import rendezvous
27-
import vllm
2829
from vllm.config import ParallelConfig
29-
import vllm.distributed
3030
from vllm.distributed.parallel_state import GroupCoordinator
3131

3232

vllm_ascend/quantization/w8a8_dynamic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
from typing import Any, Callable, Dict, List, Optional
2020

2121
import torch
22-
import torch_npu
2322
import torch.distributed as dist
23+
import torch_npu
2424
from vllm.distributed import GroupCoordinator
2525
from vllm_ascend.distributed.parallel_state import get_ep_group
2626
from vllm_ascend.ops.fused_moe import select_experts

0 commit comments

Comments
 (0)