Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gpu timeout x86 macos #441

Closed
dariusdarwish opened this issue Dec 11, 2024 · 2 comments
Closed

Gpu timeout x86 macos #441

dariusdarwish opened this issue Dec 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dariusdarwish
Copy link

What happened?

A bug happened!

Steps to reproduce

  1. step one...
  2. step two...

What OS are you seeing the problem on?

No response

Relevant log output

options: {
  "path": "/var/folders/b6/wh9c02yj3ln8mxg23dm0z8s00000gn/T/vibe_temp_2024-12-11/2024-12-11 15-00-13.wav",
  "lang": "fa",
  "verbose": false,
  "n_threads": 4,
  "init_prompt": "",
  "temperature": 0.4,
  "translate": true,
  "max_text_ctx": null,
  "word_timestamps": true,
  "max_sentence_len": 32
}

Caused by:
   0: failed to transcribe
   1: Generic whisper error. Varies depending on the function. Error code: -6

Location:
    core/src/transcribe.rs:303:38
App Version: vibe 2.6.9
Commit Hash: 7ae85a2
Arch: x86_64
Platform: macos
Kernel Version: 13.6.9
OS: macos
OS Version: 13.6.9
Cuda Version: n/a
Models: ggml-medium-q8_0.bin
Default Model: ggml-medium-q8_0.bin"
Cargo features: 


CPU feature detection is not supported on this architecture.


<details>
<summary>logs</summary>


An error occurred on stream: The requested device is no longer available. For example, it has been unplugged.
An error occurred on stream: The requested device is no longer available. For example, it has been unplugged.
An error occurred on stream: The requested device is no longer available. For example, it has been unplugged.
cmd: "/Applications/vibe.app/Contents/MacOS/../Resources/ffmpeg" "-i" "/var/folders/b6/wh9c02yj3ln8mxg23dm0z8s00000gn/T/vibe_temp_2024-12-11/FUvvmFpBuo.wav" "-ar" "16000" "-ac" "1" "-c:a" "pcm_s16le" "/var/folders/b6/wh9c02yj3ln8mxg23dm0z8s00000gn/T/vibe_temp_2024-12-11/2024-12-11 15-00-13.wav" "-hide_banner" "-y" "-loglevel" "error"
whisper_init_state: failed to load Core ML model from '/Users/Minix/Library/Application Support/github.com.thewh1teagle.vibe/ggml-medium-encoder.mlmodelc'
error: Caused GPU Timeout Error (00000002:kIOAccelCommandBufferCallbackErrorTimeout)
whisper_full_with_state: failed to encode
whisper_init_state: failed to load Core ML model from '/Users/Minix/Library/Application Support/github.com.thewh1teagle.vibe/ggml-medium-encoder.mlmodelc'
error: Caused GPU Timeout Error (00000002:kIOAccelCommandBufferCallbackErrorTimeout)
whisper_full_with_state: failed to encode

</details>
@dariusdarwish dariusdarwish added the bug Something isn't working label Dec 11, 2024
@thewh1teagle thewh1teagle changed the title App reports bug Gpu timeout x86 macos Dec 11, 2024
@thewh1teagle
Copy link
Owner

thewh1teagle commented Dec 11, 2024

Duplicate of #439
Let's discuss there

@dariusdarwish
Copy link
Author

What happened?
A bug happened!

Steps to reproduce
step one...
step two...
What OS are you seeing the problem on?
MacOS

Relevant log output
options: {
"path": "/Users/i/Documents/2024-12-10 10-14-54.wav",
"lang": "en",
"verbose": false,
"n_threads": 4,
"init_prompt": "",
"temperature": 0.4,
"translate": null,
"max_text_ctx": null,
"word_timestamps": false,
"max_sentence_len": 1
}

Caused by:
0: failed to transcribe
1: Generic whisper error. Varies depending on the function. Error code: -6

Location:
core/src/transcribe.rs:303:38
App Version: vibe 2.6.9
Commit Hash: 7ae85a2
Arch: x86_64
Platform: macos
Kernel Version: 14.6.1
OS: macos
OS Version: 14.6.1
Cuda Version: n/a
Models: ggml-medium-q8_0.bin
Default Model: ggml-medium-q8_0.bin"
Cargo features:

CPU feature detection is not supported on this architecture.

logs

whisper_init_state: failed to load Core ML model from '/Users/i/Library/Application Support/github.com.thewh1teagle.vibe/ggml-medium-encoder.mlmodelc'
error: Caused GPU Timeout Error (00000002:kIOAccelCommandBufferCallbackErrorTimeout)
whisper_full_with_state: failed to encode
whisper_init_state: failed to load Core ML model from '/Users/i/Library/Application Support/github.com.thewh1teagle.vibe/ggml-medium-encoder.mlmodelc'
error: Caused GPU Timeout Error (00000002:kIOAccelCommandBufferCallbackErrorTimeout)
whisper_full_with_state: failed to encode
cmd: "/Applications/vibe.app/Contents/MacOS/../Resources/ffmpeg" "-i" "/var/folders/9v/9yn9yhf946s8b78ts288nvjw0000gn/T/vibe_temp_2024-12-10/gFFsUwc2i0.wav" "-ar" "16000" "-ac" "1" "-c:a" "pcm_s16le" "/var/folders/9v/9yn9yhf946s8b78ts288nvjw0000gn/T/vibe_temp_2024-12-10/2024-12-10 10-14-54.wav" "-hide_banner" "-y" "-loglevel" "error"
whisper_init_state: failed to load Core ML model from '/Users/i/Library/Application Support/github.com.thewh1teagle.vibe/ggml-medium-encoder.mlmodelc'
error: Caused GPU Timeout Error (00000002:kIOAccelCommandBufferCallbackErrorTimeout)
whisper_full_with_state: failed to encode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants