Views
No views yet
🚀 CPU Optimized Version: This repository contains a specialized build of MOSS-TTS that has been specifically optimized for high-performance execution on CPU-only environments.
pip install transformers torch torchaudio1from transformers import AutoModel, AutoProcessor
2import torch
3
4# Load the CPU-optimized model
5model_name = "daksh-neo/MOSS-TTS"
6processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
7model = AutoModel.from_pretrained(
8 model_name,
9 trust_remote_code=True,
10 torch_dtype=torch.float32
11)
12
13# Inference (Example)
14text = "This is a CPU-optimized speech synthesis by NEO."
15inputs = processor(text=[text], mode="generation")
16outputs = model.generate(**inputs)| Feature | Specification |
|---|---|
| Optimization Engine | NEO (Autonomous ML Agent) |
| Device Target | CPU (x86_64 / ARM64) |
| Quantization | Dynamic INT8 |
| Sampling Rate | 24kHz / 44.1kHz (Configurable) |