makepad/libs/ai/models/sing/Cargo.toml
Admin 74faf62ef1 ai: the AI hub gives way to the UI, smaller models, vision and speech
The AI hub serves local models on the LAN and now yields GPU memory to the
UI (shrinks the chat context, then unloads; grows back after; never loads
into the UI reserve), groups models by type, and reports each model's
memory split. LLM decode on Vulkan with Splash kernels, one shared GPU
device per process, vision on chat turns, an on-device text detector,
music models and stems.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 12:26:21 +02:00

55 lines
1.8 KiB
TOML

[package]
name = "makepad-ai-sing"
version = "0.1.0"
edition = "2021"
description = "Cantor: a neural singing voice. Score notes + lyrics -> frames -> mel (conformer + flow refiner) -> waveform (harmonic-plus-noise source-filter vocoder). One model definition for inference and training."
license = "MIT"
[features]
default = []
# Lyrics -> phonemes with the speech family's English G2P (lexicon + rules).
g2p = ["dep:makepad-ai-speech"]
# sing_eval: held-out word error rate through our speech recogniser.
eval = ["g2p", "makepad-ai-speech/whisper"]
# The DiT voice (score-native flow-matching DiT + Vocos vocoder) on the
# device tensor surface: `dit::CantorDit`, the `cantor_dit` tool.
dit = ["dep:makepad-ai-common", "g2p"]
[dependencies]
# The matmul gateway: Metal on macOS, cuBLAS on Linux with the CUDA store,
# None elsewhere (the CPU loops in nn.rs are the reference).
makepad-ai-metal = { path = "../../metal", features = ["metal-precompile"] }
makepad-ai-speech = { path = "../speech", default-features = false, features = ["kokoro"], optional = true }
makepad-ai-common = { path = "../common", optional = true }
# The device-resident training backend (nn_gpu.rs): the CUDA store's
# training kernels. Linux/Windows only, like the store itself.
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
makepad-ai-cuda = { path = "../../cuda" }
[[bin]]
name = "sing_render"
path = "src/bin/sing_render.rs"
[[bin]]
name = "sing_train"
path = "src/bin/sing_train.rs"
[[bin]]
name = "sing_prep"
path = "src/bin/sing_prep.rs"
required-features = ["g2p"]
[[bin]]
name = "sing_eval"
path = "src/bin/sing_eval.rs"
required-features = ["eval"]
[[bin]]
name = "cantor_dit"
path = "src/bin/cantor_dit.rs"
required-features = ["dit"]
[[test]]
name = "dit_parity"
required-features = ["dit"]