You need to sign in or sign up before continuing.
- 24 Jun, 2022 1 commit
-
-
Riyasat Ohib authored
weigit: Fixed file tracking with metadata. Changes in sha1_store for better encapsulation. Docstrings. (#1013) * [Feat] Fixed file tracking with metadata. Change in sha1_store for better encapsulation. Tests. 1. Adds metadata creation per added file and independently tracks version of each separate file added. That is, now creates separate metadata files for each file to be tracked. 2. Changes in reference tracking to accomodate the change in 1. 3. Somes changes in SHA1_store for better encapsulation. 4. Modified the tests to reflect above. * [Feat] 1. Added docstrings to the classes. 2. Added a recursively search for the weigit repo upto root. 3. Some refactor of the codes. * [Feat][Refactor] repo and sha1_store add modification and separation. Modification in reference tracking 1. Separation of add functionalities of repo.add and sha1_store.add. 2. Updated the reference tracking. 3. New tests and code refactor * [Fix] Sha1_store fix overlap in first two characters of sha1 hash. 1. Accept multiple sha1 hash's with same two starting characters and create directories accordingly. * [Fix] Minor refactoring and test fix * [Fix] Fix for pygit class initialization in cases when no .gitconfig file is available Co-authored-by:Riyasat Ohib <riohib@devfair0756.h2.fair>
-
- 19 Jun, 2022 1 commit
-
-
Crutcher Dunnavant authored
* ThreadLocal to ThreadLocalCheckpointState dataclass * remove notes
-
- 15 Jun, 2022 1 commit
-
-
Crutcher Dunnavant authored
* Fix CI * ci pythonpath
-
- 14 Jun, 2022 1 commit
-
-
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.
-
- 12 Jun, 2022 1 commit
-
-
Crutcher Dunnavant authored
-
- 01 Jun, 2022 1 commit
-
-
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
-
- 31 May, 2022 1 commit
-
-
Crutcher Dunnavant authored
-
- 30 May, 2022 1 commit
-
-
Crutcher Dunnavant authored
-
- 27 May, 2022 1 commit
-
-
Min Xu authored
* [chore] fix pyenv download cache * fix Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
- 26 May, 2022 3 commits
-
-
Crutcher Dunnavant authored
-
Min Xu authored
* [chore] move to 3.8/3.9/3.10 * move to 1.11 for stable version * fixed version check * fixed cache file names * update the precommit flow too Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
Crutcher Dunnavant authored
-
- 25 May, 2022 1 commit
-
-
Riyasat Ohib authored
* [feat] Adding wgit within fairscale/experimental/wgit. * [feat] adding experimental wgit
-
- 14 May, 2022 1 commit
-
-
Riyasat Ohib authored
-
- 13 May, 2022 3 commits
-
-
Crutcher Dunnavant authored
"Lightning" not "Lightening"
-
Min Xu authored
This reverts commit 0bcf4dae . Co-authored-by:
Min Xu <min.xu.public@gmail.com>
-
Riyasat Ohib authored
-
- 12 May, 2022 1 commit
-
-
Min Xu authored
Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
- 10 May, 2022 1 commit
-
-
Min Xu authored
Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
- 09 May, 2022 1 commit
-
-
Min Xu authored
The pyenv version was moving forward and now it is fixed to v2.2.0. Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
- 02 May, 2022 1 commit
-
-
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
-
- 27 Apr, 2022 1 commit
-
-
Carlos Mocholí authored
-
- 26 Apr, 2022 1 commit
-
-
Min Xu authored
Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
- 25 Apr, 2022 2 commits
-
-
Min Xu authored
* [chore] update nightly version * use yesterday's Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
Joel Stremmel authored
-
- 06 Apr, 2022 1 commit
-
-
Paul Johnson authored
Improvements to ssd_offload to support pickling/unpickling SsdTensorHandle (and derived classes) (#964) Verified that FSDP wrapped models using ssd_offload checkpoint save and restore correctly
-
- 30 Mar, 2022 1 commit
-
-
Paul Johnson authored
This is no longer needed since isort's version is 5.10 Also fix black version to 22.3.0 to fix issue with click dependency. Update files that now fail with new version of black {a = 2 ** 4} -> {a = 2**4}
-
- 16 Mar, 2022 1 commit
-
-
Christopher Dewan authored
* made gradient predivide factor configurable * fix lints Co-authored-by:Your Name <you@example.com>
-
- 09 Mar, 2022 2 commits
-
-
Anupam Bhatnagar authored
-
tmarkstrum authored
* [chore] 0.4.6 release * added the third party libs removed by precommit
-
- 08 Mar, 2022 1 commit
-
-
Min Xu authored
* copyright headers * isort and pyproject.toml * precommit and requirement for isort-seed-config * mypy * dummy change * numpy version for pre-commit * fix mypy issue caused by numpy Co-authored-by:Min Xu <min.xu.public@gmail.com>
-
- 05 Mar, 2022 1 commit
-
-
Dmitry Vinnik authored
* Adding ELI5 video to Fairscale * docs: add GH button in support of Ukraine ## Summary: Our mission at Meta Open Source is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.
-
- 04 Mar, 2022 1 commit
-
-
Vittorio Caggiano authored
-
- 03 Mar, 2022 1 commit
-
-
Min Xu authored
* add an ignore file * [fix] FSDP: handle the lazy_init better - when state_dict and load_state_dict is called, let'em not change the lazy_init state. * changelog * longer timeout * Revert "longer timeout" This reverts commit 00cc145fe86210a0972a1e7ba4f37531b9e091eb. * testing * adding the failed test * fix the global to local id * formatting * more complete fix and test * minor fix for an assert * update changelog * remove an extra line * Update fairscale/nn/data_parallel/fsdp_optim_utils.py Co-authored-by:
anj-s <32556631+anj-s@users.noreply.github.com> * Update fairscale/nn/data_parallel/fsdp_optim_utils.py Co-authored-by:
anj-s <32556631+anj-s@users.noreply.github.com> * Update fairscale/nn/data_parallel/fsdp_optim_utils.py Co-authored-by:
anj-s <32556631+anj-s@users.noreply.github.com> * addressed review comments Co-authored-by:
Min Xu <min.xu.public@gmail.com> Co-authored-by:
anj-s <32556631+anj-s@users.noreply.github.com>
-
- 02 Mar, 2022 2 commits
-
-
Dmitry Vinnik authored
-
foreveronehundred authored
* [FSDP] Add an arg for FSDP __init__ Add an arg, disable_reshard_on_root, for FSDP __init__ to handle the following issue https://github.com/facebookresearch/fairscale/issues/878 For some cases (models wrapped by autowrap), the parameters (of root modules) needs to be sharded, and reshard_after_forward should not be set to False. "disable_reshard_on_root" is for users to choose whether to force reshard_after_forward of root modules to be False or not. * Update fully_sharded_data_parallel.py Modified the description of the feature to explain more clear. * Update fairscale/nn/data_parallel/fully_sharded_data_parallel.py Update the comments for disable_reshard_on_root Co-authored-by:
Min Xu <24926999+min-xu-ai@users.noreply.github.com> * Modified the comments Modified the comments of disable_reshard_on_root * Add a new argument for OSS __init__ Add a new argument for OSS __init__ to force the OSS to apply "_broadcast_object" for rebuilding the sharded optimizer. For more details, please see https://github.com/facebookresearch/fairscale/issues/937 * Remove redundant space Remove redundant space Co-authored-by:
Min Xu <24926999+min-xu-ai@users.noreply.github.com>
-
- 23 Feb, 2022 2 commits
- 22 Feb, 2022 1 commit
-
-
anj-s authored
* add benchmarks for fsdp * fix lint errors * clean up * clean up unused flags * add the benchmarks * remove unused args * fix lint errors * fix lint errors * update command line * add support for multiple devices * try full fp16 mode * try full fp16 mode * lint errors * merge main * lint errors * lint errors * lint error * update intersphinx mapping for numpy * update intersphinx mapping for numpy * skip test * added golden configs * use synthetic benchmarks * fix fn name * fix cuda device id * fix verify * lint fix
-
- 15 Feb, 2022 1 commit
-
-
ruanslv authored
* Update CHANGELOG.md Adding https://github.com/facebookresearch/fairscale/pull/930 to changelog * Update CHANGELOG.md Co-authored-by:
Min Xu <24926999+min-xu-ai@users.noreply.github.com>
-