ColossalAI/tests/test_checkpoint_io
Edenzzzz f5c84af0b0
[Feature] Zigzag Ring attention (#5905)
* halfway

* fix cross-PP-stage position id length diff bug

* fix typo

* fix typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* unified cross entropy func for all shardformer models

* remove redundant lines

* add basic ring attn; debug cross entropy

* fwd bwd logic complete

* fwd bwd logic complete; add experimental triton rescale

* precision tests passed

* precision tests passed

* fix typos and remove misc files

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add sp_mode to benchmark; fix varlen interface

* update softmax_lse shape by new interface

* change tester name

* remove buffer clone; support packed seq layout

* add varlen tests

* fix typo

* all tests passed

* add dkv_group; fix mask

* remove debug statements

---------

Co-authored-by: Edenzzzz <wtan45@wisc.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-16 13:56:38 +08:00
..
test_gemini_checkpoint_io.py [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
test_gemini_torch_compability.py [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
test_general_checkpoint_io.py [hotfix] fix lr scheduler bug in torch 2.0 (#4864) 2023-10-12 14:04:24 +08:00
test_hybrid_parallel_plugin_checkpoint_io.py [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
test_low_level_zero_checkpoint_io.py [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
test_plugins_huggingface_compatibility.py [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
test_torch_ddp_checkpoint_io.py [misc] Accelerate CI for zero and dist optim (#5758) 2024-06-05 11:25:19 +08:00
test_torch_fsdp_checkpoint_io.py [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
utils.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00