Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

LMCache logo

LMCache Device Plugins

The upstream-maintained community home for vendor device plugins for LMCache.

This repository gives accelerator vendors and community maintainers a shared place to publish, document, and maintain device integrations for LMCache.

LMCache core defines the DeviceSpec and DeviceOps interfaces and discovers installed plugins through Python entry points. This companion repository hosts integrations built against those interfaces; it is not a fork of LMCache, and plugins hosted here are not bundled into the core lmcache package unless explicitly stated.

The repository is at an early stage. We plan to grow shared CI, hardware compatibility testing, contribution templates, and integration documentation over time.

Get started

What belongs here

Vendors and community maintainers can contribute in either of two ways:

  1. Host the implementation here. Contribute the plugin source, packaging metadata, tests, and documentation to this repository.
  2. Maintain the implementation elsewhere. Keep the source, native build, and release process in a vendor-owned project, then contribute an integration document here that links to the wheel, source, support channel, and compatibility information.

Both models are welcome. In either case, an integration should clearly identify its maintainer, license, supported LMCache and PyTorch versions, supported hardware, installation steps, and validation status.

Where should the plugin live?

Consideration Maintained in this repository Maintained in a vendor repository
Discoverability Listed with other LMCache integrations in one upstream-maintained location Discoverability depends on the vendor project; a documentation entry here can provide a common entry point
Review and standards Benefits from shared LMCache community review and future common checks Uses the vendor's own review, release, and support processes
Release cadence May need to follow shared repository conventions and coordinated compatibility work Can track the vendor's driver, runtime, and hardware release cadence
CI and hardware Can participate in common CI as the repository adds it; vendor hardware is still needed for authoritative validation Vendor has full control of specialized hardware, drivers, credentials, and test infrastructure
Native packaging Must fit the repository's shared open-source and packaging conventions Can use vendor-specific build systems, binary distribution, or package indexes
Maintenance responsibility Shared visibility, with an explicitly identified vendor or community owner Vendor retains primary responsibility for compatibility, releases, and support

Choose the model that produces the most reliable integration for users. A documentation-only contribution is encouraged when native components or hardware validation need an independent lifecycle.

Contributing an integration

Before opening a pull request:

  1. Read the upstream device backend guide.
  2. Decide whether the pull request will contain the implementation or an integration document that points to an external project.
  3. Document supported LMCache, PyTorch, driver, runtime, and hardware versions, plus the responsible maintainer.
  4. Register the wheel through the lmcache.device_plugins entry-point group and document any optional selection variables.
  5. Describe correctness, multi-worker, and performance tests, including access requirements for the target hardware.

Open an issue first when the interface or repository layout needs coordination with LMCache maintainers.

License

Unless a subproject states otherwise, content in this repository is licensed under the Apache License 2.0. External projects linked from this repository may use their own licenses.

About

Upstream-maintained home for vendor device plugins for LMCache

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors