Skip to content

Commit

Permalink
expose helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogunowicz committed Apr 8, 2024
1 parent 62527af commit 5ef7fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/sparsetensors/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
# limitations under the License.
# flake8: noqa

from .helpers import *
from .safetensors_load import *
2 changes: 1 addition & 1 deletion src/sparsetensors/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

from typing import Optional

from sparsetensors.base import SPARSITY_CONFIG_NAME
from sparsetensors.compressors import ModelCompressor
from sparsetensors.config import CompressionConfig
from sparsetensors.utils.helpers import SPARSITY_CONFIG_NAME
from transformers import AutoConfig


Expand Down

0 comments on commit 5ef7fbf

Please sign in to comment.