-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
lightningclipl.cli.LightningCLIpl.cli.LightningCLIwon't fixThis will not be worked onThis will not be worked on
Description
🐛 Bug
Instantiating LightningCLI with run=False prevents some config keys (namely seed_everything andckpt_path) from being accepted. This seems to be because these config keys are defined by a subcommand parser, and these are not initialized when run=False is passed.
This makes it impossible to load config files created by Lightning during training since they contain the seed_everythingckpt_path key.
To Reproduce
error: 'Configuration check failed :: No action for destination key "ckpt_path" to check its value.'
Expected behavior
Should run without error.
Environment
- CUDA:
- GPU:
- Tesla K80
- available: True
- version: 11.1
- GPU:
- Packages:
- numpy: 1.21.5
- pyTorch_debug: False
- pyTorch_version: 1.10.0+cu111
- pytorch-lightning: 1.5.10
- tqdm: 4.63.0
- System:
- OS: Linux
- architecture:
- 64bit
- processor: x86_64
- python: 3.7.12
- version: # 1 SMP Tue Dec 7 09:58:10 PST 2021
matthiaszeller, ribesstefano, noamsgl and function2-llx
Metadata
Metadata
Assignees
Labels
lightningclipl.cli.LightningCLIpl.cli.LightningCLIwon't fixThis will not be worked onThis will not be worked on