Coverage for transformer_lens/model_bridge/sources/vllm/__init__.py: 100%
3 statements
« prev ^ index » next coverage.py v7.10.1, created at 2026-09-21 19:27 +0000
« prev ^ index » next coverage.py v7.10.1, created at 2026-09-21 19:27 +0000
1"""vLLM source for TransformerBridge.
3Provides :func:`boot_vllm`, which constructs a vLLM ``LLM`` and wraps its
4inner ``nn.Module`` in a :class:`TransformerBridge`. vLLM drives the forward
5pass (PagedAttention, ``torch.compile``, CUDA graphs); the bridge surface is
6populated from GPU buffers written by hooks the plugin installs pre-compile.
7"""
8from __future__ import annotations
10from .source import boot_vllm
12__all__ = ["boot_vllm"]