1. 20 Oct, 2021 1 commit
    • Quentin Duval's avatar
      [feat] layer memory tracking (#808) · ad92220c
      Quentin Duval authored
      
      
      * [feat] layer memory tracking
      
      * [feat] layer memory tracking (add tests in CI)
      
      * [feat] layer memory tracking: doc typos
      
      * [feat] layer memory tracking: mypy fixes
      
      * [feat] layer memory tracking: fixes for FSDP all gather tracking on pytorch 1.9 and above
      
      * [feat] layer memory tracking: lint
      
      * [feat] layer memory tracking: mypy
      Co-authored-by: default avatarQuentinDuval <QuentinDuval@users.noreply.github.com>
      ad92220c
  2. 22 Sep, 2021 1 commit
    • tmarkstrum's avatar
      Switch default branch from master to main (#807) · b09ddb2d
      tmarkstrum authored
      * update master branch to main
      
      * added FAQ about updating the branch from master to main
      
      * fixed some false positive correction
      
      * added what is new section
      
      * fixed the quoted code area
      
      * added release what is new section
      
      * added a step in release.md
      
      * fixed a word
      b09ddb2d
  3. 21 Sep, 2021 1 commit
  4. 10 Aug, 2021 1 commit
    • Rahul Iyer's avatar
      Fix pre-commit hook failures (#756) · 31d600cc
      Rahul Iyer authored
      Pre-commit hook fails when run on all files for three reasons:
      (see trace below)
      
      1. Trailing whitespace on multiple files
      2. mypy fails to load numpy and then subsequently fails to load
      LazyModule from pipe.py
      3. isort sees issues with known_third_party packages
      
      ```
      > pre-commit run --all-files
      
      Trim Trailing Whitespace.................................................Failed
      - hook id: trailing-whitespace
      - exit code: 1
      - files were modified by this hook
      
      Fixing docs/source/conf.py
      Fixing fairscale/experimental/nn/auto_shard.py
      Fixing docs/source/deep_dive/activation_checkpointing.rst
      Fixing docs/source/tutorials/pipe.rst
      Fixing docs/source/installation_instructions.rst
      Fixing docs/source/deep_dive/pipeline_parallelism.rst
      Fixing docs/source/tutorials/activation_checkpointing.rst
      Fixing docs/source/tutorials/offload_model.rst
      Fixing docs/source/deep_dive/oss_sdp_fsdp.rst
      Fixing docs/source/what_is_fairscale.rst
      Fixing CHANGELOG.md
      Fixing fairscale/experimental/nn/offload.py
      Fixing docs/source/index.rst
      Fixing docs/source/deep_dive/adascale.rst
      Fixing README.md
      Fixing docs/source/tutorials/oss.rst
      Fixing docs/source/deep_dive/offload.rst
      
      Check python ast.........................................................Passed
      Check for merge conflicts................................................Passed
      Don't commit to branch...................................................Passed
      Check for added large files..............................................Passed
      Fix End of Files.........................................................Failed
      - hook id: end-of-file-fixer
      - exit code: 1
      - files were modified by this hook
      
      Fixing requirements.txt
      Fixing docs/source/getting_started.rst
      Fixing docs/source/installation_instructions.rst
      Fixing codecov.yml
      Fixing docs/source/deep_dive/adascale.rst
      Fixing docs/source/tutorials/oss.rst
      Fixing docs/source/deep_dive/offload.rst
      
      black....................................................................Passed
      flake8...................................................................Passed
      seed isort known_third_party.............................................Failed
      - hook id: seed-isort-config
      - exit code: 1
      - files were modified by this hook
      isort....................................................................Passed
      mypy.....................................................................Failed
      - hook id: mypy
      - exit code: 2
      
      setup.cfg:45: error: Error importing plugin 'numpy.typing.mypy_plugin': No module named 'numpy'
      Found 1 error in 1 file (checked 197 source files)
      ```
      31d600cc
  5. 27 May, 2021 1 commit
    • anj-s's avatar
      [docs] Revamp FairScale documentation (#698) · dcfb7a99
      anj-s authored
      * add tutorials
      
      * add new context, modify and delete existing docs
      
      * remove duplicate labels
      
      * modify layout and more nits
      
      * address comments
      
      * fix merge conflicts
      dcfb7a99
  6. 15 Apr, 2021 1 commit
  7. 02 Apr, 2021 2 commits
  8. 25 Mar, 2021 1 commit
  9. 09 Mar, 2021 1 commit
  10. 25 Jan, 2021 1 commit
  11. 16 Dec, 2020 1 commit
    • Min Xu's avatar
      [feat]: AdaScale work with lr_scheduler and tests, examples (#229) · d65cd838
      Min Xu authored
      * [doc]: AdaScale example and notes
      
      * formatted notes correctly as suggested by Benjamin
      
      * added feature and unit test to make sure lr_scheduler works
      
      * update the example with lr_scheduler
      
      * fixed doc with "make html"
      
      * addressed Mike's suggestions
      d65cd838
  12. 05 Dec, 2020 1 commit
  13. 01 Dec, 2020 1 commit
  14. 18 Nov, 2020 1 commit
  15. 17 Nov, 2020 1 commit
    • Min Xu's avatar
      [doc] add AdaScale API doc (#191) · 587b707d
      Min Xu authored
      - removed experimental warning as we have validated it on cifar and
      imagenet, transformer is looking good so far too.
      - fixed API doc formatting
      - make it consistent with the other code in the repo
      - tested by making the doc locally and inspect the results
      587b707d
  16. 30 Oct, 2020 1 commit
  17. 21 Oct, 2020 1 commit
    • Vittorio Caggiano's avatar
      Classification Examples of oss + pipe | tutorials/doc update (#119) · 53043d26
      Vittorio Caggiano authored
      
      
      * wip_example
      
      * [wip]mnist_pipe_example
      
      * [wip]mnist_pipe_example
      
      * [wip]mnist_pipe_example
      
      * [wip]mnist_pipe_example
      
      * [wip]mnist_oss_example
      
      * working prototype
      
      * added tutorial script
      
      * update tutorial
      
      * Update mnist_test_oss.py
      
      * Update mnist_test_oss.py
      
      * Update mnist_test_oss.py
      
      * Update mnist_test_pipe.py
      
      * Update tutorial_oss.py
      
      * Update tutorial_pipe.py
      
      * Update tutorial_pipe.py
      
      * Update mnist_test_oss.py
      
      * Update tutorial_pipe.py
      
      * Update mnist_test_pipe.py
      
      * Update tutorial_pipe.py
      
      * fix black
      
      * fix flacke8
      
      * general fixes
      
      * add example oss+pipe
      
      * fix isort
      
      * Update mnist_test_pipe.py
      
      * fix black
      Co-authored-by: default avatarVittorio Caggiano <caggiano@devfair0253.h2.fair>
      53043d26
  18. 18 Oct, 2020 1 commit
  19. 16 Oct, 2020 1 commit
  20. 10 Oct, 2020 1 commit
  21. 09 Oct, 2020 1 commit
  22. 24 Sep, 2020 1 commit
  23. 22 Sep, 2020 1 commit
  24. 17 Sep, 2020 1 commit
  25. 12 Sep, 2020 1 commit