mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 04:50:17 +00:00
[checkpoint] refactored the API and added safetensors support (#3427)
* [checkpoint] refactored the API and added safetensors support * polish code
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from .checkpoint_io_base import CheckpointIO, ShardCheckpointIndexFile
|
||||
from .checkpoint_io_base import CheckpointIO
|
||||
from .general_checkpoint_io import GeneralCheckpointIO
|
||||
from .index_file import CheckpointIndexFile
|
||||
|
||||
__all__ = ['CheckpointIO', 'ShardCheckpointIndexFile', 'GeneralCheckpointIO']
|
||||
__all__ = ['CheckpointIO', 'CheckpointIndexFile', 'GeneralCheckpointIO']
|
||||
|
Reference in New Issue
Block a user