A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 11, 17:30 UTC
[Chore] Delay recent deprecations (#30398)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Cyrus Leung committed
Dec 11, 2025 at 01:48 UTC
253305d5b22bb0795bb8fd8469053e1df67a9be6
7 files changed
+17
-17
vllm/multimodal/inputs.py
+3
-3
@@ -954,7 +954,7 @@ MultiModalKwargsOptionalItems: TypeAlias = (
954
)
955
956
957
-@deprecated("`MultiModalKwargs` is deprecated and will be removed in v0.13.")
957
+@deprecated("`MultiModalKwargs` is deprecated and will be removed in v0.14.")
958
class MultiModalKwargs(UserDict[str, NestedTensors]):
959
"""
960
A dictionary that represents the keyword arguments to
@@ -964,7 +964,7 @@ class MultiModalKwargs(UserDict[str, NestedTensors]):
964
@staticmethod
965
@deprecated(
966
"`MultiModalKwargs.from_hf_inputs` is deprecated and "
967
- "will be removed in v0.13. "
967
+ "will be removed in v0.14. "
968
"Please use `MultiModalKwargsItems.from_hf_inputs` and "
969
"access the tensor data using `.get_data()`."
970
)
@@ -977,7 +977,7 @@ class MultiModalKwargs(UserDict[str, NestedTensors]):
977
@staticmethod
978
@deprecated(
979
"`MultiModalKwargs.from_items` is deprecated and "
980
- "will be removed in v0.13. "
980
+ "will be removed in v0.14. "
981
"Please use `MultiModalKwargsItems.from_seq` and "
982
"access the tensor data using `.get_data()`."
983
)
vllm/multimodal/utils.py
+2
-2
@@ -429,12 +429,12 @@ def group_mm_kwargs_by_modality(
429
if merge_by_field_config is not None:
430
logger.warning_once(
431
"The `merge_by_field_config` argument of `group_mm_kwargs_by_modality` "
432
- "is deprecated and will be removed in v0.13."
432
+ "is deprecated and will be removed in v0.14."
433
)
434
if multimodal_cpu_fields is not None:
435
logger.warning_once(
436
"The `multimodal_cpu_fields` argument of `group_mm_kwargs_by_modality` "
437
- "is deprecated and will be removed in v0.13."
437
+ "is deprecated and will be removed in v0.14."
438
)
439
440
from vllm.multimodal.inputs import MultiModalKwargsItems
vllm/transformers_utils/tokenizer.py
+7
-7
@@ -17,7 +17,7 @@ def __getattr__(name: str):
17
warnings.warn(
18
"`vllm.transformers_utils.tokenizer.AnyTokenizer` has been moved to "
19
"`vllm.tokenizers.TokenizerLike`. "
20
- "The old name will be removed in v0.13.",
20
+ "The old name will be removed in v0.14.",
21
DeprecationWarning,
22
stacklevel=2,
23
)
@@ -29,7 +29,7 @@ def __getattr__(name: str):
29
warnings.warn(
30
"`vllm.transformers_utils.tokenizer.get_tokenizer` "
31
"has been moved to `vllm.tokenizers.get_tokenizer`. "
32
- "The old name will be removed in v0.13.",
32
+ "The old name will be removed in v0.14.",
33
DeprecationWarning,
34
stacklevel=2,
35
)
@@ -41,7 +41,7 @@ def __getattr__(name: str):
41
warnings.warn(
42
"`vllm.transformers_utils.tokenizer.cached_get_tokenizer` "
43
"has been moved to `vllm.tokenizers.cached_get_tokenizer`. "
44
- "The old name will be removed in v0.13.",
44
+ "The old name will be removed in v0.14.",
45
DeprecationWarning,
46
stacklevel=2,
47
)
@@ -53,7 +53,7 @@ def __getattr__(name: str):
53
warnings.warn(
54
"`vllm.transformers_utils.tokenizer.cached_tokenizer_from_config` "
55
"has been moved to `vllm.tokenizers.cached_tokenizer_from_config`. "
56
- "The old name will be removed in v0.13.",
56
+ "The old name will be removed in v0.14.",
57
DeprecationWarning,
58
stacklevel=2,
59
)
@@ -65,7 +65,7 @@ def __getattr__(name: str):
65
warnings.warn(
66
"`vllm.transformers_utils.tokenizer.init_tokenizer_from_configs` "
67
"has been moved to `vllm.tokenizers.init_tokenizer_from_config`. "
68
- "The old name will be removed in v0.13.",
68
+ "The old name will be removed in v0.14.",
69
DeprecationWarning,
70
stacklevel=2,
71
)
@@ -75,7 +75,7 @@ def __getattr__(name: str):
75
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
76
77
78
-@deprecated("Will be removed in v0.13. Please use `tokenizer.decode()` instead.")
78
+@deprecated("Will be removed in v0.14. Please use `tokenizer.decode()` instead.")
79
def decode_tokens(
80
tokenizer: TokenizerLike,
81
token_ids: list[int],
@@ -97,7 +97,7 @@ def decode_tokens(
97
return tokenizer.decode(token_ids, **kw_args)
98
99
100
-@deprecated("Will be removed in v0.13. Please use `tokenizer.encode()` instead.")
100
+@deprecated("Will be removed in v0.14. Please use `tokenizer.encode()` instead.")
101
def encode_tokens(
102
tokenizer: TokenizerLike,
103
text: str,
vllm/transformers_utils/tokenizer_base.py
+2
-2
@@ -11,7 +11,7 @@ def __getattr__(name: str):
11
warnings.warn(
12
"`vllm.transformers_utils.tokenizer_base.TokenizerBase` has been "
13
"moved to `vllm.tokenizers.TokenizerLike`. "
14
- "The old name will be removed in v0.13.",
14
+ "The old name will be removed in v0.14.",
15
DeprecationWarning,
16
stacklevel=2,
17
)
@@ -23,7 +23,7 @@ def __getattr__(name: str):
23
warnings.warn(
24
"`vllm.transformers_utils.tokenizer_base.TokenizerRegistry` has been "
25
"moved to `vllm.tokenizers.TokenizerRegistry`. "
26
- "The old name will be removed in v0.13.",
26
+ "The old name will be removed in v0.14.",
27
DeprecationWarning,
28
stacklevel=2,
29
)
vllm/v1/engine/async_llm.py
+1
-1
@@ -192,7 +192,7 @@ class AsyncLLM(EngineClient):
192
@property
193
@deprecated(
194
"`AsyncLLM.processor` has been renamed to `AsyncLLM.input_processor`. "
195
- "The old name will be removed in v0.13."
195
+ "The old name will be removed in v0.14."
196
)
197
def processor(self):
198
return self.input_processor
vllm/v1/engine/llm_engine.py
+1
-1
@@ -139,7 +139,7 @@ class LLMEngine:
139
@property
140
@deprecated(
141
"`LLMEngine.processor` has been renamed to `LLMEngine.input_processor`. "
142
- "The old name will be removed in v0.13."
142
+ "The old name will be removed in v0.14."
143
)
144
def processor(self):
145
return self.input_processor
vllm/v1/engine/processor.py
+1
-1
@@ -10,7 +10,7 @@ def __getattr__(name: str):
10
warnings.warn(
11
"`vllm.v1.engine.processor.Processor` has been moved to "
12
"`vllm.v1.engine.input_processor.InputProcessor`. "
13
- "The old name will be removed in v0.13.",
13
+ "The old name will be removed in v0.14.",
14
DeprecationWarning,
15
stacklevel=2,
16
)