Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Error when input file is longer than 5min

Đang mở
#55 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp
Lĩnh vực
audio-video-rtc

Hướng nghiên cứu

Bắt đầu với entry point transcribe của parakeet-cli và tái hiện sự khác biệt giữa đầu vào 5 phút đang hoạt động và đầu vào 10 phút bị lỗi bằng các lệnh trong issue. Kiểm tra đường dẫn cấp phát và tính toán Vulkan xung quanh các lỗi ggml_gallocr và Backend::compute đã được báo cáo. Được xem là hoàn tất khi âm thanh dài hơn không còn làm cạn bộ nhớ thiết bị hoặc gây ra segfault, đồng thời vẫn giữ nguyên đầu ra phiên âm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
C++
Star
844
Fork
103
Merge trung bình
8 giờ 27 phút
Pull request đã merge (30 ngày)
26

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mudler/parakeet.cpp

Tất cả issue của mudler/parakeet.cpp

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.