- LoRALinear基于register_parameter托管base weight,state_dict路径不变 - inject_lora/merge_lora/save_lora/load_lora完备封装 - 24个单元测试覆盖注入、合并、存取、边界场景 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| model_config.py | ||
| train_config.py | ||
- LoRALinear基于register_parameter托管base weight,state_dict路径不变 - inject_lora/merge_lora/save_lora/load_lora完备封装 - 24个单元测试覆盖注入、合并、存取、边界场景 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| model_config.py | ||
| train_config.py | ||