mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-04 10:34:41 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -7,10 +7,8 @@ from colossalai.legacy.zero.sharded_param.sharded_tensor import ShardedTensor
|
||||
|
||||
|
||||
class BaseShardStrategy(ABC):
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""Abstract Shard Strategy. Use to shard a tensors on multiple GPUs.
|
||||
"""
|
||||
"""Abstract Shard Strategy. Use to shard a tensors on multiple GPUs."""
|
||||
super().__init__()
|
||||
|
||||
@abstractmethod
|
||||
|
Reference in New Issue
Block a user