Skip to content

Commit

Permalink
add weights_save_path to deprecated args
Browse files Browse the repository at this point in the history
Signed-off-by: nithinraok <[email protected]>
  • Loading branch information
nithinraok committed Sep 12, 2022
1 parent 3200c95 commit 93e04b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/test_config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class DummyDataClass:

@pytest.mark.unit
def test_ptl_config(self):
PTL_DEPRECATED = ['distributed_backend', 'automatic_optimization', 'gpus', 'num_processes']
PTL_DEPRECATED = ['distributed_backend', 'automatic_optimization', 'gpus', 'num_processes', 'weights_save_path']

result = config_utils.assert_dataclass_signature_match(ptl.Trainer, TrainerConfig, ignore_args=PTL_DEPRECATED)
signatures_match, cls_subset, dataclass_subset = result
Expand Down

0 comments on commit 93e04b3

Please sign in to comment.