ColossalAI/colossalai/shardformer/policies
FoolPlayer dd2bf02679 [shardformer] support SAM (#4231)
* 1.support sam 2.add fused qkv for nn.Linear

* update utils support set element in list

* overtwrite SamVisionAttention foward to use DropoutForParallelInput

* remove unused code
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 [shardformer] support SAM (#4231) 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] refactor test pipeline and remove useless utils in pipeline (#4324) 2023-08-15 23:25:14 +08:00
bloom.py [pipeline] reformat for unified design (#4283) 2023-08-15 23:25:14 +08:00
gpt2.py [pipeline] refactor gpt2 pipeline forwards (#4287) 2023-08-15 23:25:14 +08:00
llama.py [pipeline] reformat for unified design (#4283) 2023-08-15 23:25:14 +08:00
opt.py [pipeline] fix return_dict/fix pure_pipeline_test (#4331) 2023-08-15 23:25:14 +08:00
sam.py [shardformer] support SAM (#4231) 2023-08-15 23:25:14 +08:00
t5.py [pipeline] add pipeline support for all T5 models (#4310) 2023-08-15 23:25:14 +08:00
vit.py Feature/vit support (#4182) 2023-08-15 23:25:14 +08:00