ColossalAI/colossalai
flybird11111 97cd0cd559
[shardformer] fix llama error when transformers upgraded. (#5055)
* fix-llama

* Update llama.py
2023-11-16 21:34:04 +08:00
..
_C [setup] support pre-build and jit-build of cuda kernels (#2374) 2023-01-06 20:50:26 +08:00
_analyzer [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
amp [feature] Add clip_grad_norm for hybrid_parallel_plugin (#4837) 2023-10-12 11:32:37 +08:00
auto_parallel [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
autochunk [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
booster [gemini] gemini support extra-dp (#5043) 2023-11-16 21:03:04 +08:00
checkpoint_io [pipeline,shardformer] Fix p2p efficiency in pipeline, allow skipping loading weight not in weight_map when `strict=False`, fix llama flash attention forward, add flop estimation by megatron in llama benchmark (#5017) 2023-11-16 20:15:59 +08:00
cli [bug] Fix the version check bug in colossalai run when generating the cmd. (#4713) 2023-09-22 10:50:47 +08:00
cluster [gemini] gemini support tensor parallelism. (#4942) 2023-11-10 10:15:16 +08:00
context [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00
device [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
fx [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
inference [Kernels]Update triton kernels into 2.1.0 (#5046) 2023-11-16 16:43:15 +08:00
interface [lazy] support from_pretrained (#4801) 2023-09-26 11:04:11 +08:00
kernel [Kernels]Update triton kernels into 2.1.0 (#5046) 2023-11-16 16:43:15 +08:00
lazy [doc] add lazy init docs (#4808) 2023-09-27 10:24:04 +08:00
legacy [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00
logging [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
moe [moe]: fix ep/tp tests, add hierarchical all2all (#4982) 2023-11-09 06:31:00 +00:00
nn [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00
pipeline [pipeline,shardformer] Fix p2p efficiency in pipeline, allow skipping loading weight not in weight_map when `strict=False`, fix llama flash attention forward, add flop estimation by megatron in llama benchmark (#5017) 2023-11-16 20:15:59 +08:00
shardformer [shardformer] fix llama error when transformers upgraded. (#5055) 2023-11-16 21:34:04 +08:00
tensor [gemini] gemini support tensor parallelism. (#4942) 2023-11-10 10:15:16 +08:00
testing [test] merge old components to test to model zoo (#4945) 2023-10-20 10:35:08 +08:00
utils [moe] merge moe into main (#4978) 2023-11-02 02:21:24 +00:00
zero [gemini] gemini support extra-dp (#5043) 2023-11-16 21:03:04 +08:00
__init__.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
initialize.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00