--- title: KVBM Integrations --- KVBM Integrates with Inference frameworks (vLLM, TRTLLM, SGLang) via Connector APIs to influence KV caching behaviour, scheduling, and forward pass execution. There are two components of the interface, Scheduler and Worker. Scheduler(leader) is responsible for the orchestration of KV block offload/onboard, builds metadata specifying transfer data to the workers. It also maintains hooks for handling asynchronous transfer completion. Worker is responsible for reading metadata built by the scheduler(leader), does async onboarding/ offloading at the end of the forward pass. ## Typical KVBM Integrations The following figure shows the typical integration of KVBM with inference frameworks (vLLM used as an example) ![vLLM KVBM Integration ](https://files.buildwithfern.com/dynamo.docs.buildwithfern.com/dynamo/92ac64a22be262ad2c043a48578539e3f0482b2f658e8455b27cd23c8f2c8592/assets/img/kvbm-integrations.png) **vLLM KVBM Integration** ## How to run KVBM with Frameworks * Instructions to [run KVBM in vLLM](/dynamo/v-0-8-1/components/kvbm/kvbm-in-v-llm) * Instructions to [run KVBM with TRTLLM](/dynamo/v-0-8-1/components/kvbm/kvbm-in-trtllm) ## Onboarding ![Onboarding blocks from Host to Device](https://files.buildwithfern.com/dynamo.docs.buildwithfern.com/dynamo/215b20ab77c035973e76fc9ea589674144485b62ef874ffdf86640408d222680/assets/img/kvbm-onboard-host2device.png) **Onboarding blocks from Host to Device** ![Onboarding blocks from Disk to Device](https://files.buildwithfern.com/dynamo.docs.buildwithfern.com/dynamo/56bfdbb942a421b0b1d12ebc058ca9c56d666d349047fb6a3c828f0c3a5e836d/assets/img/kvbm-onboard-disk2device.png) **Onboarding blocks from Disk to Device** ## Offloading ![Offloading blocks from Device to Host&Disk](https://files.buildwithfern.com/dynamo.docs.buildwithfern.com/dynamo/f139e863257fb63c4862fb5377e3c679b12f444ca5e1179597fe7a122e1741b5/assets/img/kvbm-offload.png) **Offloading blocks from Device to Host&Disk**