merges_d / mergekit /io /__init__.py
Auber's picture
Upload folder using huggingface_hub
83a9b56 verified
raw
history blame
985 Bytes
# Copyright (C) 2024 Charles O. Goddard
#
# This software is free software: you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
from mergekit.io.lazy_tensor_loader import (
LazyTensorLoader,
ShardedTensorIndex,
ShardInfo,
)
from mergekit.io.tensor_writer import TensorWriter
__all__ = [
"LazyTensorLoader",
"ShardedTensorIndex",
"ShardInfo",
"TensorWriter",
]