1. 26 Jul, 2022 1 commit
  2. 22 Jul, 2022 1 commit
  3. 21 Jul, 2022 1 commit
  4. 19 Jul, 2022 1 commit
    • Min Xu's avatar
      [feat]: add per-tensor add to repo (#1033) · 4d58a294
      Min Xu authored
      
      
      * formatting change, no logical change
      
      * formatting and name change, no logical change
      
      * [refactor] sha1_store's path arg
      
      - make sha1_store's path arg directly the path, not its parent
      - this is because sha1_store is not like a .git or a .wgit dir, which is
        nested inside another "working" dir. It is simply a store, which
        is using a given dir.
      - updated repo and tests as well.
      
      * remove a test warning due to deprecated API from torch
      
      * [refactor] change how dot_wgit_dir_path is used
      
      - it should only be assigned in __init__.
      - we use it in error checking in the rest APIs.
      
      * simplify the init a bit
      
      * refactor the sanity check
      
      * moved some functions, no code change
      
      * [feat] added per-tensor add to the repo
      
      * enabled gzip compression on add
      
      * fix a unit test
      
      * add a note
      
      * make sha1 store work on general dict
      
      * handle general state_dict from a model, not just a module's one-level OrderedDict
      
      * formatting
      Co-authored-by: default avatarMin Xu <min.xu.public@gmail.com>
      4d58a294
  5. 18 Jul, 2022 1 commit
  6. 15 Jul, 2022 2 commits
  7. 14 Jul, 2022 2 commits
  8. 12 Jul, 2022 2 commits
  9. 05 Jul, 2022 1 commit
    • Riyasat Ohib's avatar
      weigit status and checking for file modification and tracking (#1021) · 5b5db28d
      Riyasat Ohib authored
      * [Fix] Restructure for wgit availability as a package
      
      * Preliminary implementation of wgit status
      
      * [Feat] Addition of wgit status
      1. Functionalities to check the status of the repo.
      2. Checks if file has been modified, whether changes added or added changes commited.
      
      * [test] Addition of tests for weigit status
      1. Some minor refactors and docstring changes
      
      * [Fix] Changes in repo status test
      
      * [test] status test fix
      1. made the test status printing order independent
      
      * [refactor] Metadata dirs mirroring chkpt paths, changes in wgit status
      1. Metadata files are now created within wgit with directory structure mirroring the relative paths of the checkpoint/files they track.
      2. Changes in status: 3 statuses now.
      3. Changes in tests.
      4. Some code refactoring.
      
      * [cleanup] minor changes in comments and cleanup
      5b5db28d
  10. 29 Jun, 2022 2 commits
  11. 27 Jun, 2022 1 commit
  12. 25 Jun, 2022 1 commit
  13. 24 Jun, 2022 3 commits
  14. 19 Jun, 2022 1 commit
  15. 15 Jun, 2022 1 commit
  16. 14 Jun, 2022 1 commit
    • Riyasat Ohib's avatar
      Addition of wgit add and wgit commit functionalities. Includes refactors and new classes. (#1002) · c506e7ed
      Riyasat Ohib authored
      * [feat] Adds the implementaion for the wgit add functionality, with sha1 hash creation, reference tracking, dependency graph creation and all related functionalities for the wgit add method.
      
      * [feat] Adds the wgit add and wgit commit functionalities and major refactors.
      
      1. Adds the wgit add and wgit commit functionalities to the api.
      2. Introduces a new PyGit class that wraps the internal .wgit/.git repo.
      3. Refactors the Repo class in the api, and introduces some methods.
      4. .Refactors all the classes which no longer uses @staticmethods and now uses object istances instead.
      5.  Moved many of the directory path handling code from os.path to pathlib library.
      
      * [Feat] Combines the Repo and Weigit classes. Separate claases into separate modules.
      
      1. Combines the functionalities of the WeiGit and Repo class into a single WeiGitRepo class.
      2. Classes are now separated into their own modules.
      3. Moved some functions and staticmethod to utils.
      4. Adds a range of tests for add and commit functionalities of weigit.
      
      * [fix] adds a new test to the ci_test_list_3
      
      * [fix] test fix
      
      * [fix] test fix
      
      * [Feat] Directory restructuring, type checking and some standardization
      1. Restructured the directory and moved wgit to fairscale/experimental/wgit so that it can be found as a package when pip installed.
      2. Added a range of type checking
      3. Some refactors
      
      * [Feat][Refactor] Directory restructuring, test addition and type checking
      1. Restructed the test directory
      2. Added and modified a few wgit tests.
      3. Added some type checking to the code
      
      * test fix
      
      * "setup fix and repo checking added in cli"
      
      * [Feat] Better initialization and error handling for init and wgit subcommands. Test reorg.
      
      * [refactor] Changes in classes, encapsulation and addition of PyGit test.
      
      * [Feat][Refactor]
      1. Changed some class method arguments for better encapsulation for Sha1_store.
      2. Moved sha1 hash calculation within sha1_store.
      3. Some standardization and code clean up of unnecessary snippets.
      4. Added new tests for the PyGit and Sha1_Store class.
      c506e7ed
  17. 12 Jun, 2022 1 commit
  18. 01 Jun, 2022 1 commit
    • Riyasat Ohib's avatar
      wgit functionalities and skeleton, move to subparsers and addition of Repo Class (#1001) · 3b727945
      Riyasat Ohib authored
      * [feat] Adding wgit within fairscale/experimental/wgit.
      
      * [feat] adding experimental wgit
      
      * [feat] wgit init functionalities and skeleton for the rest.
      
      * adapted the suggested changes
      
      * repo class working
      
      * [feat] wgit functionalities and skeleton. Addition of subparsers and repo class along with some changes.
      
      * [feat] wgit functionalities and skeleton, move to subparsers and addition of Repo Class
      
      * [feat] wgit functionalities and skeleton, move to subparsers and addition of Repo Class
      
      * [docs] changed a comment in .gitignore
      
      * [refactor] changed the sequene of tests in ci_test_list2.txt
      3b727945
  19. 31 May, 2022 1 commit
  20. 30 May, 2022 1 commit
  21. 27 May, 2022 1 commit
  22. 26 May, 2022 3 commits
  23. 25 May, 2022 1 commit
  24. 14 May, 2022 1 commit
  25. 13 May, 2022 3 commits
  26. 12 May, 2022 1 commit
  27. 10 May, 2022 1 commit
  28. 09 May, 2022 1 commit
  29. 02 May, 2022 1 commit
    • Paul Johnson's avatar
      [FSDP] ssd_offload fixing backward path (grad_fn) for SsdFlatParameter and... · 51b53ddb
      Paul Johnson authored
      [FSDP] ssd_offload fixing backward path (grad_fn) for SsdFlatParameter and SsdFlatParameterView (#974)
      
      * [FSDP] fixing backward path for SsdFlatParameter and SsdFlatParameterView when overriding .data
      
      * Get ssd_offload unit tests passing
      
      * [FSDP] get all test_fsdp_offload tests passing w/ ssd_offload on
      
      * Update changelog
      51b53ddb
  30. 27 Apr, 2022 1 commit