| 1033 | if (status != GGML_STATUS_SUCCESS) { |
| 1034 | throw std::runtime_error("Vevo2 Coco tokenizer graph compute failed"); |
| 1035 | } |
| 1036 | Vevo2TokenSequence out; |
| 1037 | out.ids.resize(static_cast<size_t>(output_frames)); |
| 1038 | ggml_backend_tensor_get(ids_output, out.ids.data(), 0, out.ids.size() * sizeof(int32_t)); |
| 1039 | return out; |
| 1040 | } |