ColossalAI/colossalai/shardformer/policies
Jianghai e7cc62d735 [pipeline] All bert models (#4233)
* bloom policy

* llama pipeline forward and tests

* fix the output and attention_mask

* fix name

* bind argument to policy

* Revert "bloom policy"

This reverts commit 8dee68a0a2.

This policy should be revert and copied to feature/bloom

* revert the bloom changes

* cancel unneeded inputs

* gpt

* finish llama

* causal lm and sequence classification

* revision

* add pure pipeline test

* finish some bert models

* finish all bert models

* finish bert tests

* fix bugs

* fix bugs

* fix test pipeline

* fix data gen for qa

* update the set pipeline forward

* shared params

* fix bugs
2023-08-15 23:25:14 +08:00
..
__init__.py [shardformer] init shardformer code structure (#3731) 2023-07-04 16:05:01 +08:00
auto_policy.py [pipeline] All bert models (#4233) 2023-08-15 23:25:14 +08:00
base_policy.py [shardformer] fix base policy (#4229) 2023-08-15 23:25:14 +08:00
bert.py [pipeline] All bert models (#4233) 2023-08-15 23:25:14 +08:00
bloom.py [pipeline] add bloom model pipeline (#4210) 2023-08-15 23:25:14 +08:00
gpt2.py [pipeline] add pipeline forward for variants of gpt2 (#4238) 2023-08-15 23:25:14 +08:00
llama.py [pipeline] All bert models (#4233) 2023-08-15 23:25:14 +08:00
opt.py [shardformer] support lazy init (#4202) 2023-08-15 23:25:14 +08:00
t5.py [shardformer] support lazy init (#4202) 2023-08-15 23:25:14 +08:00
vit.py [shardformer] rename policy file name 2023-08-15 23:25:14 +08:00