Skip to content

fix(hunyuan-image3): preserve serialized tokenizer backend - #1332

Merged
helloyongyang merged 1 commit into
ModelTC:mainfrom
Chernobyllight:lightx2v-hunyuan-v14.4
Aug 5, 2026
Merged

fix(hunyuan-image3): preserve serialized tokenizer backend#1332
helloyongyang merged 1 commit into
ModelTC:mainfrom
Chernobyllight:lightx2v-hunyuan-v14.4

Conversation

@Chernobyllight

Copy link
Copy Markdown
Contributor

Load tokenizer.json as a Tokenizers backend when available so Transformers 5.x cannot silently drop the custom ByteLevel decoder. Fail fast if decoder preservation does not succeed, protecting prompt BPE encoding and COT decoding.

Load tokenizer.json as a Tokenizers backend when available so Transformers 5.x cannot silently drop the custom ByteLevel decoder. Fail fast if decoder preservation does not succeed, protecting prompt BPE encoding and COT decoding.
@helloyongyang
helloyongyang merged commit 91c3ac6 into ModelTC:main Aug 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants