mirror of
https://github.com/1038lab/ComfyUI-QwenTTS.git
synced 2026-11-04 23:37:45 +00:00
[PR #21] Add compatibility for Transformers 5.x #22
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#22
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?
📋 Pull Request Information
Original PR: https://github.com/1038lab/ComfyUI-QwenTTS/pull/21
Author: @cvrunmin
Created: 7/18/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (3)
96acacftransformers 5.x compatdf7b6c2better version check7051417fix some model weight get reinitialized📊 Changes
12 files changed (+330 additions, -39 deletions)
View changed files
➕
.gitignore(+220 -0)➖
qwen_tts/core/models/__pycache__/__init__.cpython-312.pyc(+0 -0)➖
qwen_tts/core/models/__pycache__/configuration_qwen3_tts.cpython-312.pyc(+0 -0)➖
qwen_tts/core/models/__pycache__/modeling_qwen3_tts.cpython-312.pyc(+0 -0)➖
qwen_tts/core/models/__pycache__/processing_qwen3_tts.cpython-312.pyc(+0 -0)📝
qwen_tts/core/models/configuration_qwen3_tts.py(+4 -1)📝
qwen_tts/core/models/modeling_qwen3_tts.py(+74 -31)➖
qwen_tts/core/tokenizer_12hz/__pycache__/configuration_qwen3_tts_tokenizer_v2.cpython-312.pyc(+0 -0)➖
qwen_tts/core/tokenizer_12hz/__pycache__/modeling_qwen3_tts_tokenizer_v2.cpython-312.pyc(+0 -0)📝
qwen_tts/core/tokenizer_12hz/modeling_qwen3_tts_tokenizer_v2.py(+32 -7)➖
qwen_tts/inference/__pycache__/qwen3_tts_model.cpython-312.pyc(+0 -0)➖
qwen_tts/inference/__pycache__/qwen3_tts_tokenizer.cpython-312.pyc(+0 -0)📄 Description
This PR aims to solve the incompatability between Qwen3-TTS package (inlined at
qwen_tts) and Transformers 5.xSummary
ImportErrorontransformers.utils.generic.check_model_inputs(from transformers.utils.generic import check_model_inputsat qwen_tts/core/tokenizer_12hz/modeling_qwen3_tts_tokenizer_v2.py)input_embedsintoinputs_embeds(note: this change happened in Transformers 5.2.0)cache_positionif necessary🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.