Upload lora-scripts/train_by_toml.ps1 with huggingface_hub
Browse files
lora-scripts/train_by_toml.ps1
CHANGED
@@ -24,7 +24,7 @@ if ($multi_gpu) {
|
|
24 |
|
25 |
# run train
|
26 |
$script_name = if ($sdxl) { "sdxl_train_network.py" } else { "train_network.py" }
|
27 |
-
python -m accelerate.commands.launch $launch_args --num_cpu_threads_per_process=8 "./
|
28 |
--config_file=$config_file `
|
29 |
--sample_prompts=$sample_prompts `
|
30 |
$ext_args
|
|
|
24 |
|
25 |
# run train
|
26 |
$script_name = if ($sdxl) { "sdxl_train_network.py" } else { "train_network.py" }
|
27 |
+
python -m accelerate.commands.launch $launch_args --num_cpu_threads_per_process=8 "./scripts/$script_name" `
|
28 |
--config_file=$config_file `
|
29 |
--sample_prompts=$sample_prompts `
|
30 |
$ext_args
|