Skip to content

fix: update Whisper Large Turbo download size - #787

Merged
altic-dev merged 1 commit into
altic-dev:mainfrom
double-thinker:agent/fix-whisper-large-turbo-size
Aug 5, 2026
Merged

fix: update Whisper Large Turbo download size#787
altic-dev merged 1 commit into
altic-dev:mainfrom
double-thinker:agent/fix-whisper-large-turbo-size

Conversation

@double-thinker

@double-thinker double-thinker commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Description

Fix Whisper Large Turbo model validation by updating its expected download size from 886,381,824 to the current Hugging Face file size of 886,381,760 bytes.

The stale value caused every download to be rejected and deleted as corrupted.

Type of Change

  • 🐞 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 🧹 Chore
  • 📝 Documentation update

Related Issue or Discussion

Closes #785

Testing

  • Tested on Intel Mac
  • Tested on Apple Silicon Mac
  • Tested on macOS version: 26.5.2
  • Ran linter locally: swiftlint --strict --config .swiftlint.yml Sources — 0 violations, 0 serious
  • Ran formatter locally: swiftformat --config .swiftformat Sources
  • Ran tests locally: xcodebuild test -project Fluid.xcodeproj -scheme Fluid -destination 'platform=macOS,arch=arm64' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -only-testing:FluidDictationIntegrationTests

Screenshots / Video

  • No UI/visual changes; screenshots/video are not applicable.

Notes

This is intentionally a focused one-line correction. The existing exact file-size validation remains unchanged for all models.

SwiftFormat 0.62.1 reports 60 of 138 existing source files requiring formatting, including pre-existing issues in SettingsStore.swift. No unrelated formatting changes were included in this focused fix.

@double-thinker
double-thinker marked this pull request as ready for review August 5, 2026 11:55
@greptile-apps

greptile-apps Bot commented Aug 5, 2026

Copy link
Copy Markdown

Greptile Summary

Corrects the expected byte size used to validate the Whisper Large Turbo model download.

  • Updates the expected size from 886,381,824 to 886,381,760 bytes.
  • Preserves the existing exact-size validation behavior for all models.

Confidence Score: 5/5

The PR appears safe to merge with no actionable defects identified.

The corrected constant is used by the existing exact-size model validation path, and the change restores acceptance of the stated current Whisper Large Turbo artifact without altering other model behavior.

Reviews (1): Last reviewed commit: "fix: update Whisper Large Turbo download..." | Re-trigger Greptile

@altic-dev
altic-dev merged commit 79ad04a into altic-dev:main Aug 5, 2026
4 checks passed
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.

[BUG] Whisper Large Turbo can never be enabled: expectedDownloadBytes is 64 bytes off the file on HuggingFace

2 participants