| 1170 | } |
| 1171 | |
| 1172 | StableAudioSameRuntime::~StableAudioSameRuntime() = default; |
| 1173 | |
| 1174 | const StableAudioSameWeights & require_same_weights( |
| 1175 | std::unique_ptr<StableAudioSameWeights> & weights, |
| 1176 | core::ExecutionContext & execution, |
| 1177 | const std::shared_ptr<const StableAudioAssets> & assets, |
| 1178 | assets::TensorStorageType weight_storage_type) { |
| 1179 | if (!weights) { |
| 1180 | weights = std::make_unique<StableAudioSameWeights>(load_stable_audio_same_weights( |
| 1181 | *assets, |
no test coverage detected