Skip to content

Commit

Permalink
Parametrize FPS group (#9648)
Browse files Browse the repository at this point in the history
* Parametrize FPS group

Signed-off-by: Mikołaj Błaż <mblaz@nvidia.com>

* Apply isort and black reformatting

Signed-off-by: mikolajblaz <mikolajblaz@users.noreply.github.com>

* Change deafult to False

Signed-off-by: Mikołaj Błaż <mblaz@nvidia.com>

* Add logic to new ckptIO

Signed-off-by: Mikołaj Błaż <mblaz@nvidia.com>

* Turn on parallel save by default

Signed-off-by: Mikołaj Błaż <mblaz@nvidia.com>

---------

Signed-off-by: Mikołaj Błaż <mblaz@nvidia.com>
Signed-off-by: mikolajblaz <mikolajblaz@users.noreply.github.com>
Co-authored-by: Dmytro Pykhtar <37850217+dimapihtar@users.noreply.github.com>
  • Loading branch information
mikolajblaz and dimapihtar committed Aug 27, 2024
1 parent 20d1799 commit 5724986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nemo/lightning/pytorch/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def __init__(
ckpt_torch_dist_multiproc=None, ## TODO(ashors): put elsewhere?
ckpt_assume_constant_structure=False,
ckpt_parallel_save=True,
ckpt_parallel_save_within_dp=False,
ckpt_parallel_load=False,
ckpt_parallel_save_optim=True,
setup_optimizers: bool = True,
Expand Down

0 comments on commit 5724986

Please sign in to comment.