Draft
Conversation
Agent-Logs-Url: https://github.com/PyThaiNLP/PyThaiTTS/sessions/116fd445-02b2-4a3f-a15c-8dc546366fc9 Co-authored-by: wannaphong <8536487+wannaphong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for Archa-TTS-0.5B-th to pythaitts
Add Archa TTS (Qwen2.5-0.5B + SNAC) support
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrates YangNobody12/Archa-TTS-0.5B-th — a Thai TTS model built on Qwen2.5-0.5B with LoRA fine-tuning and SNAC 24kHz audio codec — as a new
pretrained="archa"option.New file:
pythaitts/pretrained/archa_tts.pyPakorn2112/Archa-TTS-0.5B-thandhubertsiuzdak/snac_24khzfrom HuggingFacecuda/cpu;bfloat16on supported GPUs,float32on CPUnoisereduce(degrades gracefully if absent)return_type="file"(WAV) andreturn_type="waveform"(numpy array)Updated:
pythaitts/__init__.pyarchabranch inload_pretrainedandtts()dispatchdevicethrough so callers can select GPU/CPUUsage
Required extras:
pip install torch transformers snac soundfile noisereduce scipy numpy