Skip to content

[BUG] Cohere Transcribe model download stays at 0% while bytes are actively downloading #519

Closed

Description

@arthurlee116

Describe the bug

When downloading the Cohere Transcribe CoreML model, the FluidVoice onboarding/settings progress UI can remain at 0% for several minutes even though the download is actively transferring data.

This makes it look like the download is stuck or failed, while network and filesystem evidence show that large model files are being downloaded in the background.

Reproduction steps

  1. Open FluidVoice.
  2. Go to the speech model / voice engine setup flow.
  3. Select/download the Cohere Transcribe model (cohere-transcribe-03-2026-CoreML-6bit).
  4. Watch the in-app progress indicator.
  5. In parallel, inspect network activity and the cache/temp files.

In my run, the app UI stayed at 0% for more than two minutes while download activity was present.

Expected behavior

The progress UI should show either:

  • real byte progress for the current file / overall model bundle, or
  • an indeterminate but visibly active state while listing files or while byte totals are not yet known.

It should not appear frozen at 0% while hundreds of MB are already being downloaded.

Actual behavior

The UI remained at 0% even though the download was active.

Observed local evidence during the same download session:

FluidVoice held an active connection to the model download endpoint.
The Cohere cache directory grew from ~4.9 MB to ~1.5 GB:
~/Library/Caches/cohere-transcribe-03-2026-CoreML-6bit

A CFNetwork temporary download file was also actively growing, e.g.:
/private/var/.../T/CFNetworkDownload_Zuzujy.tmp  871 MB
/private/var/.../T/CFNetworkDownload_iR3pIv.tmp  541.7 MB

Relevant successful requests seen while the UI still appeared stuck at 0%:

GET /api/models/BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/tree/main/cohere_frontend.mlpackage?recursive=1 200
GET /api/models/BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/tree/main/cohere_encoder.mlpackage?recursive=1 200
GET /api/models/BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/tree/main/cohere_cross_kv_projector.mlpackage?recursive=1 200
GET /api/models/BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/tree/main/cohere_decoder_fullseq_masked.mlpackage?recursive=1 200
GET /api/models/BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/tree/main/cohere_decoder_cached.mlpackage?recursive=1 200
GET /BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/resolve/main/cohere_frontend.mlpackage/Data/com.apple.CoreML/model.mlmodel 200
GET /BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/resolve/main/cohere_frontend.mlpackage/Data/com.apple.CoreML/weights/weight.bin 200
GET /BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/resolve/main/cohere_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel 200
GET /BarathwajAnandan/cohere-transcribe-03-2026-CoreML-6bit/resolve/main/cohere_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin 200

I was using a Hugging Face-compatible mirror/local forwarding path for the download because direct Hugging Face is slow from my network. The responses had normal Content-Length / Accept-Ranges headers in spot checks, and the app was clearly receiving bytes. Even if a mirror/proxy path makes total-size reporting imperfect, the UI should probably not look completely idle at 0% during active transfer.

App Version

1.6.1 (CFBundleVersion 12)

macOS Version

macOS 27.0 beta, build 26A5368g

Architecture

Apple Silicon (Apple M4, arm64)

Logs or crash report

No crash. This is a progress/UX issue during Cohere model download.

Potentially relevant implementation areas from current main:

  • Sources/Fluid/Networking/ModelDownloader.swift
    • ensureModelsPresent(...) computes pendingFiles, totalBytes, and reports progress from downloadFile(...) callbacks.
    • If expected > 0 / totalBytes > 0 is not available early enough, no progress appears to be emitted during a long transfer.
  • Sources/Fluid/Services/ExternalCoreMLTranscriptionProvider.swift
    • ensureArtifactsPresent(...) forwards downloader progress into the UI via progressHandler?(min(progress, 0.999)).

A useful fallback might be to surface an indeterminate active state or current filename/bytes downloaded when precise total progress cannot be computed.

Activity

  1. altic-dev commented on Jul 5, 2026

    @altic-dev
    Owner

    did it finally complete or was it at 0% ?

  2. arthurlee116 commented on Jul 6, 2026

    @arthurlee116
    Author

    it did finally complete. it's just the bar stucking at 0% for a long time and suddenly jump to 100%.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions