Replies: 2 comments
|
Start with current compatible releases of Diffusers, Transformers, Accelerate, and PyTorch, use Important rules:
An Finally, if your goal is throughput rather than fitting one request, run one pipeline process per GPU and distribute independent requests. That normally scales more predictably than sharding a single generation across four GPUs. |
|
Fwiw, the device_map list you're hitting isn't specific to Qwen — DiffusionPipeline.from_pretrained only accepts Things to check first:
And if your real goal is to spread that transformer over the four GPUs, whole-pipeline device_map won't get you there If it still crashes after bf16 + max_memory, the traceback is what actually matters — illegal memory access at that |
Uh oh!
There was an error while loading. Please reload this page.
How do i utilise multi GPU inference for qwen image edit 2509. I have 4 A6000 GPU's, with 48 GB VRAM in each one.
Only are supported:
No
device_map='auto', sorry I am new to the huggingface ecosystem. When I load it in balanced and cuda, either errors like illegal memory is accessed or CUDA ran out of memoryAll reactions