Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to enable/disable act ckpt and seq parallelism in GPT (NV…
…IDIA#6327) * Add ability to enable/disable act ckpt and seq parallelism Signed-off-by: Markel Sanz Ausin <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove num_micro_batches_with_partial_activation_checkpoints Signed-off-by: Markel Sanz Ausin <[email protected]> * Added property to self.model and added restore/reset config values. Signed-off-by: Markel Sanz Ausin <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use self.model property Signed-off-by: Markel Sanz Ausin <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Removed original_act_ckpt Signed-off-by: Markel Sanz Ausin <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add docstrings to reset/restore act ckpt Signed-off-by: Markel Sanz Ausin <[email protected]> * Property removed from self.model and replaced with get_gpt_module_list function. Signed-off-by: Markel Sanz Ausin <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Markel Sanz Ausin <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Oleksii Kuchaiev <[email protected]> Signed-off-by: hsiehjackson <[email protected]>
- Loading branch information