Commit 881f2d46 authored by Your Name's avatar Your Name

Add debug for GPU device and environment in whisper-server

parent 73d753e3
......@@ -2071,6 +2071,7 @@ class WhisperServerManager:
cmd.extend(["--port", str(self.port)])
print(f"Starting whisper-server: {' '.join(cmd)}")
print(f"DEBUG: Full whisper-server command: {' '.join(cmd)}")
try:
self.process = subprocess.Popen(
......@@ -5052,6 +5053,7 @@ def main():
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}")
print(f"DEBUG: GGML_VK_VISIBLE_DEVICES = {os.environ.get('GGML_VK_VISIBLE_DEVICES', 'not set')}")
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment