facebookresearch / d2go

D2Go is a toolkit for efficient deep learning
Apache License 2.0
829 stars 197 forks source link

fix d2go.config #571

Open wat3rBro opened 1 year ago

wat3rBro commented 1 year ago

Summary: I think the main issue is that we import reroute_config_path from d2go.config.config in __init__.py, but it's actually in d2go.config.utils. After fixing this, the namespace forward also works, see scripts/wangyanghan/autodeps_testbed/d2go_config/TARGETS

Update all TARGETS:

fbgs -l "d2go/config:" | xargs printf -- '/data/sandcastle/boxes/%s\n' | xargs arc lint -a

For reviewers, only .autodeps.toml and files in d2go/d2go/config/ and scripts/wangyanghan/autodeps_testbed/d2go_config/ are manually changed, other files are auto modified.

Reviewed By: ajinkya-deogade

Differential Revision: D46582416

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D46582416