transformers
Support saving only PEFT adapter in checkpoints when using PEFT + FSDP
#28297
Merged

Commits
  • Update trainer.py
    AjayP13 committed 1 year ago
  • Revert "Update trainer.py"
    AjayP13 committed 1 year ago
  • Make trainer.py use adapter_only=True when using FSDP + PEFT
    AjayP13 committed 1 year ago
  • Support load_best_model with adapter_only=True
    AjayP13 committed 1 year ago
  • Ruff format
    AjayP13 committed 1 year ago
  • Inspect function args for save_ load_ fsdp utility functions and only pass adapter_only=True if they support it
    AjayP13 committed 1 year ago
Loading