diffusers
9adb089d - [CLI] Add `--tensor-parallel` to `diffusers-cli run` and fix per-rank device placement

Commit
45 days ago
[CLI] Add `--tensor-parallel` to `diffusers-cli run` and fix per-rank device placement - Shard the transformer with `TensorParallelConfig` on CUDA, TPU and Neuron, with remote-code transformers loaded via `--trust-remote-code`. - Require `--seed`; reject `--device-map`, `--cpu-offload`, `--lora`, `--context-parallel` and modular pipelines. - Wrap `--remote` runs in torchrun. - Load standard pipelines without an indexed `device_map` (e.g. `cuda:<LOCAL_RANK>`) and place components after loading, fixing `--context-parallel` on ranks > 0.
References
Author
DN6 DN6
Parents
Loading