发布

  • [Core] Refactor storage and plugin extensibility to improve usability (#2118)

    frostbyte_neo 发布于 2025-12-05 11:43:35 +00:00

    • Refactor External Backend to improve usability

    Changing to custom storage backend because it better describes
    what the capability is.

    Modifications include:

    • Changing ConfigurableStorageBackendInterface to StoragePluginInterface
    • Renaming create_dynamic_backends to storage_plugin_loader
    • Rename external_backend to storage_backend in configuration
    • Update documentation accordingly

    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com

    • Refactor plugins to runtime plugins for better clarity and usability

    Plugins is very generic and doesn't quite explain the LMCache extensibility
    capability. This commit refactors plugins to more specific naming as runtime plugins.
    This better explains to users that want to add the custom runtime scripts.

    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com

    • Refactor documentation to better align runtime and storage plugins

    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com

    • Fix configuration naming

    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com

    • Provide backwards compatibility for old configurable external backend

    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com

    • Update lmcache/v1/plugin/runtime_plugin_launcher.py

    Co-authored-by: maobaolong 307499405@qq.com
    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com


    Signed-off-by: Martin Hickey martin.hickey@ie.ibm.com
    Co-authored-by: maobaolong 307499405@qq.com

    下载附件