Feature/mimo vllm asr#732
Open
yuanyp8 wants to merge 2 commits into
Open
Conversation
Contributor
PR Reviewer Guide 🔍(Review updated until commit 27c51f3)Here are some key observations to aid the review process:
|
e4c539a to
27c51f3
Compare
Contributor
|
Persistent review updated to latest commit e4c539a |
Contributor
|
Persistent review updated to latest commit 27c51f3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
摘要
Fixes #。
说明这个 PR 解决的单一目标。标题必须使用
type(scope): 中文目标,例如docs(infra): 补齐 Windows 构建说明。修复 / 新增 / 改进
兼容
测试计划
PR Type
Enhancement, Documentation
Description
Adapt MiMo ASR provider to vLLM-Omni API (audio_url, empty API key allowed)
Add URL normalization for bare IP/missing path
Add detailed logging for each chunk and request
Document setup guide for self-hosted deployment
Diagram Walkthrough
flowchart LR PCM["PCM Audio"] --> chunk["Split into chunks (30s max)"] chunk --> transcribe_chunk["transcribe_chunk()"] transcribe_chunk --> POST["POST /v1/chat/completions"] POST -- "audio_url (base64 WAV), text prompt" --> vLLM["vLLM-Omni server"] vLLM -- "JSON choice text" --> extract["extract_mimo_text()"] extract --> join["join_transcript_chunks()"] join --> RawTranscript["RawTranscript"] subgraph Config base_url["Endpoint (IP/host)"] --> URL["normalize to /v1/chat/completions"] api_key["API Key (optional)"] --> auth["Authorization header only if key non-empty"] model["Model name"] --> body["JSON body"] end body --> POST URL --> POST auth --> POSTFile Walkthrough
mimo.rs
Adapt MiMo ASR to vLLM-Omni APIopenless-all/app/src-tauri/src/asr/mimo.rs
input_audiotoaudio_urlpayload format for vLLM-Omnicompatibility
path)
key
mimo-vllm-asr.md
Add self-hosted ASR setup guidedocs/mimo-vllm-asr.md
body
commands