InternVL
InternVL copied to clipboard
[Feature] How to only save lora while training
Motivation
save lora weights only.
Related resources
https://github.com/axolotl-ai-cloud/axolotl
Additional context
No response
One possible approach is to try the adapter api. See https://huggingface.co/docs/transformers/v4.44.2/en/peft#transformers.integrations.PeftAdapterMixin.get_adapter_state_dict