Skip to content

vllm.distributed.ec_transfer.ec_connector.tiering.config

Configuration for the local encoder-cache filesystem tier.

Classes:

ECFileSystemBackpressureConfig dataclass

Validated EMA backpressure settings for filesystem stores.

ECFileSystemTierConfig dataclass

Validated settings for one local encoder-cache filesystem tier.

ECTieringConfig dataclass

Validated top-level configuration for encoder-cache tiering.

Methods:

  • from_vllm_config –

    Build tiering configuration from vLLM EC connector settings.

Attributes:

filesystem_enabled property

Return whether a filesystem secondary tier is configured.

from_vllm_config(vllm_config) classmethod

Build tiering configuration from vLLM EC connector settings.

_get_bool(config, key, default)

Read a boolean field, using the given default when it is absent.

_get_positive_float(config, key, default)

Read a finite positive numeric field as a float.

_get_positive_int(config, key, default=None)

Read a required or defaulted positive integer field.

_parse_backpressure(raw_config)

Validate filesystem backpressure settings and resolve KV defaults.

_parse_filesystem_tier(raw_tier)

Validate one filesystem tier mapping and return its typed config.