Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Error when input file is longer than 5min

未关闭
#55 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
cpp

调研方向

从 parakeet-cli 的 transcribe 入口点开始,使用 issue 中的命令重现可正常工作的 5 分钟输入与失败的 10 分钟输入之间的差异。检查报告的 ggml_gallocr 和 Backend::compute 失败附近的 Vulkan 分配与计算路径。完成的标准是:更长的音频不再耗尽设备内存或导致 segfault,同时保留转录输出。

由索引模型根据 Issue 内容生成。

描述

Transcription with parakeet is working ok with small files, but with files a longer than 5min it gives the following error: ErrorOutOfDeviceMemory.

I'm using the vulkan version.

Steps to reproduce

I have a 2hr+ recording that want to transcribe, gives error and did try with 10min, like this:

$ ffmpeg -t 00:10:00 -i in.wav -c copy p1.wav

$ ffprobe p1.wav
Input #0, wav, from 'p1.wav':
  Metadata:
    encoder         : Lavf62.12.102
  Duration: 00:10:00.00, bitrate: 705 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s

$ parakeet-cli transcribe --model $HOME/00_M/tdt-0.6b-v3-q4_k.gguf --input p1.wav --json > out.json
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = NVIDIA GeForce GTX 1660 SUPER (NVIDIA) | uma: 0 | fp16: 1 | bf16: 0 | warp size: 32 | shared memory: 49152 | int dot: 1 | matrix cores: none
[parakeet] pk::Backend using device: Vulkan0
ggml_vulkan: Device memory allocation of size 900240064 failed.
ggml_vulkan: vk::Device::allocateMemory: ErrorOutOfDeviceMemory
ggml_gallocr_reserve_n_impl: failed to allocate Vulkan0 buffer of size 16698365856
[parakeet] Backend::compute: ggml_gallocr_alloc_graph failed
Segmentation fault         (core dumped) parakeet-cli transcribe --model $HOME/00_M/tdt-0.6b-v3-q4_k.gguf --input p1.wav --json > out.json
  • I also did try the pipe example with ffmpeg, gives same error.
  • If I do the same, but with 5min, works.
  • I can do the the full 2hr+ audio with Whisper without any problem, but I'm trying parakeet now, because is faster.
  • I can chop the audio in many 5 min files, but is more like a workaround than a solution, also gives problems to join subtitles.
  • I did use frequently llama.cpp and sometimes sd.cpp, if it counts as experience.
  • My system is updated.
System

distro: Arch Linux x86_64
kernel: 6.18.25-1-lts
cpu: Intel i7-4790 (8) @ 3.600GHz
ram: 32 GB
gpu: NVIDIA GeForce GTX 1660 SUPER (6GB VRAM)

主要语言
C++
星标
844
派生
103
平均合并
8 小时 27 分钟
30 天内合并 PR
26

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mudler/parakeet.cpp 的其他 Issue

查看 mudler/parakeet.cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。