kaz001 commited on
Commit
41de1e1
·
1 Parent(s): cf385f8

Upload 5 files

Browse files
Files changed (5) hide show
  1. Auto.sh +3 -0
  2. KohyaDev.sh +4 -0
  3. KohyaMain.sh +4 -0
  4. comfy.sh +5 -0
  5. default_config.yaml +15 -0
Auto.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ . /home/ec2-user/venvs/auto/bin/activate
3
+ bash /home/ec2-user/tools/stable-diffusion-webui/webui.sh
KohyaDev.sh ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/bin/bash
2
+ . /home/ec2-user/venvs/kohya/bin/activate
3
+ cd /home/ec2-user/tools/KohyaDev
4
+ accelerate launch --num_cpu_threads_per_process 8 fine_tune.py --config_file /home/ec2-user/configs/configDev.toml
KohyaMain.sh ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/bin/bash
2
+ . /home/ec2-user/venvs/kohya/bin/activate
3
+ cd /home/ec2-user/tools/KohyaMain
4
+ accelerate launch --num_cpu_threads_per_process 8 fine_tune.py --config_file /home/ec2-user/configs/configMain.toml
comfy.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ . /home/ec2-user/venvs/comfy/bin/activate
3
+ cd /home/ec2-user/tools/ComfyUI
4
+
5
+ python main.py --port 9697 --cuda-device 7 --gpu-only
default_config.yaml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ compute_environment: LOCAL_MACHINE
2
+ distributed_type: MULTI_GPU
3
+ downcast_bf16: 'no'
4
+ gpu_ids: 0,1,2,3,4,5,6,7
5
+ machine_rank: 0
6
+ main_training_function: main
7
+ mixed_precision: bf16
8
+ num_machines: 1
9
+ num_processes: 8
10
+ rdzv_backend: static
11
+ same_network: true
12
+ tpu_env: []
13
+ tpu_use_cluster: false
14
+ tpu_use_sudo: false
15
+ use_cpu: false