Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Move hydra dict conversions before saving dict to disk #333

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vissl/utils/hydra_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def convert_to_attrdict(cfg: DictConfig, cmdline_args: List[Any] = None):
# assert the config and infer
config = cfg.config
infer_and_assert_hydra_config(config)
save_attrdict_to_disk(config)
convert_fsdp_dtypes(config)
save_attrdict_to_disk(config)
return cfg, config


Expand Down