File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
#
17
+ import vllm_ascend .patch .platform .patch_0_9_0 .patch_distributed # noqa
Original file line number Diff line number Diff line change 22
22
import vllm .envs as envs
23
23
from torch .distributed import ProcessGroup
24
24
from vllm .config import ParallelConfig , VllmConfig
25
+ from vllm .distributed .utils import \
26
+ stateless_init_torch_distributed_process_group
25
27
from vllm .v1 .engine .core import DPEngineCoreProc
26
- from vllm .distributed .utils import stateless_init_torch_distributed_process_group
27
28
28
29
29
30
def ascend_destroy_model_parallel ():
Original file line number Diff line number Diff line change 22
22
from typing import TYPE_CHECKING , Optional , Tuple
23
23
24
24
import torch
25
+ import vllm .envs as envs
25
26
from torch .distributed import ProcessGroup
26
27
from torch .distributed .distributed_c10d import PrefixStore
27
- import vllm .envs as envs
28
28
from vllm .logger import logger
29
29
from vllm .platforms import Platform , PlatformEnum
30
30
You can’t perform that action at this time.
0 commit comments