Skip to content

Commit c5f5f7e

Browse files
authored
Merge pull request #169 from julian-parker/patch-3
Add correct safetensors import
2 parents a395c8f + 764a7e4 commit c5f5f7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stable_audio_tools/training/autoencoders.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from ..interface.aeiou import audio_spectrogram_image, tokens_spectrogram_image
1919
from ema_pytorch import EMA
2020
from einops import rearrange
21+
from safetensors.torch import save_model
2122

2223
def trim_to_shortest(a, b):
2324
"""Trim the longer of two tensors to the length of the shorter one."""

0 commit comments

Comments
 (0)