Skip to content

Commit

Permalink
Don't store defaults in IOMixin (#10812)
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Romeijn <mromeijn@nvidia.com>
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
  • Loading branch information
marcromeyn authored and akoumpa committed Oct 24, 2024
1 parent e10f1e4 commit e4afbe7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nemo/lightning/io/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ def _io_transform_args(self, init_fn, *args, **kwargs) -> Dict[str, Any]:
"""
sig = inspect.signature(init_fn)
bound_args = sig.bind_partial(self, *args, **kwargs)
bound_args.apply_defaults()
config_kwargs = {k: v for k, v in bound_args.arguments.items() if k != "self"}

to_del = []
Expand Down

0 comments on commit e4afbe7

Please sign in to comment.