Qwen-Image-Edit-2509 (#937)

* qwen-image-edit-2509
This commit is contained in:
Zhongjie Duan
2025-09-22 20:37:11 +08:00
committed by GitHub
parent 833ba1e1fa
commit 034c9b6c60
15 changed files with 201 additions and 35 deletions

View File

@@ -9,7 +9,6 @@ pipe = QwenImagePipeline.from_pretrained(
ModelConfig(model_id="Qwen/Qwen-Image", origin_file_pattern="text_encoder/model*.safetensors", offload_device="cpu", offload_dtype=torch.float8_e4m3fn),
ModelConfig(model_id="Qwen/Qwen-Image", origin_file_pattern="vae/diffusion_pytorch_model.safetensors", offload_device="cpu", offload_dtype=torch.float8_e4m3fn),
],
tokenizer_config=None,
processor_config=ModelConfig(model_id="Qwen/Qwen-Image-Edit", origin_file_pattern="processor/"),
)
pipe.enable_vram_management()