You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ColossalAI/colossalai/tensor/d_tensor/misc.py

15 lines
231 B

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