Skip to content

Conversation

@MengAiDev
Copy link
Contributor

  • Modify offload_models function to handle DiffusionPipeline correctly
  • Ensure compatibility with both single and multiple module inputs

Fixes #12157

@yiyixuxu @asomoza @sayakpaul @DN6

- Modify offload_models function to handle DiffusionPipeline correctly
- Ensure compatibility with both single and multiple module inputs
@sayakpaul
Copy link
Member

Thanks a lot!

@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.

@sayakpaul sayakpaul merged commit 9918d13 into huggingface:main Aug 18, 2025
10 of 11 checks passed
@MengAiDev MengAiDev deleted the 12157 branch August 18, 2025 08:35
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.

When training the Qwen-Image model using --bnb_quantization_config_path, the following error occurred: 'torch.device' object is not iterable.

3 participants