Views
No views yet
torch_dist checkpoint and the DAC-RVQ
decoder, then renaming tensors to the de-Megatron KhalaModel layout. The numerics
match the original (backbone greedy decode is bit-identical to the CUDA reference,
64/64 tokens).| File | What it is |
|---|---|
khala_backbone.safetensors | Backbone GPT (q0/q1 coarse acoustic tokens), KhalaModel naming |
khala_superres.safetensors | Super-resolution GPT (expands to q0…q63), non-causal |
decoder_weights.pt | DAC-RVQ decoder (generator-only), stereo, 64 quantizers |
backbone_megatron_args.json | Backbone config (consumed by KhalaConfig.from_megatron_args) |
superres_megatron_args.json | Super-res config |
decoder_config.yaml | Decoder config |
_cuda_artifacts/, or set
KHALA_VANILLA_WEIGHTS):hf download Vinpolar/Khala-MusicGeneration-v1.0-MPS --local-dir _cuda_artifacts1# one-off track from the command line
2KHALA_BACKEND=vanilla .venv-mac/bin/python -u tools/generate_vanilla.py \
3 --duration 3 --tags "upbeat, pop, piano"
4
5# or the full web UI (worker + API)
6bash backend/run_backend_mac.sh # --device cpu also supported