Xsmos commited on
Commit
576fcff
·
verified ·
1 Parent(s): d571f8c
Files changed (3) hide show
  1. .gitignore +1 -1
  2. diffusion.py +1 -1
  3. phoenix_diffusion.sbatch +24 -0
.gitignore CHANGED
@@ -3,7 +3,6 @@ Report-*
3
  *.h5
4
  __pycache__/
5
  hive*
6
- phoenix*
7
  *pace.gatech.edu
8
  frontera*
9
  test*
@@ -11,3 +10,4 @@ ST4Diffusion/
11
  runs/
12
  outputs/
13
  data/
 
 
3
  *.h5
4
  __pycache__/
5
  hive*
 
6
  *pace.gatech.edu
7
  frontera*
8
  test*
 
10
  runs/
11
  outputs/
12
  data/
13
+ # phoenix*
diffusion.py CHANGED
@@ -249,7 +249,7 @@ class TrainConfig:
249
  stride = (2,4) if dim == 2 else (2,2,2)
250
  num_image = 30#60#6000#1000#2000#20000#15000#7000#25600#3000#10000#1000#10000#5000#2560#800#2560
251
  batch_size = 10#50#20#50#1#2#50#20#2#100 # 10
252
- n_epoch = 50#100#50#100#30#120#5#4# 10#50#20#20#2#5#25 # 120
253
  HII_DIM = 64
254
  num_redshift = 512#64#512#64#256CUDAoom#128#64#512#128#64#512#256#256#64#512#128
255
  channel = 1
 
249
  stride = (2,4) if dim == 2 else (2,2,2)
250
  num_image = 30#60#6000#1000#2000#20000#15000#7000#25600#3000#10000#1000#10000#5000#2560#800#2560
251
  batch_size = 10#50#20#50#1#2#50#20#2#100 # 10
252
+ n_epoch = 5#50#100#50#100#30#120#5#4# 10#50#20#20#2#5#25 # 120
253
  HII_DIM = 64
254
  num_redshift = 512#64#512#64#256CUDAoom#128#64#512#128#64#512#256#256#64#512#128
255
  channel = 1
phoenix_diffusion.sbatch ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ #SBATCH -J diffusion # Job name
3
+ #SBATCH -A gts-jw254-coda20
4
+ #SBATCH -qembers
5
+ #SBATCH -N2 -c1 --gpus=RTX_6000:2 # -C A100-80GB # Number of nodes and cores per node required
6
+ #SBATCH --mem-per-cpu=32G # Memory per core
7
+ #SBATCH -t 10:00 # Duration of the job (Ex: 15 mins)
8
+ #SBATCH -oReport-%j # Combined output and error messages file
9
+ #SBATCH --mail-type=BEGIN,END,FAIL # Mail preferences
10
+
11
+ #module load gcc/10.3.0-o57x6h
12
+ #module load mvapich2/2.3.6-ouywal
13
+
14
+ pwd
15
+ date
16
+ module load anaconda3/2022.05 # Load module dependencies
17
+ module load pytorch
18
+ module list
19
+ conda activate diffusers
20
+ conda env list
21
+
22
+ cat $0
23
+
24
+ srun python diffusion.py --train 1 --sample 0