Skip to content

docs: fix WHISPER_COMPUTE_TYPE and BYPASS_PYDUB_PREPROCESSING defaults - #1503

Open
raphael-bynome wants to merge 1 commit into
open-webui:mainfrom
raphael-bynome:docs-audio-defaults
Open

raphael-bynome wants to merge 1 commit into
open-webui:mainfrom
raphael-bynome:docs-audio-defaults

Conversation

@raphael-bynome

@raphael-bynome raphael-bynome commented Nov 8, 2026 •

Copy link
Copy Markdown

Summary

Two audio defaults in the reference pages don't match the code.

  • WHISPER_COMPUTE_TYPE: documented as float16 on CUDA with a fallback, but config.py sets os.getenv('WHISPER_COMPUTE_TYPE', 'int8') and routers/audio/__init__.py passes it as is; there is no device-based switch. Users on the :cuda image get int8 unless they set it.
  • BYPASS_PYDUB_PREPROCESSING: env.py computes USE_SLIM or os.getenv(...), so it is always on in the slim image. The Azure STT page already says so; the two reference pages didn't.

Related issue or discussion

None.

Checklist

  • I have reviewed the relevant documentation and matched the existing style.
  • This PR meets Open WebUI's contribution standards: it is accurate, relevant to users, narrowly scoped, maintainable, and not promotional content, advertising, lead generation, SEO placement, or a request to list a product, service, provider, integration, gateway, tool, or company primarily for visibility.
  • I understand that PRs that do not meet these standards may be closed without review and will not be merged. Repeated, low-quality, off-topic, promotional, or intentionally misleading submissions may result in the contributor being blocked from future participation in Open WebUI repositories.

Notes for reviewers

Checked against main at 0.13.0: backend/open_webui/config.py (WHISPER_COMPUTE_TYPE), backend/open_webui/routers/audio/__init__.py and backend/open_webui/env.py (BYPASS_PYDUB_PREPROCESSING).

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant