Skip to content

Conversation

@junqiangwu
Copy link
Contributor

What does this PR do?

In PR (#12828) we added support for the LongCat-Image model. While running more tests, we noticed a bug in the LongCatImageEditPipeline script that can degrade image quality: the length of prefix_token_len was being computed using an incorrect index. This PR focuses on correcting that calculation.

Thanks for the support of @yiyixuxu @apolinario.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxu yiyixuxu merged commit 5e48f46 into huggingface:main Dec 16, 2025
10 of 11 checks 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.

3 participants