lazy_instance
no longer accepts arguments that go into kwargs
#473
Labels
bug
Something isn't working
lazy_instance
no longer accepts arguments that go into kwargs
#473
🐛 Bug report
The last release of jsonargparse 4.27.6 made our CI fail. We have a test that does the following:
To reproduce
Error:
Expected behavior
I'm not sure, maybe it's intentionally no longer supported, but it worked in 4.27.5.
The
find_unused_parameters
in the above usage is not explicitly listed in the DDPStrategy signature, but is supposed to be eaten by the**kwargs
:https://github.com/Lightning-AI/pytorch-lightning/blob/5232cfdc77df1df2fa712c4ec7781266ae572daa/src/lightning/pytorch/strategies/ddp.py#L85
Do you suggest I change the test in Lightning?
Environment
pip install jsonargparse[all]
): pip install jsonargparse[signatures]The text was updated successfully, but these errors were encountered: