Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
73d753e3
Commit
73d753e3
authored
Mar 14, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debug output for whisper-server startup and audio requests
parent
b037bfa8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
coderai
coderai
+3
-0
No files found.
coderai
View file @
73d753e3
...
...
@@ -2737,6 +2737,7 @@ async def create_transcription(
- whisper.cpp server (when --whisper-server is specified)
"""
#
Check
if
whisper
-
server
is
available
FIRST
(
before
checking
audio_model
)
print
(
f
"DEBUG: Audio request - whisper_server available: {multi_model_manager.whisper_server is not None}, running: {multi_model_manager.whisper_server.is_running() if multi_model_manager.whisper_server else 'N/A'}"
)
if
multi_model_manager
.
whisper_server
and
multi_model_manager
.
whisper_server
.
is_running
():
#
Use
whisper
-
server
-
read
file
and
send
to
server
file_content
=
await
file
.
read
()
...
...
@@ -5046,9 +5047,11 @@ def main():
print
(
"Whisper server already running, using existing instance"
)
#
Start
whisper
-
server
if
we
should
preload
or
if
it
's the only audio option
print(f"DEBUG: whisper-server start check - audio_models={audio_models}, should_preload={should_preload}, whisper_cpp={args.whisper_cpp}")
if audio_models and (should_preload or not args.whisper_cpp):
model_to_use = audio_models[0] if audio_models else None
gpu_device = getattr(args, '
audio_vulkan_device
', 0) or 0
print(f"DEBUG: Starting whisper-server with gpu_device={gpu_device}")
actual_model_path = whisper_server_mgr.start(model_path=model_to_use, gpu_device=gpu_device)
if actual_model_path:
# Update audio_models in multi_model_manager to store the actual path (not the URL)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment