Upload folder using huggingface_hub
Browse files
configs/accelerate_config.yaml
CHANGED
|
@@ -1,11 +1,10 @@
|
|
| 1 |
-
# Flux LoRA Fine-tuning Config -
|
| 2 |
# Run with: accelerate launch --config_file configs/accelerate_config.yaml scripts/training/train_flux_deepspeed.py
|
| 3 |
|
| 4 |
compute_environment: LOCAL_MACHINE
|
| 5 |
-
distributed_type:
|
| 6 |
-
deepspeed_config:
|
| 7 |
-
deepspeed_config_file: /home/adminuser/chungcat/configs/deepspeed_zero3.json
|
| 8 |
num_machines: 1
|
| 9 |
num_processes: 2
|
|
|
|
| 10 |
gpu_ids: all
|
| 11 |
use_cpu: false
|
|
|
|
| 1 |
+
# Flux LoRA Fine-tuning Config - Multi-GPU DDP
|
| 2 |
# Run with: accelerate launch --config_file configs/accelerate_config.yaml scripts/training/train_flux_deepspeed.py
|
| 3 |
|
| 4 |
compute_environment: LOCAL_MACHINE
|
| 5 |
+
distributed_type: MULTI_GPU
|
|
|
|
|
|
|
| 6 |
num_machines: 1
|
| 7 |
num_processes: 2
|
| 8 |
+
mixed_precision: bf16
|
| 9 |
gpu_ids: all
|
| 10 |
use_cpu: false
|