Add support for LongCat-Image
What does this PR do?
This PR introduces the LongCat-Image Series into the diffusers library. The LongCat-Image Series comprises powerful and highly efficient 6B-parameter models, featuring both a state-of-the-art image generation model and a versatile image editing model. Designed to be friendly for consumer-grade hardware, this series demonstrates strong capabilities in high-fidelity image synthesis and precise, controllable image editing. The technical report and checkpoints for both models have been released.
Thanks for the support of @yiyixuxu @apolinario.
- GitHub: https://github.com/meituan-longcat/LongCat-Image
- LongCat-Image on Hugging Face: https://huggingface.co/meituan-longcat/LongCat-Image
- LongCat-Image-Edit on Hugging Face: https://huggingface.co/meituan-longcat/LongCat-Image-Edit
I think you need to add the doc page into the index here https://github.com/huggingface/diffusers/blob/main/docs/source/en/_toctree.yml
also can you run make style and make fix-copies?
Thanks for the feedback — we’ve updated the code accordingly and run make style and make fix-copies in this commit. Please let us know if you spot anything else that should be addressed. @yiyixuxu
@bot /style
Style bot fixed some files and pushed the changes.
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.
My apologies. During further testing with additional examples, I identified an issue and have already implemented a fix. I’m not completely sure whether this change might affect your merge.
load_lora_weights(), unload_lora_weights these doesn't work with LongCatImagePipeline. @junqiangwu