Skip to content

Commit

Permalink
Experiments with CLI cmd passing
Browse files Browse the repository at this point in the history
Added temporary debug print statements
  • Loading branch information
MrWhatZitToYaa committed Nov 9, 2024
1 parent 0dd0024 commit ecfa137
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lightning/pytorch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ def add_lightning_class_args(
if issubclass(lightning_class, Callback):
self.callback_keys.append(nested_key)
if subclass_mode:
print("Subclass mode")
print(nested_key)
return self.add_subclass_arguments(lightning_class, nested_key, fail_untyped=False, required=required)
print(nested_key)
return self.add_class_arguments(
lightning_class,
nested_key,
Expand Down

0 comments on commit ecfa137

Please sign in to comment.