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 |
||
---|---|---|
.. | ||
__init__.py | ||
base_shard_strategy.py | ||
tensor_shard_strategy.py |