Enable fsspec by default for cli config file (#7521)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
This commit is contained in:
parent
e126649d19
commit
d0081778f8
|
@ -10,6 +10,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|||
### Added
|
||||
|
||||
|
||||
- Added LightningCLI support for config files on object stores ([#7521](https://github.com/PyTorchLightning/pytorch-lightning/pull/7521))
|
||||
|
||||
|
||||
- Added argument `trainer.predict(ckpt_path)` ([#7430](https://github.com/PyTorchLightning/pytorch-lightning/pull/7430))
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@ from pytorch_lightning.utilities.seed import seed_everything
|
|||
|
||||
_JSONARGPARSE_AVAILABLE = _module_available("jsonargparse")
|
||||
if _JSONARGPARSE_AVAILABLE:
|
||||
from jsonargparse import ActionConfigFile, ArgumentParser
|
||||
from jsonargparse import ActionConfigFile, ArgumentParser, set_config_read_mode
|
||||
set_config_read_mode(fsspec_enabled=True)
|
||||
else:
|
||||
ArgumentParser = object
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ torchtext>=0.5
|
|||
# onnx>=1.7.0
|
||||
onnxruntime>=1.3.0
|
||||
hydra-core>=1.0
|
||||
jsonargparse[signatures]>=3.11.1
|
||||
jsonargparse[signatures]>=3.12.0
|
||||
|
|
Loading…
Reference in New Issue