mirror of
https://github.com/1038lab/ComfyUI-QwenTTS.git
synced 2026-11-04 23:37:45 +00:00
[GH-ISSUE #12] qwen_tts is not available. #10
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
1038lab/ComfyUI-QwenTTS#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zwukong on GitHub (Jan 31, 2026).
Original GitHub issue: https://github.com/1038lab/ComfyUI-QwenTTS/issues/12
路径不对吧
File "M:\ComfyUI\312_cu128\ComfyUI\custom_nodes\ComfyUI-QwenTTS\AILab_QwenTTS.py", line 993, in generate
return _voice_clone_generate(
^^^^^^^^^^^^^^^^^^^^^^
File "M:\ComfyUI\312_cu128\ComfyUI\custom_nodes\ComfyUI-QwenTTS\AILab_QwenTTS.py", line 685, in _voice_clone_generate
model = _load_model("Base", model_size, device, precision, attention)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "M:\ComfyUI\312_cu128\ComfyUI\custom_nodes\ComfyUI-QwenTTS\AILab_QwenTTS.py", line 382, in _load_model
raise RuntimeError(
RuntimeError: qwen_tts is not available. Please install dependencies in your ComfyUI environment and check the package path. Import error: cannot import name 'Qwen3TTSTokenizerV1Config' from 'qwen_tts.core' (unknown location)
@viklen30 commented on GitHub (Feb 13, 2026):
RuntimeError: qwen_tts is not available. Please install dependencies in your ComfyUI environment and check the package path. Import error: cannot import name 'Qwen3TTSTokenizerV1Config' from 'qwen_tts.core' (unknown location)
@Kozatiju commented on GitHub (Mar 14, 2026):
Hi everyone ! I had the same issue and Gemini really helped a lot with this. I'd copy paste his solution here :
After digging into the code and logging the hidden exceptions, I found out that the root cause is a silent crash happening during the core module load. It's caused by a syntax change in recent versions of transformers regarding the @check_model_inputs() decorator (TypeError: check_model_inputs() missing 1 required positional argument: 'func').
Here is the simple workaround to fix it and get the node working:
The Fix:
You need to comment out the check_model_inputs decorator and its import in the tokenizer modeling files.
Python
# from transformers.utils.generic import check_model_inputsPython
# @check_model_inputs()Save the files, completely restart ComfyUI, and run your prompt!
Hope this helps anyone stuck on this!