mirror of https://github.com/hpcaitech/ColossalAI
![]() * Remove unnecessary calls to deepcopy * Build DimSpec's difference dict only once This change considerably speeds up construction speed of DimSpec objects. The difference_dict is the same for each DimSpec object, so a single copy of it is enough. * Fix documentation of DimSpec's difference method |
||
---|---|---|
.. | ||
d_tensor | ||
moe_tensor | ||
padded_tensor | ||
__init__.py | ||
colo_parameter.py | ||
colo_tensor.py | ||
comm_spec.py | ||
param_op_hook.py | ||
shape_consistency.py | ||
sharding_spec.py | ||
utils.py |