accelerate
Add kwargs to optimizer, scheduler and dataloader using function `accelerator().load_state()`
#3540
Merged

Add kwargs to optimizer, scheduler and dataloader using function `accelerator().load_state()` #3540

luiz0992
luiz0992 Added artifacts and figure tracking at MLFlow tracker
d42384dd
luiz0992 Added `log_artifact` to the MLFlowTracker
5d051b9c
luiz0992 Remove changes
748a5877
luiz0992 Merge branch 'huggingface:main' into main
30a31456
luiz0992 Added kwargs when loading state.
b903eef9
luiz0992 added doc string
7f54f124
luiz0992 luiz0992 changed the title Luiz/add kwargs to load state Add kwargs to optimizer, scheduler and dataloader using function `accelerator().load state()` 317 days ago
luiz0992 luiz0992 changed the title Add kwargs to optimizer, scheduler and dataloader using function `accelerator().load state()` Add kwargs to optimizer, scheduler and dataloader using function `accelerator().load_state()` 317 days ago
luiz0992 Adjusted correct default types of kwargs
e07f9ff5
SunMarc
SunMarc commented on 2025-05-12
SunMarc
SunMarc commented on 2025-05-13
SunMarc
luiz0992 Changed the load kwargs to a single one
810c69ee
luiz0992 removed None value from kwargs
e3c4327d
luiz0992 Merge branch 'huggingface:main' into luiz/add-kwargs-to-load-state
0dd2077e
luiz0992 fix kwargs for loading the model
3cfa4c2d
luiz0992 removed load_kwargs from optimizer state dict
c96107fa
luiz0992 make load_kwargs a dictionary
13e6e6e2
luiz0992 revert last changes
17beba70
SunMarc
SunMarc commented on 2025-05-15
luiz0992 reverted load_kwargs
c3d7f1fe
luiz0992 fix docstring
4381b93b
SunMarc
SunMarc approved these changes on 2025-05-19
SunMarc
SunMarc commented on 2025-05-19
luiz0992 added dict initiation
e54694ce
HuggingFaceDocBuilderDev
luiz0992 Fix quality error during PR
9980afb9
SunMarc SunMarc merged 8cb3ace8 into main 294 days ago
luiz0992 luiz0992 deleted the luiz/add-kwargs-to-load-state branch 287 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone