Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ let package = Package(
// needs.
.package(
url: "https://github.com/RunanywhereAI/runanywhere-swift.git",
from: "0.20.33"
from: "0.20.34"
),
],
targets: [
Expand Down
2 changes: 1 addition & 1 deletion RunAnywhereAI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@
repositoryURL = "https://github.com/RunanywhereAI/runanywhere-swift.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.20.33;
minimumVersion = 0.20.34;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
24 changes: 24 additions & 0 deletions RunAnywhereAI/Core/Services/ModelCatalogBootstrap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,30 @@ enum ModelCatalogBootstrap {
logger.info("LoRA adapters skipped: no adapter matches the current catalog")
#endif

// The first ANE TEXT-TO-SPEECH row, and NeuRT's last null primitive filled. Kokoro-82M
// across three Core ML graphs (duration -> decode -> gen) plus two host seams that are not
// expressible as ANE ops: the duration->alignment expansion and the harmonic source. Ships
// its own G2P lexicon, so no runtime phonemizer is needed.
//
// Requires SDK 0.20.34, not 0.20.33. The slot shipped in .33, but the engine emitted int16
// PCM where every other engine emits float32 under the same AUDIO_FORMAT_PCM enum -- which
// names a container and carries no bit depth -- so audio came out half-length and
// saturated with no error anywhere. Fixed in the 0.20.34 engine.
//
// `.tts` sets allowedFrameworks nil, so this row is reachable without a picker change.
await registerArchive(
id: "kokoro-82m-ane",
name: "Kokoro 82M (NeuRT / Neural Engine)",
url: "https://huggingface.co/runanywhere/Kokoro-82M_ANE/resolve/main/"
+ "kokoro-82m_ANE.zip",
framework: .coreml,
modality: .speechSynthesis,
archive: .zip,
structure: .nestedDirectory,
// 145.9 MB download; the three graphs plus a 4.3 MB G2P lexicon resident.
memoryRequirement: 400_000_000
)

// --- Image generation (CoreML diffusion; Apple only) --------------------
// Apple's palettized Stable Diffusion 1.5. The id matches the built-in
// diffusion registry (diffusion_model_registry.cpp) and RCLI's `sd15`
Expand Down