{ "mic": "0.3", "name": "CSM speech-to-speech (CsmForConditionalGeneration)", "usage": "AutoProcessor + CsmForConditionalGeneration, chat-template conversation with text and audio, output_labels=True, inference probe and one SGD step", "architecture": "CsmForConditionalGeneration", "checkpoints": { "unsloth/csm-1b": { "fixture": "huggingface-mic/csm-1b-mic" } }, "fixtures": { "huggingface-mic/csm-1b-mic": { "built_from": "unsloth/csm-1b", "covers": [ "unsloth/csm-1b" ], "build": { "seed": 17, "accept_insensitive": { "input_values:roll_batch": "Audio enters only as discrete codes from the Mimi codec; the slim random codec quantizes every clip to the same codes, and no gradient crosses quantization", "input_values:reverse": "Audio enters only as discrete codes from the Mimi codec; the slim random codec quantizes every clip to the same codes, and no gradient crosses quantization", "input_values:halve": "Audio enters only as discrete codes from the Mimi codec; the slim random codec quantizes every clip to the same codes, and no gradient crosses quantization" } } } }, "integrations": { "transformers": { "entry_point": "integrations/transformers/usage.md", "format": "runnable-markdown", "requires": [ "transformers>=5", "torch" ], "targets": [ "fixtures", "checkpoints" ], "variants": { "default": {}, "eager": { "attn_implementation": "eager" }, "bfloat16": { "dtype": "bfloat16" } }, "training": true, "resources": { "fixture": { "memory_gb": 4, "download_mb": 60 }, "unsloth/csm-1b": { "memory_gb": 16, "gpu_memory_gb": 20, "download_mb": 4000, "variants": { "default": { "devices": [] }, "eager": { "devices": [] }, "bfloat16": { "gpu_memory_gb": 20 } }, "devices": [ "cuda" ] } } } }, "outputs": { "runtime": { "compare": "exact" }, "logits.probe": { "compare": "allclose", "atol": 0.0001, "rtol": 0.0001 }, "training.loss": { "compare": "allclose", "atol": 0.0001, "rtol": 0.0001 }, "training.gradients": { "compare": "all_true" }, "training.updated": { "compare": "true" } } }