1. 26 Jul, 2022 1 commit
  2. 25 Jul, 2022 1 commit
  3. 22 Jul, 2022 1 commit
  4. 19 Jul, 2022 2 commits
  5. 14 Jul, 2022 4 commits
  6. 13 Jul, 2022 2 commits
  7. 09 Jul, 2022 1 commit
  8. 08 Jul, 2022 3 commits
  9. 06 Jul, 2022 2 commits
  10. 02 Jul, 2022 1 commit
  11. 30 Jun, 2022 2 commits
  12. 29 Jun, 2022 2 commits
  13. 28 Jun, 2022 2 commits
  14. 27 Jun, 2022 1 commit
  15. 24 Jun, 2022 3 commits
    • Yanghan Wang's avatar
      better organize builtin runner's default config · 07eb7a1e
      Yanghan Wang authored
      Summary:
      Pull Request resolved: https://github.com/facebookresearch/d2go/pull/313
      
      It's not natural to put runner's default config functions under `d2go/utils/`, move them to `d2go/runner/config_defaults.py` and clean things up. This also reduce the inter-sub-package dependencies.
      
      Reviewed By: mattcyu1
      
      Differential Revision: D37407078
      
      fbshipit-source-id: 432644bee4f12306a14bac3dba76ced08b3683aa
      07eb7a1e
    • Mik Vyatskov's avatar
      Only save results to file from rank 0 · f0297b81
      Mik Vyatskov authored
      Summary:
      Pull Request resolved: https://github.com/facebookresearch/d2go/pull/309
      
      Right now multiple machines can try to write to the same output file,
      since they get the same argument. Additionally, on the same machine, several
      outputs can be saved which requires unncessary unpacking. This change makes
      train_net only write output of the rank 0 trainer.
      
      Reviewed By: wat3rBro
      
      Differential Revision: D37310084
      
      fbshipit-source-id: 9d5352a274e8fb1d2043393b12896d402333c17b
      f0297b81
    • Yanghan Wang's avatar
      use runner class instead of instance outside of main · 8051775c
      Yanghan Wang authored
      Summary:
      Pull Request resolved: https://github.com/facebookresearch/d2go/pull/312
      
      As discussed, we decided to not use runner instance outside of `main`, previous diffs already solved the prerequisites, this diff mainly does the renaming.
      - Use runner name (str) in the fblearner, ML pipeline.
      - Use runner name (str) in FBL operator, MAST and binary operator.
      - Use runner class as the interface of main, it can be either the name of class (str) or actual class. The main usage should be using `str`, so that the importing of class happens inside `main`. But it's also a common use case to import runner class and call `main` for things like ad-hoc scripts or tests, supporting actual class makes it easier modify code for those cases (eg. some local test class doesn't have a name, so it's not feasible to use runner name).
      
      Reviewed By: newstzpz
      
      Differential Revision: D37060338
      
      fbshipit-source-id: 879852d41902b87d6db6cb9d7b3e8dc55dc4b976
      8051775c
  16. 22 Jun, 2022 2 commits
  17. 21 Jun, 2022 2 commits
  18. 20 Jun, 2022 1 commit
  19. 18 Jun, 2022 2 commits
  20. 17 Jun, 2022 3 commits
  21. 16 Jun, 2022 2 commits
    • Yanghan Wang's avatar
      support for using config file with _DEFAULTS_ via cli · 521b3cad
      Yanghan Wang authored
      Summary:
      Pull Request resolved: https://github.com/facebookresearch/d2go/pull/271
      
      - set `get_default_cfg = None` to opt-in this new feature.
      - support config with `_DEFAULTS_` when loading config file. Note that we don't check explicitly `"_DEFAULTS_" in config file` but check `runner.get_default_cfg == None`, this is because runner having `get_default_cfg` and config having `_DEFAULTS_` should be mutually exclusive, and `load_full_config_from_file` can raise proper error if `_DEFAULTS_` is missing.
      - we also need to save `_DEFAULTS_` in the diff config.
      
      Reviewed By: tglik
      
      Differential Revision: D36868581
      
      fbshipit-source-id: e0e19309c3df5a85383ce1454b321a68d0868dc4
      521b3cad
    • Yanghan Wang's avatar
      restructure lightning related code · 318a3d79
      Yanghan Wang authored
      Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/237
      
      Reviewed By: tglik
      
      Differential Revision: D35954531
      
      fbshipit-source-id: b69c8065928fe385d29f20f2c2460d60d63fca00
      318a3d79