torch.cuda.is_bf16_supported() reports True on pre-Ampere GPUs that only emulate bf16, so the SDXL LoRA trainer would keep bf16 there and fail at load/forward. Use native_bf16_supported() (the same compute-capability probe the DiT trainer already uses) so T4 / V100 / RTX 20xx fall back to fp16 instead. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| diffusion_dit_trainer.py | ||
| diffusion_lora_trainer.py | ||
| diffusion_train_common.py | ||
| diffusion_training_service.py | ||
| resume.py | ||
| s3_dataset.py | ||
| trainer.py | ||
| training.py | ||
| worker.py | ||