Repository navigation
Conversation
* [zero_to_fp32] 3x less cpu memory requirements * safer version * style
* fused adam can build * use cpu adam to implement fused adam * enable zero stage 1 and 2 for synchronized accelerator (a.k.a. CPU) * remove unused parameters * fix format error * Remove adam class * fix format * support stage3 * reuse simd.h * fix format * make memory_stat return meaningful dict * fix format * add cpu_adam * reuse cpu_adam * header cleanup * fix cpu_adam * fix format, add missing file --------- Co-authored-by: Olatunji Ruwase <[email protected]>
* remove duplicate check for pp and zero stage * remove line * use ZeroStageEnum --------- Co-authored-by: Olatunji Ruwase <[email protected]>
…)` (deepspeedai#4026) Co-authored-by: Logan Adams <[email protected]>
* Moving losses tracking above monitor statement * Fixing loss calculations. * Restoring deleted comment. * formatting --------- Co-authored-by: Olatunji Ruwase <[email protected]> Co-authored-by: Michael Wyatt <[email protected]>
Co-authored-by: Alexander Jipa <[email protected]> Co-authored-by: Jeff Rasley <[email protected]> Co-authored-by: Olatunji Ruwase <[email protected]>
…eepspeedai#3981) * Engine side fix for loading llama checkpoint fine-tuned with zero3 * Fixes to support llama fine-tuning in ds-chat * Refactored the code to avoid using an except block. * formatting * revert permissions change --------- Co-authored-by: Michael Wyatt <[email protected]>
…. 10KB message: 15us -> 12us
Signed-off-by: Wang, Yi A <[email protected]> Co-authored-by: Jeff Rasley <[email protected]> Co-authored-by: Reza Yazdani <[email protected]>
* enable autoTP for MPT Signed-off-by: Wang, Yi A <[email protected]> * add model specific func to auto_tp_model_utils.py Signed-off-by: Wang, Yi A <[email protected]> --------- Signed-off-by: Wang, Yi A <[email protected]> Co-authored-by: Jeff Rasley <[email protected]>
* autoTP for fused qkv weight * fix format * clean up * clean up * clean up * update * make logic flow to util and move to file * fix formatting * remove empty line --------- Co-authored-by: Olatunji Ruwase <[email protected]> Co-authored-by: Reza Yazdani <[email protected]> Co-authored-by: Jeff Rasley <[email protected]>
* Option to override module apply * Removing early partitioning in override * Unit tests * Cleanup * Adapt unit test to succeed * Handle missed params * Add accelerate * Code cleanup * Add doc * Add doc * Add doc
* Fix deadlock when allreduce spin too fast * Change state to enum to increase readability --------- Co-authored-by: Olatunji Ruwase <[email protected]>
Co-authored-by: Zhen Zhang <[email protected]>
* add reproducible compilation environment * fix ci * fix typo for formatting check * Fix casing for format --------- Co-authored-by: Olatunji Ruwase <[email protected]> Co-authored-by: Michael Wyatt <[email protected]> Co-authored-by: Logan Adams <[email protected]> Co-authored-by: Logan Adams <[email protected]>
* Refactor autoTP inference for HE * Formatting * Move redundant functions to autotp * Remove self from loading class * formatting * Some gpt2 autotp path fixes * precommit
* Initial commit * Clean up * Fix formatting
…i#4053) * update partition_uniform util function * formatting --------- Co-authored-by: Olatunji Ruwase <[email protected]>
* unify ccl.py for cpu and gpu' * handle all coll in on func * add coresponding func in cclbackend * add coresponding pybind func * change device setting --------- Co-authored-by: Olatunji Ruwase <[email protected]>
Fix arxiv link
* add available memory check to accelerator * catch case where nvmlInit fails * add pynvml to reqs * fix for cpu systems * Update accelerator/cuda_accelerator.py Co-authored-by: Michael Wyatt <[email protected]> * simplify --------- Co-authored-by: Michael Wyatt <[email protected]>
* add npu support dtypes * add npu fused_adam support * add license * Update accelerator/npu_accelerator.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update op_builder/npu/fused_adam.py Co-authored-by: Hz, Ji <[email protected]> * Update accelerator/npu_accelerator.py Co-authored-by: Hz, Ji <[email protected]> * Update accelerator/npu_accelerator.py Co-authored-by: Hz, Ji <[email protected]> --------- Co-authored-by: jializheng <[email protected]> Co-authored-by: Olatunji Ruwase <[email protected]> Co-authored-by: Hz, Ji <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
* Fixed deepspeed.comm.monitored_barrier call * Formatting --------- Co-authored-by: Logan Adams <[email protected]>
* Add rope_theta for llama config * Add rope_theta to bias_add_transform_0213 * Fix CI problems * Add rope_theta to linear layer --------- Co-authored-by: Michael Wyatt <[email protected]> Co-authored-by: Lev Kurilenko <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
* Switch from HIP_PLATFORM_HCC to HIP_PLATFORM_AMD * Merge changes and fix from deepspeedai#4528
Co-authored-by: Olatunji Ruwase <[email protected]>
* support baichuan model * support baichuan without changing model script
* enable starcode autotp * add get_n_embd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Verified the performance and accuracy are the same as load from pretrain.
t5 acc
mistral acc
t5 perf on spr of diamond with 2 ranks single node:
Inference latency: 0.733 sec.
mistral:
InfInference latency: 1.416 sec.