Skip to content

vllm.v1.worker.cpu.encoder_cache

Classes:

EncoderCache

Methods:

reset_encoder_cache()

Clear the encoder cache storing vision embeddings.

This should be called when model weights are updated to ensure stale embeddings computed with old weights are not reused.

reset_mm_cache()

Clear the multi-modal cache that was used during profiling, but no longer needed during inference.