-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from shenoynikhil/checks
More changes.
- Loading branch information
Showing
20 changed files
with
625 additions
and
880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# task name for logging | ||
task_name: flow-drugs/base | ||
|
||
# unique seed for experiment reproducibility | ||
seed: 42 | ||
|
||
# data config | ||
datamodule: BaseDataModule | ||
datamodule_args: | ||
dataset: EuclideanDataset | ||
dataset_args: | ||
dataset_name: geom | ||
use_ogb_feat: true | ||
|
||
train_indices_path: /nfs/scratch/students/data/geom/preprocessed/drugs_train_0.10.npy | ||
val_indices_path: /nfs/scratch/students/data/geom/preprocessed/drugs_val_0.10.npy | ||
test_indices_path: /nfs/scratch/students/data/geom/preprocessed/drugs_val_0.1.npy | ||
|
||
# dataloader args | ||
dataloader_args: | ||
batch_size: 48 | ||
num_workers: 4 | ||
pin_memory: false | ||
persistent_workers: true | ||
|
||
# model config | ||
model: BaseFlow | ||
model_args: | ||
# network args | ||
network_type: TorchMDDynamics | ||
hidden_channels: 160 | ||
num_layers: 20 | ||
num_rbf: 64 | ||
rbf_type: expnorm | ||
trainable_rbf: true | ||
activation: silu | ||
neighbor_embedding: true | ||
cutoff_lower: 0.0 | ||
cutoff_upper: 10.0 | ||
max_z: 100 | ||
node_attr_dim: 10 | ||
edge_attr_dim: 1 | ||
attn_activation: silu | ||
num_heads: 8 | ||
distance_influence: both | ||
reduce_op: sum | ||
qk_norm: true | ||
so3_equivariant: true | ||
clip_during_norm: true | ||
|
||
# flow matching specific | ||
normalize_node_invariants: false | ||
sigma: 0.1 | ||
prior_type: harmonic | ||
interpolation_type: linear | ||
|
||
# optimizer args | ||
optimizer_type: AdamW | ||
lr: 8.e-4 | ||
weight_decay: 1.e-8 | ||
|
||
# lr scheduler args | ||
lr_scheduler_type: CosineAnnealingWarmupRestarts | ||
first_cycle_steps: 500_000 | ||
cycle_mult: 1.0 | ||
max_lr: 8.e-4 | ||
min_lr: 1.e-8 | ||
warmup_steps: 0 | ||
gamma: 0.05 | ||
last_epoch: -1 | ||
lr_scheduler_monitor: val/loss | ||
lr_scheduler_interval: step | ||
lr_scheduler_frequency: 1 | ||
|
||
# callbacks | ||
callbacks: | ||
- callback: ModelCheckpoint | ||
callback_args: | ||
dirpath: './checkpoint' | ||
monitor: val/loss | ||
mode: min | ||
save_last: true | ||
every_n_epochs: 1 | ||
save_top_k: 3 | ||
|
||
- callback: LearningRateMonitor | ||
callback_args: | ||
log_momentum: false | ||
logging_interval: null | ||
|
||
|
||
# logger | ||
logger: WandbLogger | ||
logger_args: | ||
project: Energy-Aware-MCG | ||
entity: doms-lab | ||
|
||
# trainer | ||
trainer: Trainer | ||
trainer_args: | ||
max_epochs: 100 | ||
devices: 8 | ||
limit_train_batches: 5000 | ||
strategy: ddp_find_unused_parameters_true | ||
accelerator: auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# task name for logging | ||
task_name: flow-qm9/base | ||
|
||
# unique seed for experiment reproducibility | ||
seed: 42 | ||
|
||
# data config | ||
datamodule: BaseDataModule | ||
datamodule_args: | ||
dataset: EuclideanDataset | ||
dataset_args: | ||
dataset_name: geom | ||
use_ogb_feat: true | ||
|
||
train_indices_path: /nfs/scratch/students/data/geom/preprocessed/qm9_train_0.9.npy | ||
val_indices_path: /nfs/scratch/students/data/geom/preprocessed/qm9_val_0.9.npy | ||
test_indices_path: /nfs/scratch/students/data/geom/preprocessed/drugs_val_0.1.npy | ||
|
||
# dataloader args | ||
dataloader_args: | ||
batch_size: 128 | ||
num_workers: 4 | ||
pin_memory: false | ||
persistent_workers: true | ||
|
||
# model config | ||
model: BaseFlow | ||
model_args: | ||
# network args | ||
network_type: TorchMDDynamics | ||
hidden_channels: 160 | ||
num_layers: 20 | ||
num_rbf: 64 | ||
rbf_type: expnorm | ||
trainable_rbf: true | ||
activation: silu | ||
neighbor_embedding: true | ||
cutoff_lower: 0.0 | ||
cutoff_upper: 10.0 | ||
max_z: 100 | ||
node_attr_dim: 8 | ||
edge_attr_dim: 1 | ||
attn_activation: silu | ||
num_heads: 8 | ||
distance_influence: both | ||
reduce_op: sum | ||
qk_norm: true | ||
clip_during_norm: true | ||
so3_equivariant: true | ||
output_layer_norm: false | ||
|
||
# flow matching specific | ||
normalize_node_invariants: false | ||
sigma: 0.1 | ||
prior_type: harmonic | ||
interpolation_type: linear | ||
|
||
# optimizer args | ||
optimizer_type: AdamW | ||
lr: 7.e-4 | ||
weight_decay: 1.e-8 | ||
|
||
# lr scheduler args | ||
lr_scheduler_type: CosineAnnealingWarmupRestarts | ||
first_cycle_steps: 375_000 | ||
cycle_mult: 1.0 | ||
max_lr: 7.e-4 | ||
min_lr: 1.e-8 | ||
warmup_steps: 0 | ||
gamma: 0.05 | ||
last_epoch: -1 | ||
lr_scheduler_monitor: val/loss | ||
lr_scheduler_interval: step | ||
lr_scheduler_frequency: 1 | ||
|
||
# callbacks | ||
callbacks: | ||
- callback: ModelCheckpoint | ||
callback_args: | ||
dirpath: './checkpoint' | ||
monitor: val/loss | ||
mode: min | ||
save_last: true | ||
every_n_epochs: 1 | ||
save_top_k: 3 | ||
|
||
- callback: LearningRateMonitor | ||
callback_args: | ||
log_momentum: false | ||
logging_interval: null | ||
|
||
|
||
# logger | ||
logger: WandbLogger | ||
logger_args: | ||
project: Energy-Aware-MCG | ||
entity: doms-lab | ||
|
||
# trainer | ||
trainer: Trainer | ||
trainer_args: | ||
max_epochs: 250 | ||
devices: 4 | ||
limit_train_batches: 1500 | ||
strategy: ddp_find_unused_parameters_true | ||
accelerator: auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.