mirror of https://github.com/hpcaitech/ColossalAI
c9e7d9582d
* 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 |
||
---|---|---|
.. | ||
shard_utils | ||
sharded_model | ||
sharded_optim | ||
sharded_param | ||
__init__.py |