vllm.transformers_utils.configs.speculators.base
 
  Bases: PretrainedConfig
Source code in vllm/transformers_utils/configs/speculators/base.py
  classmethod  ¶
  Convert speculators config format to vLLM format.
This method handles the translation of field names and structure between speculators and vLLM formats.
Returns:
| Type | Description | 
|---|---|
| dict[str, Any] | Dictionary with vLLM-compatible configuration | 
Source code in vllm/transformers_utils/configs/speculators/base.py
  classmethod  ¶
 from_pretrained(
    pretrained_model_name_or_path: Union[str, PathLike],
    **kwargs,
) -> SpeculatorsConfig
Load speculators Eagle config and convert to vLLM format.