ColossalAI/colossalai/shardformer/modeling
flybird11111 79718fae04
[shardformer] llama support DistCrossEntropy (#5176)
* fix

aaa

fix

fix

fix

* fix

* fix

* test ci

* fix ci

fix

* llama support dist-cross

fix

fix

fix

fix

fix

fix

fix

fix

* fix

* fix

* fix

fix

* test ci

* test ci

* fix

* [Colossal-Llama-2] Add finetuning Colossal-Llama-2 example (#4878)

* Add finetuning Colossal-Llama-2 example

* Add finetuning Colossal-Llama-2 example 2

* Add finetuning Colossal-Llama-2 example and support NEFTuning

* Add inference example and refine neftune

* Modify readme file

* update the imports

---------

Co-authored-by: Xu Yuanchen <yuanchen.xu00@gmail.com>
Co-authored-by: Camille Zhong <44392324+Camille7777@users.noreply.github.com>

* llama support dist-cross

fix

fix

fix

fix

fix

fix

fix

fix

* fix

* fix

* fix

fix

* test ci

* test ci

* fix

* fix ci

* fix ci

---------

Co-authored-by: Yuanchen <70520919+chengeharrison@users.noreply.github.com>
Co-authored-by: Xu Yuanchen <yuanchen.xu00@gmail.com>
Co-authored-by: Camille Zhong <44392324+Camille7777@users.noreply.github.com>
2023-12-13 01:39:14 +08:00
..
chatglm2_6b [hotfix/hybridengine] Fix init model with random parameters in benchmark (#5074) 2023-11-20 20:15:25 +08:00
__init__.py [shardformer] added development protocol for standardization (#4149) 2023-07-04 16:05:01 +08:00
bert.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
blip2.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
bloom.py [gemini] gemini support tensor parallelism. (#4942) 2023-11-10 10:15:16 +08:00
chatglm2.py [shardformer]fix flash attention, when mask is casual, just don't unpad it (#5084) 2023-11-22 16:00:07 +08:00
falcon.py [shardformer]: support gpt-j, falcon, Mistral and add interleaved pipeline for bert (#5088) 2023-11-28 16:54:42 +08:00
gpt2.py [shardformer]fix flash attention, when mask is casual, just don't unpad it (#5084) 2023-11-22 16:00:07 +08:00
gptj.py [shardformer]: support gpt-j, falcon, Mistral and add interleaved pipeline for bert (#5088) 2023-11-28 16:54:42 +08:00
jit.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
llama.py [shardformer] llama support DistCrossEntropy (#5176) 2023-12-13 01:39:14 +08:00
mistral.py [shardformer]: support gpt-j, falcon, Mistral and add interleaved pipeline for bert (#5088) 2023-11-28 16:54:42 +08:00
opt.py [shardformer]fix flash attention, when mask is casual, just don't unpad it (#5084) 2023-11-22 16:00:07 +08:00
sam.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
t5.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
vit.py [hotfix] fix torch 2.0 compatibility (#4936) 2023-10-18 11:05:25 +08:00
whisper.py [shardformer]fix flash attention, when mask is casual, just don't unpad it (#5084) 2023-11-22 16:00:07 +08:00