1. 03 Feb, 2021 3 commits
    • anj-s's avatar
      [refactor] Refactor and enable multiprocess nn.Pipe benchmarks. (#319) · cd186441
      anj-s authored
      
      
      * mp cleanup
      
      * round of multiprocess refactoring
      
      * test golden run
      
      * print cuda stats
      
      * fix lint errors
      
      * enable multiprocess pipe benchmarks
      
      * set world size to be available gpus
      
      * more changes
      
      * use synthetic loaders for intermediate pipeline stages
      
      * merged master
      
      * fix for the devices property
      
      * dataloader fix
      
      * modify rank check
      
      * print wps stats
      
      * enable verification
      
      * fix logging
      
      * fix flag name
      
      * fix flag name
      
      * check for rank
      
      * fix indent
      
      * pass args
      
      * pass args
      
      * modify golden data
      
      * remove unused print messsage
      
      * fix lint errors
      
      * add comments
      
      * fix benchmarks
      Co-authored-by: default avatarAnjali Sridhar <anj@devfair0443.h2.fair>
      cd186441
    • Min Xu's avatar
      [feat] Add AdaScaleWrapper (#347) · a2408eb8
      Min Xu authored
      * [feat] Add AdaScaleWrapper
      
      - This enables a different API for wrapping an optimizer with AdaScale.
      - This also enables AdaScale to be wrapped by OSS.
      - However, OSS wrapping AdaScale results in different optimization,
        which future research will be needed to study its effects.
      
      testing: add unit tests.
      
      * addressed comment: typo
      a2408eb8
    • Benjamin Lefaudeux's avatar
      [fix] ShardedDDP - properly handle post device change (#353) · a265586b
      Benjamin Lefaudeux authored
      * adding the .to(device) support + unit testing
      * doc update
      a265586b
  2. 02 Feb, 2021 2 commits
  3. 01 Feb, 2021 2 commits
  4. 31 Jan, 2021 1 commit
  5. 30 Jan, 2021 1 commit
  6. 29 Jan, 2021 3 commits
  7. 28 Jan, 2021 3 commits
  8. 27 Jan, 2021 6 commits
  9. 26 Jan, 2021 1 commit
  10. 25 Jan, 2021 3 commits
    • anj-s's avatar
      [docs] Remove broken link from fairscale docs. (#325) · 1ece280a
      anj-s authored
      
      
      * fix broken link
      
      * remove link
      
      * add direct link
      
      * add direct link
      
      * add direct link
      
      * add direct link
      
      * add direct link
      
      * add direct link
      Co-authored-by: default avatarAnjali Sridhar <anj@devfair0443.h2.fair>
      1ece280a
    • Min Xu's avatar
      [test] cover python 3.7 to 3.9 on CPU (#303) · 8459634f
      Min Xu authored
      * [test] cover python 3.7 to 3.9 on CPU
      
      - covering common python versions on CPU tests
      - added doc build test
      
      * add doc build test
      
      * skipping failing tests on py39
      
      * catching doc build warnings
      
      * add doc build to py38 and py39
      
      * minor fix
      
      * fix doc build for adascale
      
      * removed dead code
      
      * fix the skipping
      
      * skip unit test for py39
      
      * add failing example
      
      * no more py39 skipping the tests
      8459634f
    • anj-s's avatar
      [refactor] Add benchmark config object and validation function (#314) · 331aed2c
      anj-s authored
      
      
      * [refactor]Remove unused variables and refactor common configurations
      
      * move helper function to call site
      
      * fixed lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix import order
      
      * format files
      
      * remove unused imports
      
      * fix lint errors
      
      * fix lint errors
      
      * refactor common utilities
      
      * address PR comments
      
      * sorted imports
      
      * add space
      
      * modify comment
      
      * added doc strings and addressed PR comments.
      
      * addressed PR comments
      
      * added another comment to clarify.
      
      * fixing lint errors
      
      * addressed PR comments
      
      * addressed PR comments
      
      * fixed typos
      
      * initialize var
      
      * rename seq_pred to lm
      
      * fix lint errors
      
      * move datasets and models into separate folders
      
      * add the folders created
      
      * fix lint errors
      
      * create golden config to stats mapping
      
      * add common batching for both synthetic and real data
      
      * fixed lint errors
      
      * enable real pipe benchmakrs with new golden data
      
      * reduce seq len to avoid OOM
      
      * updated golden data
      
      * add logging
      
      * add golden data
      
      * add golden data
      
      * fix lint errors
      
      * add doc string
      
      * remove unused class
      
      * add seq len and batch size to the config
      
      * remove commented out line
      
      * address comments
      
      * rename imports
      
      * refactor common logic in dataloaders
      
      * add golden configs
      
      * lint changes
      
      * merge latest changes
      
      * lint errors
      
      * address PR comments
      
      * initial refactoring
      
      * lint fixes
      
      * fix lint errors
      
      * update comment
      Co-authored-by: default avatarAnjali Sridhar <anj@devfair0443.h2.fair>
      331aed2c
  11. 23 Jan, 2021 1 commit
  12. 21 Jan, 2021 6 commits
    • Benjamin Lefaudeux's avatar
      8a49a748
    • Benjamin Lefaudeux's avatar
      [perf] ShardedDDP & OSS, small improvements (#321) · dd441e9d
      Benjamin Lefaudeux authored
      * Couple of small improvements, no logic changes
      dd441e9d
    • Benjamin Lefaudeux's avatar
      [fix] Lint flattenparams (#320) · bd5d0496
      Benjamin Lefaudeux authored
      * working around broken mypy
      bd5d0496
    • Myle Ott's avatar
      a6ed6da8
    • Myle Ott's avatar
      Add FlattenParamsWrapper (#317) · 35fdf537
      Myle Ott authored
      35fdf537
    • anj-s's avatar
      [refactor] Add batch size to the golden benchmark configs. (#313) · 81841734
      anj-s authored
      
      
      * [refactor]Remove unused variables and refactor common configurations
      
      * move helper function to call site
      
      * fixed lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix import order
      
      * format files
      
      * remove unused imports
      
      * fix lint errors
      
      * fix lint errors
      
      * refactor common utilities
      
      * address PR comments
      
      * sorted imports
      
      * add space
      
      * modify comment
      
      * added doc strings and addressed PR comments.
      
      * addressed PR comments
      
      * added another comment to clarify.
      
      * fixing lint errors
      
      * addressed PR comments
      
      * addressed PR comments
      
      * fixed typos
      
      * initialize var
      
      * rename seq_pred to lm
      
      * fix lint errors
      
      * move datasets and models into separate folders
      
      * add the folders created
      
      * fix lint errors
      
      * create golden config to stats mapping
      
      * add common batching for both synthetic and real data
      
      * fixed lint errors
      
      * enable real pipe benchmakrs with new golden data
      
      * reduce seq len to avoid OOM
      
      * updated golden data
      
      * add logging
      
      * add golden data
      
      * add golden data
      
      * fix lint errors
      
      * add doc string
      
      * remove unused class
      
      * add seq len and batch size to the config
      
      * remove commented out line
      
      * address comments
      
      * rename imports
      
      * refactor common logic in dataloaders
      
      * add golden configs
      
      * lint changes
      
      * merge latest changes
      
      * lint errors
      
      * address PR comments
      Co-authored-by: default avatarAnjali Sridhar <anj@devfair0443.h2.fair>
      81841734
  13. 20 Jan, 2021 2 commits
  14. 19 Jan, 2021 1 commit
    • anj-s's avatar
      [refactor] Enable benchmarks/pipe.py and merge real and synthetic input pipeline. (#286) · 44b9bcd8
      anj-s authored
      
      
      * [refactor]Remove unused variables and refactor common configurations
      
      * move helper function to call site
      
      * fixed lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix lint errors
      
      * fix import order
      
      * format files
      
      * remove unused imports
      
      * fix lint errors
      
      * fix lint errors
      
      * refactor common utilities
      
      * address PR comments
      
      * sorted imports
      
      * add space
      
      * modify comment
      
      * added doc strings and addressed PR comments.
      
      * addressed PR comments
      
      * added another comment to clarify.
      
      * fixing lint errors
      
      * addressed PR comments
      
      * addressed PR comments
      
      * fixed typos
      
      * initialize var
      
      * rename seq_pred to lm
      
      * fix lint errors
      
      * move datasets and models into separate folders
      
      * add the folders created
      
      * fix lint errors
      
      * create golden config to stats mapping
      
      * add common batching for both synthetic and real data
      
      * fixed lint errors
      
      * enable real pipe benchmakrs with new golden data
      
      * reduce seq len to avoid OOM
      
      * updated golden data
      
      * add logging
      
      * add golden data
      
      * add golden data
      
      * fix lint errors
      
      * add doc string
      
      * remove commented out line
      
      * address comments
      
      * rename imports
      
      * refactor common logic in dataloaders
      
      * add golden configs
      
      * lint changes
      Co-authored-by: default avatarAnjali Sridhar <anj@devfair0443.h2.fair>
      44b9bcd8
  15. 16 Jan, 2021 1 commit
  16. 15 Jan, 2021 2 commits
  17. 12 Jan, 2021 1 commit
  18. 11 Jan, 2021 1 commit