Skip to content

KokoroTtsManager.initialize() hangs after ANE fp16 + source_noise commits #417

@villeneuve-michael

Description

@villeneuve-michael

Description

After the recent commits on main, KokoroTtsManager.initialize() hangs indefinitely and never returns. This is a regression — initialization worked correctly on commit 3826150 (Mar 20) and earlier.

Suspected Breaking Commits

Environment

  • Platform: iOS (iPad), Swift
  • Integration: FluidAudio via Swift Package Manager
  • Last working commit: 3826150 (Mar 20, 2026)
  • First broken commit: 2ae0846 (Mar 21, 2026)

Reproduction

import FluidAudio

let lexicon = try? TtsCustomLexicon.parse("aegis=ˈiːʤɪs")
let manager = KokoroTtsManager(defaultVoice: "af_heart", customLexicon: lexicon)

// This call hangs indefinitely — never returns or throws
try await manager.initialize()

Observed Behavior

  • manager.initialize() never resolves (no return, no error)
  • The model cache directory exists and contains files totaling >300 MB
  • isModelDownloaded check passes (cache appears complete)

Expected Behavior

manager.initialize() should complete within a few seconds when the model is already cached, as it did on commit 3826150.

Workaround

Pinning the SPM dependency to commit 3826150 resolves the issue:

// Package.swift or Xcode SPM settings
.package(url: "https://github.com/FluidInference/FluidAudio.git", revision: "3826150")

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