test_distributed_oot.py 429 Bytes
Newer Older
1
# SPDX-License-Identifier: Apache-2.0
2
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
zhuwenwen's avatar
zhuwenwen committed
3
4
import os
from ..utils import models_path_prefix
5

6
from ..entrypoints.openai.test_oot_registration import run_and_test_dummy_opt_api_server
7
8
9


def test_distributed_oot(dummy_opt_path: str):
zhuwenwen's avatar
zhuwenwen committed
10
11
    dummy_opt_path = os.path.join(models_path_prefix, "facebook/opt-125m")
    run_and_test_dummy_opt_api_server(dummy_opt_path, tp=2)