ColossalAI/colossalai/legacy
flybird11111 aaafb38851
[Device]Support npu (#6159)
* support npu

* support pretrain

support pretrain

fix

* support lora

fix

fix

* support chatglm

fix

fxi

fix

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

fix

fix

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

fix

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

fix

fix

fix

* Update train.py

* Update train.py

* fix

* fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix

* fix

* fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-17 15:42:39 +08:00
..
amp [feat] refactored extension module (#5298) 2024-01-25 17:01:48 +08:00
builder [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
communication [Device]Support npu (#6159) 2024-12-17 15:42:39 +08:00
context [pre-commit.ci] pre-commit autoupdate (#5572) 2024-07-01 17:16:41 +08:00
engine [npu] change device to accelerator api (#5239) 2024-01-09 10:20:05 +08:00
inference [pre-commit.ci] pre-commit autoupdate (#5572) 2024-07-01 17:16:41 +08:00
moe [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
nn [Feature] Zigzag Ring attention (#5905) 2024-08-16 13:56:38 +08:00
pipeline [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
registry [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
tensor Fix ColoTensorSpec for py11 (#5440) 2024-03-26 15:56:49 +08:00
trainer [npu] change device to accelerator api (#5239) 2024-01-09 10:20:05 +08:00
utils [feat] refactored extension module (#5298) 2024-01-25 17:01:48 +08:00
zero Merge branch 'main' into sync/npu 2024-01-18 12:05:21 +08:00
__init__.py [bug] fix get_default_parser in examples (#4764) 2023-09-21 10:42:25 +08:00
constants.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
core.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
global_variables.py [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
initialize.py [npu] change device to accelerator api (#5239) 2024-01-09 10:20:05 +08:00