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

[Doc] Create a new "Usage" section (#10827)


Signed-off-by: default avatarDarkLight1337 <tlleungac@connect.ust.hk>
parent 8d370e91
...@@ -46,7 +46,7 @@ class CpuPlatform(Platform): ...@@ -46,7 +46,7 @@ class CpuPlatform(Platform):
import vllm.envs as envs import vllm.envs as envs
from vllm.utils import GiB_bytes from vllm.utils import GiB_bytes
model_config = vllm_config.model_config model_config = vllm_config.model_config
# Reminder: Please update docs/source/serving/compatibility_matrix.rst # Reminder: Please update docs/source/usage/compatibility_matrix.rst
# If the feature combo become valid # If the feature combo become valid
if not model_config.enforce_eager: if not model_config.enforce_eager:
logger.warning( logger.warning(
......
...@@ -104,7 +104,7 @@ def create_spec_worker(*args, **kwargs) -> "SpecDecodeWorker": ...@@ -104,7 +104,7 @@ def create_spec_worker(*args, **kwargs) -> "SpecDecodeWorker":
return spec_decode_worker return spec_decode_worker
# Reminder: Please update docs/source/serving/compatibility_matrix.rst # Reminder: Please update docs/source/usage/compatibility_matrix.rst
# If the feature combo become valid # If the feature combo become valid
class SpecDecodeWorker(LoraNotSupportedWorkerBase): class SpecDecodeWorker(LoraNotSupportedWorkerBase):
"""Worker which implements speculative decoding. """Worker which implements speculative decoding.
......
...@@ -47,7 +47,7 @@ logger = init_logger(__name__) ...@@ -47,7 +47,7 @@ logger = init_logger(__name__)
# Exception strings for non-implemented encoder/decoder scenarios # Exception strings for non-implemented encoder/decoder scenarios
# Reminder: Please update docs/source/serving/compatibility_matrix.rst # Reminder: Please update docs/source/usage/compatibility_matrix.rst
# If the feature combo become valid # If the feature combo become valid
STR_NOT_IMPL_ENC_DEC_SWA = \ STR_NOT_IMPL_ENC_DEC_SWA = \
......
...@@ -817,7 +817,7 @@ def _pythonize_sampler_output( ...@@ -817,7 +817,7 @@ def _pythonize_sampler_output(
for sgdx, (seq_group, for sgdx, (seq_group,
sample_result) in enumerate(zip(seq_groups, samples_list)): sample_result) in enumerate(zip(seq_groups, samples_list)):
# Reminder: Please update docs/source/serving/compatibility_matrix.rst # Reminder: Please update docs/source/usage/compatibility_matrix.rst
# If the feature combo become valid # If the feature combo become valid
# (Check for Guided Decoding) # (Check for Guided Decoding)
if seq_group.sampling_params.logits_processors: if seq_group.sampling_params.logits_processors:
......
...@@ -13,7 +13,7 @@ def assert_enc_dec_mr_supported_scenario( ...@@ -13,7 +13,7 @@ def assert_enc_dec_mr_supported_scenario(
a supported scenario. a supported scenario.
''' '''
# Reminder: Please update docs/source/serving/compatibility_matrix.rst # Reminder: Please update docs/source/usage/compatibility_matrix.rst
# If the feature combo become valid # If the feature combo become valid
if enc_dec_mr.cache_config.enable_prefix_caching: if enc_dec_mr.cache_config.enable_prefix_caching:
......
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