1
0
mirror of https://github.com/hpcaitech/ColossalAI.git synced 2025-05-08 00:18:25 +00:00
ColossalAI/colossalai
Li Xingjian 8554585a5f
[Inference] Fix flash-attn import and add model test ()
* Fix torch int32 dtype

Signed-off-by: char-1ee <xingjianli59@gmail.com>

* Fix flash-attn import

Signed-off-by: char-1ee <xingjianli59@gmail.com>

* Add generalized model test

Signed-off-by: char-1ee <xingjianli59@gmail.com>

* Remove exposed path to model

Signed-off-by: char-1ee <xingjianli59@gmail.com>

* Add default value for use_flash_attn

Signed-off-by: char-1ee <xingjianli59@gmail.com>

* Rename model test

Signed-off-by: char-1ee <xingjianli59@gmail.com>

---------

Signed-off-by: char-1ee <xingjianli59@gmail.com>
2024-06-12 14:13:50 +08:00
..
_analyzer [test] Fix/fix testcase () 2024-06-03 15:26:01 +08:00
_C Clean up 2024-06-07 09:09:29 +00:00
accelerator [hotfix] fix typo change MoECheckpintIO to MoECheckpointIO () 2024-03-05 21:52:30 +08:00
amp [npu] change device to accelerator api () 2024-01-09 10:20:05 +08:00
auto_parallel [misc] refactor launch API and tensor constructor () 2024-04-29 10:40:11 +08:00
autochunk [hotfix] Fix examples no pad token & auto parallel codegen bug; () 2024-04-18 18:15:50 +08:00
booster [gemini] optimize reduce scatter d2h copy () 2024-06-05 14:23:13 +08:00
checkpoint_io [lora] add lora APIs for booster, support lora for TorchDDP () 2024-04-28 10:51:27 +08:00
cli [devops] fix extention building () 2024-03-05 15:35:54 +08:00
cluster [Feature] Distributed optimizers: Lamb, Galore, CAME and Adafactor () 2024-05-14 13:52:45 +08:00
context [Fix]: implement thread-safety singleton to avoid deadlock for very large-scale training scenarios () 2024-04-25 14:45:52 +08:00
device [Feature] Distributed optimizers: Lamb, Galore, CAME and Adafactor () 2024-05-14 13:52:45 +08:00
fx [test] Fix/fix testcase () 2024-06-03 15:26:01 +08:00
inference [Inference] Fix flash-attn import and add model test () 2024-06-12 14:13:50 +08:00
interface [Feature] Distributed optimizers: Lamb, Galore, CAME and Adafactor () 2024-05-14 13:52:45 +08:00
kernel [NFC] Fix code factors on inference triton kernels () 2024-05-21 22:12:15 +08:00
lazy [lazy] fix lazy cls init () 2024-05-17 18:18:59 +08:00
legacy [sync] Sync feature/colossal-infer with main 2024-05-20 15:50:53 +00:00
logging [misc] update pre-commit and run all files () 2023-09-19 14:20:26 +08:00
moe [hotfix] fix typo change MoECheckpintIO to MoECheckpointIO () 2024-03-05 21:52:30 +08:00
nn [misc] fix dist logger () 2024-06-05 15:04:22 +08:00
pipeline [LowLevelZero] low level zero support lora () 2024-04-28 10:51:27 +08:00
quantization [Feature] qlora support () 2024-04-28 10:51:27 +08:00
shardformer [Inference] Fix flash-attn import and add model test () 2024-06-12 14:13:50 +08:00
tensor [Feature] Distributed optimizers: Lamb, Galore, CAME and Adafactor () 2024-05-14 13:52:45 +08:00
testing [misc] Accelerate CI for zero and dist optim () 2024-06-05 11:25:19 +08:00
utils Merge pull request from hpcaitech/feature/npu 2024-01-29 13:49:39 +08:00
zero [gemini] optimize reduce scatter d2h copy () 2024-06-05 14:23:13 +08:00
__init__.py [devops] remove post commit ci () 2024-04-08 15:09:40 +08:00
initialize.py [misc] refactor launch API and tensor constructor () 2024-04-29 10:40:11 +08:00