Unverified Commit ebf7605b authored by Cyrus Leung's avatar Cyrus Leung Committed by GitHub
Browse files

[Misc] Move tensor schema tests (#22612)


Signed-off-by: default avatarDarkLight1337 <tlleungac@connect.ust.hk>
parent bc1d02ac
......@@ -57,9 +57,10 @@ steps:
- vllm/
- tests/mq_llm_engine
- tests/async_engine
- tests/test_inputs
- tests/test_inputs.py
- tests/test_outputs.py
- tests/multimodal
- tests/test_utils
- tests/utils_
- tests/worker
- tests/standalone_tests/lazy_imports.py
commands:
......@@ -70,7 +71,7 @@ steps:
- pytest -v -s test_inputs.py
- pytest -v -s test_outputs.py
- pytest -v -s multimodal
- pytest -v -s test_utils.py # Utils
- pytest -v -s utils_ # Utils
- pytest -v -s worker # Worker
- label: Python-only Installation Test
......
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
"""
This module is named `utils_` instead of `utils` to avoid obscuring
`tests/utils.py`.
"""
......@@ -5,7 +5,6 @@
import asyncio
import hashlib
import json
import logging
import pickle
import socket
from collections.abc import AsyncIterator
......@@ -29,7 +28,7 @@ from vllm.utils import (CacheInfo, FlexibleArgumentParser, LRUCache,
merge_async_iterators, sha256, split_host_port,
split_zmq_path, supports_kw, swap_dict_values)
from .utils import create_new_process_for_each_test, error_on_warning
from ..utils import create_new_process_for_each_test, error_on_warning
@pytest.mark.asyncio
......
......@@ -32,7 +32,7 @@ ALLOWED_FILES = set([
'vllm/multimodal/hasher.py',
'vllm/transformers_utils/config.py',
'vllm/model_executor/models/registry.py',
'tests/test_utils.py',
'tests/utils_/test_utils.py',
'tests/tokenization/test_cached_tokenizer.py',
'vllm/distributed/utils.py',
'vllm/distributed/parallel_state.py',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment