下面这个例子就是打印出.\config文件夹\config.yaml配置文件中的内容 import hydra from omegaconf import DictConfig, OmegaConf @hydra.main(version_base=None, config_path="config文件夹", config_name="config.yaml") def my_app(cfg: DictConfig) -> None: print(OmegaConf.to_yaml(cfg)) if __name__...
omegaconf A flexible configuration library 17 diffusers Diffusers 17 hydra-core A framework for elegantly configuring complex applications 17 python-semantic-release Automatic Semantic Versioning for Python projects 17 fastcore Python supercharged for fastai development 17 pyspellchecker Pure python spell checker...
@Bordathats the full trace after trying to run import lightning. My environment details are shared in my first comment at the beginning of this issue thread. Lmk if you’re missing anything. I see you are using Mac, is it M1? also are you installed on pip or conda env?
omegaconf = "^2.2.2" attrs = "^21.4.0" torch = "^1.10.0" pyright = "^1.1.264" mypy = "^0.991" numpy = ">=1.20.0" flax = "^0.6.0" pydantic = "^1.10.2" coverage = {extras = ["toml"], version = "^6.5.0"} license = { text="MIT" } requires-python = ">=3.7" ...