Tidy vllm/config/__init__.py to only add classes and functions (#26405)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-10-08 07:10:00 -07:00
committed by GitHub
parent 338b1bf04f
commit 2f99f2f506
18 changed files with 46 additions and 77 deletions
+1 -1
View File
@@ -15,11 +15,11 @@ from vllm.config import (
DeviceConfig,
LoadConfig,
ModelConfig,
ModelDType,
ParallelConfig,
SchedulerConfig,
VllmConfig,
)
from vllm.config.model import ModelDType
from vllm.platforms import current_platform
from vllm.utils import resolve_obj_by_qualname
from vllm.v1.attention.backends.utils import CommonAttentionMetadata
@@ -29,7 +29,7 @@ from vllm.sampling_params import (
)
if TYPE_CHECKING:
from vllm.config import TokenizerMode
from vllm.config.model import TokenizerMode
NGRAM_SPEC_CONFIG = {
"model": "[ngram]",
+1 -1
View File
@@ -4,7 +4,7 @@
import pytest
import ray
from vllm.config import ModelDType
from vllm.config.model import ModelDType
from vllm.sampling_params import SamplingParams
from vllm.v1.engine.async_llm import AsyncEngineArgs, AsyncLLM
from vllm.v1.metrics.ray_wrappers import RayPrometheusMetric, RayPrometheusStatLogger
+1 -1
View File
@@ -16,7 +16,7 @@ from tests.v1.sample.utils import (
get_test_batch,
)
from vllm import SamplingParams
from vllm.config import LogprobsMode
from vllm.config.model import LogprobsMode
from ...conftest import HfRunner, VllmRunner