Metadata for a loaded LoRA adapter.
More...
#include <entropic/types/config.h>
|
| std::string | name |
| | Unique adapter identifier.
|
| |
| std::filesystem::path | path |
| | Resolved path to .gguf adapter file.
|
| |
| AdapterState | state = AdapterState::COLD |
| | Current lifecycle state.
|
| |
| float | scale = 1.0f |
| | LoRA scaling factor (alpha/rank)
|
| |
| std::string | tier_name |
| | Tier this adapter is assigned to (empty = unassigned)
|
| |
| std::string | base_model_path |
| | Path of the base model this adapter targets.
|
| |
| size_t | ram_bytes = 0 |
| | RAM consumption when WARM/HOT (0 if COLD)
|
| |
| std::unordered_map< std::string, std::string > | metadata |
| | Adapter-specific metadata for routing decisions.
|
| |
Metadata for a loaded LoRA adapter.
Used for introspection and routing decisions. Returned by AdapterManager::info() and the entropic_adapter_info() C API.
- Version
- 1.9.2
Definition at line 126 of file config.h.
◆ base_model_path
| std::string entropic::AdapterInfo::base_model_path |
Path of the base model this adapter targets.
Definition at line 132 of file config.h.
◆ metadata
| std::unordered_map<std::string, std::string> entropic::AdapterInfo::metadata |
Adapter-specific metadata for routing decisions.
Definition at line 136 of file config.h.
◆ name
| std::string entropic::AdapterInfo::name |
Unique adapter identifier.
Definition at line 127 of file config.h.
◆ path
| std::filesystem::path entropic::AdapterInfo::path |
Resolved path to .gguf adapter file.
Definition at line 128 of file config.h.
◆ ram_bytes
| size_t entropic::AdapterInfo::ram_bytes = 0 |
RAM consumption when WARM/HOT (0 if COLD)
Definition at line 133 of file config.h.
◆ scale
| float entropic::AdapterInfo::scale = 1.0f |
LoRA scaling factor (alpha/rank)
Definition at line 130 of file config.h.
◆ state
Current lifecycle state.
Definition at line 129 of file config.h.
◆ tier_name
| std::string entropic::AdapterInfo::tier_name |
Tier this adapter is assigned to (empty = unassigned)
Definition at line 131 of file config.h.
The documentation for this struct was generated from the following file: