huggingface / huggingface/candle

Mimi Encoder

Open
#2,826 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

It seems like Mimi doesn't work on Cuda and using it via cpu requires 1 second to transcribe 80 ms of audio.
Why is this the case? Thanks.
It did mention something along the lines for Cuda there is an missing cuda implementation for rot emb i not implemented.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Mimi encoder and its rotary-embedding path in the Candle repository, then reproduce the reported CUDA failure and CPU timing. Compare the CUDA and CPU execution paths and verify that the encoder can process the reported 80 ms audio segment at a reasonable speed without the missing implementation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.