Spaces:
Sleeping
Sleeping
Update heartlib/pipelines/music_generation.py
Browse files
heartlib/pipelines/music_generation.py
CHANGED
|
@@ -126,6 +126,7 @@ class HeartMuLaGenPipeline:
|
|
| 126 |
self.codec_path,
|
| 127 |
device_map=self.codec_device,
|
| 128 |
dtype=self.codec_dtype,
|
|
|
|
| 129 |
)
|
| 130 |
self.lazy_load = lazy_load
|
| 131 |
|
|
|
|
| 126 |
self.codec_path,
|
| 127 |
device_map=self.codec_device,
|
| 128 |
dtype=self.codec_dtype,
|
| 129 |
+
ignore_mismatched_sizes=True
|
| 130 |
)
|
| 131 |
self.lazy_load = lazy_load
|
| 132 |
|