1
0
mirror of https://github.com/hpcaitech/ColossalAI.git synced 2025-09-23 02:20:49 +00:00
Files
YuliangLiu0306 cd2b0eaa8d [DTensor] refactor sharding spec ()
* [autoparallel] refactor sharding spec

* rename function name
2023-03-07 11:08:11 +08:00

15 lines
231 B
Python

class LayoutException(Exception):
pass
class DuplicatedShardingDimensionError(LayoutException):
pass
class ShardingNotDivisibleError(LayoutException):
pass
class ShardingOutOfIndexError(LayoutException):
pass