Skip to main content

Module adapter_manager

Module adapter_manager 

Source
Expand description

Adapter management for LoRA models

This module handles the storage, discovery, and composition of LoRA adapters within the git-versioned model repositories.

Two modes of operation:

  • Direct (sync): Uses PathBuf and std::fs for standalone/test use.
  • FsOps (async): Uses WorktreeClient for worktree-scoped, path-contained access.

Structs§

AdapterConfig
Adapter configuration stored alongside the weights
AdapterInfo
Information about a discovered adapter
AdapterManager
Manages LoRA adapters within a model’s git repository