"vllm/vscode:/vscode.git/clone" did not exist on "d70bc7c02957ff6c11bc117527f7c724bb6aeb46"
test_distributed_oot.py 367 Bytes
Newer Older
1
# SPDX-License-Identifier: Apache-2.0
zhuwenwen's avatar
zhuwenwen committed
2
3
import os
from ..utils import models_path_prefix
4

5
6
7
8
9
from ..entrypoints.openai.test_oot_registration import (
    run_and_test_dummy_opt_api_server)


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)