Upload lora-scripts/train.ps1 with huggingface_hub
Browse files- lora-scripts/train.ps1 +2 -2
lora-scripts/train.ps1
CHANGED
|
@@ -75,14 +75,14 @@ $Env:XFORMERS_FORCE_DISABLE_TRITON = "1"
|
|
| 75 |
$ext_args = [System.Collections.ArrayList]::new()
|
| 76 |
$launch_args = [System.Collections.ArrayList]::new()
|
| 77 |
|
| 78 |
-
$trainer_file = "./
|
| 79 |
|
| 80 |
if ($model_type -eq "sd1.5") {
|
| 81 |
[void]$ext_args.Add("--clip_skip=$clip_skip")
|
| 82 |
} elseif ($model_type -eq "sd2.0") {
|
| 83 |
[void]$ext_args.Add("--v2")
|
| 84 |
} elseif ($model_type -eq "sdxl") {
|
| 85 |
-
$trainer_file = "./
|
| 86 |
}
|
| 87 |
|
| 88 |
if ($multi_gpu) {
|
|
|
|
| 75 |
$ext_args = [System.Collections.ArrayList]::new()
|
| 76 |
$launch_args = [System.Collections.ArrayList]::new()
|
| 77 |
|
| 78 |
+
$trainer_file = "./scripts/train_network.py"
|
| 79 |
|
| 80 |
if ($model_type -eq "sd1.5") {
|
| 81 |
[void]$ext_args.Add("--clip_skip=$clip_skip")
|
| 82 |
} elseif ($model_type -eq "sd2.0") {
|
| 83 |
[void]$ext_args.Add("--v2")
|
| 84 |
} elseif ($model_type -eq "sdxl") {
|
| 85 |
+
$trainer_file = "./scripts/sdxl_train_network.py"
|
| 86 |
}
|
| 87 |
|
| 88 |
if ($multi_gpu) {
|