add experiments

This commit is contained in:
Filippo Olivo
2025-12-09 09:19:26 +01:00
parent c1820d5855
commit 7a2316da04
7 changed files with 45 additions and 276 deletions

View File

@@ -0,0 +1,71 @@
# lightning.pytorch==2.5.5
seed_everything: 1999
trainer:
accelerator: gpu
strategy: auto
devices: 1
num_nodes: 1
precision: null
logger:
- class_path: lightning.pytorch.loggers.WandbLogger
init_args:
save_dir: logs.autoregressive.wandb
project: "thermal-conduction-unsteady-5.steps"
name: "16_layer_16_hidden"
callbacks:
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
init_args:
dirpath: logs.autoregressive.wandb/16_refined/checkpoints
monitor: val/loss
mode: min
save_top_k: 1
filename: best-checkpoint
- class_path: lightning.pytorch.callbacks.EarlyStopping
init_args:
monitor: val/loss
mode: min
patience: 30
verbose: false
# - class_path: ThermalSolver.switch_dataloader_callback.SwitchDataLoaderCallback
# init_args:
# increase_unrolling_steps_by: 5
# patience: 10
# last_patience: 15
# max_unrolling_steps: 20
# ckpt_path: logs.autoregressive.wandb/16_16_refined/checkpoints
max_epochs: 1000
min_epochs: null
max_steps: -1
min_steps: null
overfit_batches: 0.0
log_every_n_steps: 0
accumulate_grad_batches: 1
default_root_dir: null
gradient_clip_val: 1.0
model:
class_path: ThermalSolver.autoregressive_module.GraphSolver
init_args:
model_class_path: ThermalSolver.model.diffusion_net.DiffusionNet
model_init_args:
input_dim: 1
hidden_dim: 16
output_dim: 1
n_layers: 16
unrolling_steps: 5
data:
class_path: ThermalSolver.graph_datamodule_unsteady.GraphDataModule
init_args:
hf_repo: "SISSAmathLab/thermal-conduction-unsteady"
split_name: "easy.refined"
n_elements: 100
batch_size: 32
train_size: 0.7
val_size: 0.2
test_size: 0.1
build_radial_graph: false
remove_boundary_edges: true
unrolling_steps: 5
optimizer: null
lr_scheduler: null

View File

@@ -0,0 +1,71 @@
# lightning.pytorch==2.5.5
seed_everything: 1999
trainer:
accelerator: gpu
strategy: auto
devices: 1
num_nodes: 1
precision: null
logger:
- class_path: lightning.pytorch.loggers.WandbLogger
init_args:
save_dir: logs.autoregressive.wandb
project: "thermal-conduction-unsteady-5.steps"
name: "32_layer_16_hidden"
callbacks:
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
init_args:
dirpath: logs.autoregressive.wandb/32_refined/checkpoints
monitor: val/loss
mode: min
save_top_k: 1
filename: best-checkpoint
- class_path: lightning.pytorch.callbacks.EarlyStopping
init_args:
monitor: val/loss
mode: min
patience: 30
verbose: false
# - class_path: ThermalSolver.switch_dataloader_callback.SwitchDataLoaderCallback
# init_args:
# increase_unrolling_steps_by: 5
# patience: 10
# last_patience: 15
# max_unrolling_steps: 20
# ckpt_path: logs.autoregressive.wandb/16_16_refined/checkpoints
max_epochs: 1000
min_epochs: null
max_steps: -1
min_steps: null
overfit_batches: 0.0
log_every_n_steps: 0
accumulate_grad_batches: 2
default_root_dir: null
gradient_clip_val: 1.0
model:
class_path: ThermalSolver.autoregressive_module.GraphSolver
init_args:
model_class_path: ThermalSolver.model.diffusion_net.DiffusionNet
model_init_args:
input_dim: 1
hidden_dim: 16
output_dim: 1
n_layers: 32
unrolling_steps: 5
data:
class_path: ThermalSolver.graph_datamodule_unsteady.GraphDataModule
init_args:
hf_repo: "SISSAmathLab/thermal-conduction-unsteady"
split_name: "easy.refined"
n_elements: 100
batch_size: 16
train_size: 0.7
val_size: 0.2
test_size: 0.1
build_radial_graph: false
remove_boundary_edges: true
unrolling_steps: 5
optimizer: null
lr_scheduler: null

View File

@@ -0,0 +1,63 @@
# lightning.pytorch==2.5.5
seed_everything: 1999
trainer:
accelerator: gpu
strategy: auto
devices: 1
num_nodes: 1
precision: null
logger:
- class_path: lightning.pytorch.loggers.WandbLogger
init_args:
save_dir: logs.autoregressive.wandb
project: "thermal-conduction-unsteady-5.steps"
name: "8_layer_16_hidden"
callbacks:
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
init_args:
dirpath: logs.autoregressive.wandb/8_refined/checkpoints
monitor: val/loss
mode: min
save_top_k: 1
filename: best-checkpoint
- class_path: lightning.pytorch.callbacks.EarlyStopping
init_args:
monitor: val/loss
mode: min
patience: 20
verbose: false
max_epochs: 1000
min_epochs: null
max_steps: -1
min_steps: null
overfit_batches: 0.0
log_every_n_steps: null
accumulate_grad_batches: 1
default_root_dir: null
model:
class_path: ThermalSolver.autoregressive_module.GraphSolver
init_args:
model_class_path: ThermalSolver.model.diffusion_net.DiffusionNet
model_init_args:
input_dim: 1
hidden_dim: 16
output_dim: 1
n_layers: 8
unrolling_steps: 5
data:
class_path: ThermalSolver.graph_datamodule_unsteady.GraphDataModule
init_args:
hf_repo: "SISSAmathLab/thermal-conduction-unsteady"
split_name: "easy.refined"
n_elements: 100
batch_size: 32
train_size: 0.7
val_size: 0.2
test_size: 0.1
build_radial_graph: false
remove_boundary_edges: true
unrolling_steps: 5
optimizer: null
lr_scheduler: null