philschmid / deep-learning-pytorch-huggingface

MIT License
580 stars 138 forks source link

question about DeepSpeedPeftCallback #47

Open mickeysun0104 opened 4 months ago

mickeysun0104 commented 4 months ago

Hi I would like to ask the function of SaveDeepSpeedPeftModelCallback in peft_utils.py. How does it work and why need to write a callback for the deepspeed and peft?