mirror of
https://github.com/huggingface/diffusers.git
synced 2026-10-24 20:59:27 +03:00
- 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.