| 290 | throw std::runtime_error("VibeVoice F16 scalar byte size mismatch: " + name); |
| 291 | } |
| 292 | ggml_fp16_to_fp32_row(reinterpret_cast<const ggml_fp16_t *>(tensor.bytes.data()), &value, 1); |
| 293 | return value; |
| 294 | } |
| 295 | case assets::TensorStorageType::BF16: { |
| 296 | if (tensor.bytes.size() != sizeof(ggml_bf16_t)) { |
| 297 | throw std::runtime_error("VibeVoice BF16 scalar byte size mismatch: " + name); |
| 298 | } |
| 299 | ggml_bf16_to_fp32_row(reinterpret_cast<const ggml_bf16_t *>(tensor.bytes.data()), &value, 1); |
no outgoing calls
no test coverage detected