@@ -1502,12 +1502,6 @@ def _is_v1_supported_oracle(self, model_config: ModelConfig) -> bool:
15021502 _raise_or_fallback (feature_name = name , recommend_to_remove = True )
15031503 return False
15041504
1505- # Platforms must decide if they can support v1 for this model
1506- if not current_platform .supports_v1 (model_config = model_config ):
1507- _raise_or_fallback (
1508- feature_name = f"device type={ current_platform .device_type } " ,
1509- recommend_to_remove = False )
1510- return False
15111505 #############################################################
15121506 # Experimental Features - allow users to opt in.
15131507
@@ -1524,12 +1518,6 @@ def _is_v1_supported_oracle(self, model_config: ModelConfig) -> bool:
15241518 recommend_to_remove = False )
15251519 return False
15261520
1527- # The platform may be supported on V1, but off by default for now.
1528- if not current_platform .default_v1 ( # noqa: SIM103
1529- model_config = model_config ) and _warn_or_fallback (
1530- current_platform .device_name ):
1531- return False
1532-
15331521 if (current_platform .is_cpu ()
15341522 and model_config .get_sliding_window () is not None ):
15351523 _raise_or_fallback (feature_name = "sliding window (CPU backend)" ,
@@ -1796,21 +1784,6 @@ def _raise_or_fallback(feature_name: str, recommend_to_remove: bool):
17961784 logger .warning (msg )
17971785
17981786
1799- def _warn_or_fallback (feature_name : str ) -> bool :
1800- if envs .is_set ("VLLM_USE_V1" ) and envs .VLLM_USE_V1 :
1801- logger .warning (
1802- "Detected VLLM_USE_V1=1 with %s. Usage should "
1803- "be considered experimental. Please report any "
1804- "issues on Github." , feature_name )
1805- should_exit = False
1806- else :
1807- logger .info (
1808- "%s is experimental on VLLM_USE_V1=1. "
1809- "Falling back to V0 Engine." , feature_name )
1810- should_exit = True
1811- return should_exit
1812-
1813-
18141787def human_readable_int (value ):
18151788 """Parse human-readable integers like '1k', '2M', etc.
18161789 Including decimal values with decimal multipliers.
0 commit comments