ColossalAI/colossalai
Jiarui Fang c9e7d9582d [zero] polish shard strategy (#310)
* init shard param from shape tuple

* add more unitest for shard param

* add set_payload method for ShardedParam

* [zero] add shareded tensor class

* polish code

* add shard stratgy

* move shard and gather logic to shard strategy from shard tensor.

* polish code
2022-03-11 15:50:28 +08:00
..
amp added buffer sync to naive amp model wrapper (#291) 2022-03-11 15:50:28 +08:00
builder
communication
context
engine fix sharded param hook and unit test 2022-03-11 15:50:28 +08:00
kernel
logging
nn
registry
trainer
utils [profiler] primary memory tracer 2022-03-11 15:50:28 +08:00
zero [zero] polish shard strategy (#310) 2022-03-11 15:50:28 +08:00
__init__.py
constants.py
core.py
global_variables.py
initialize.py added buffer sync to naive amp model wrapper (#291) 2022-03-11 15:50:28 +08:00