[2024-03-06 13:02:21,309] INFO: Will use torch.nn.parallel.DistributedDataParallel() and 4 gpus [2024-03-06 13:02:21,312] INFO: NVIDIA GeForce GTX 1080 Ti [2024-03-06 13:02:21,312] INFO: NVIDIA GeForce GTX 1080 Ti [2024-03-06 13:02:21,312] INFO: NVIDIA GeForce GTX 1080 Ti [2024-03-06 13:02:21,312] INFO: NVIDIA GeForce GTX 1080 Ti [2024-03-06 13:02:30,756] INFO: using attention_type=efficient [2024-03-06 13:02:30,761] INFO: using attention_type=efficient [2024-03-06 13:02:30,767] INFO: using attention_type=efficient [2024-03-06 13:02:30,772] INFO: using attention_type=efficient [2024-03-06 13:02:30,777] INFO: using attention_type=efficient [2024-03-06 13:02:30,782] INFO: using attention_type=efficient [2024-03-06 13:02:33,395] INFO: DistributedDataParallel( (module): MLPF( (nn0): Sequential( (0): Linear(in_features=42, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=256, bias=True) ) (conv_id): ModuleList( (0-2): 3 x SelfAttentionLayer( (mha): MultiheadAttention( (out_proj): NonDynamicallyQuantizableLinear(in_features=256, out_features=256, bias=True) ) (norm0): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (norm1): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (seq): Sequential( (0): Linear(in_features=256, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): Linear(in_features=256, out_features=256, bias=True) (3): ELU(alpha=1.0) ) (dropout): Dropout(p=0.3, inplace=False) ) ) (conv_reg): ModuleList( (0-2): 3 x SelfAttentionLayer( (mha): MultiheadAttention( (out_proj): NonDynamicallyQuantizableLinear(in_features=256, out_features=256, bias=True) ) (norm0): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (norm1): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (seq): Sequential( (0): Linear(in_features=256, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): Linear(in_features=256, out_features=256, bias=True) (3): ELU(alpha=1.0) ) (dropout): Dropout(p=0.3, inplace=False) ) ) (nn_id): Sequential( (0): Linear(in_features=810, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=9, bias=True) ) (nn_pt): RegressionOutput( (nn): Sequential( (0): Linear(in_features=819, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=2, bias=True) ) ) (nn_eta): RegressionOutput( (nn): Sequential( (0): Linear(in_features=819, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=2, bias=True) ) ) (nn_sin_phi): RegressionOutput( (nn): Sequential( (0): Linear(in_features=819, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=2, bias=True) ) ) (nn_cos_phi): RegressionOutput( (nn): Sequential( (0): Linear(in_features=819, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=2, bias=True) ) ) (nn_energy): RegressionOutput( (nn): Sequential( (0): Linear(in_features=819, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=2, bias=True) ) ) (nn_charge): Sequential( (0): Linear(in_features=819, out_features=256, bias=True) (1): ELU(alpha=1.0) (2): LayerNorm((256,), eps=1e-05, elementwise_affine=True) (3): Dropout(p=0.3, inplace=False) (4): Linear(in_features=256, out_features=3, bias=True) ) ) ) [2024-03-06 13:02:33,397] INFO: Trainable parameters: 3928342 [2024-03-06 13:02:33,397] INFO: Non-trainable parameters: 0 [2024-03-06 13:02:33,397] INFO: Total parameters: 3928342 [2024-03-06 13:02:33,409] INFO: Modules Trainable params Non-tranable params Trainable Parameters Non-tranable Parameters module.nn0.0.weight NaN NaN 10752.0 - module.nn0.0.bias NaN NaN 256.0 - module.nn0.2.weight NaN NaN 256.0 - module.nn0.2.bias NaN NaN 256.0 - module.nn0.4.weight NaN NaN 65536.0 - module.nn0.4.bias NaN NaN 256.0 - module.conv_id.0.mha.in_proj_weight NaN NaN 196608.0 - module.conv_id.0.mha.in_proj_bias NaN NaN 768.0 - module.conv_id.0.mha.out_proj.weight NaN NaN 65536.0 - module.conv_id.0.mha.out_proj.bias NaN NaN 256.0 - module.conv_id.0.norm0.weight NaN NaN 256.0 - module.conv_id.0.norm0.bias NaN NaN 256.0 - module.conv_id.0.norm1.weight NaN NaN 256.0 - module.conv_id.0.norm1.bias NaN NaN 256.0 - module.conv_id.0.seq.0.weight NaN NaN 65536.0 - module.conv_id.0.seq.0.bias NaN NaN 256.0 - module.conv_id.0.seq.2.weight NaN NaN 65536.0 - module.conv_id.0.seq.2.bias NaN NaN 256.0 - module.conv_id.1.mha.in_proj_weight NaN NaN 196608.0 - module.conv_id.1.mha.in_proj_bias NaN NaN 768.0 - module.conv_id.1.mha.out_proj.weight NaN NaN 65536.0 - module.conv_id.1.mha.out_proj.bias NaN NaN 256.0 - module.conv_id.1.norm0.weight NaN NaN 256.0 - module.conv_id.1.norm0.bias NaN NaN 256.0 - module.conv_id.1.norm1.weight NaN NaN 256.0 - module.conv_id.1.norm1.bias NaN NaN 256.0 - module.conv_id.1.seq.0.weight NaN NaN 65536.0 - module.conv_id.1.seq.0.bias NaN NaN 256.0 - module.conv_id.1.seq.2.weight NaN NaN 65536.0 - module.conv_id.1.seq.2.bias NaN NaN 256.0 - module.conv_id.2.mha.in_proj_weight NaN NaN 196608.0 - module.conv_id.2.mha.in_proj_bias NaN NaN 768.0 - module.conv_id.2.mha.out_proj.weight NaN NaN 65536.0 - module.conv_id.2.mha.out_proj.bias NaN NaN 256.0 - module.conv_id.2.norm0.weight NaN NaN 256.0 - module.conv_id.2.norm0.bias NaN NaN 256.0 - module.conv_id.2.norm1.weight NaN NaN 256.0 - module.conv_id.2.norm1.bias NaN NaN 256.0 - module.conv_id.2.seq.0.weight NaN NaN 65536.0 - module.conv_id.2.seq.0.bias NaN NaN 256.0 - module.conv_id.2.seq.2.weight NaN NaN 65536.0 - module.conv_id.2.seq.2.bias NaN NaN 256.0 - module.conv_reg.0.mha.in_proj_weight NaN NaN 196608.0 - module.conv_reg.0.mha.in_proj_bias NaN NaN 768.0 - module.conv_reg.0.mha.out_proj.weight NaN NaN 65536.0 - module.conv_reg.0.mha.out_proj.bias NaN NaN 256.0 - module.conv_reg.0.norm0.weight NaN NaN 256.0 - module.conv_reg.0.norm0.bias NaN NaN 256.0 - module.conv_reg.0.norm1.weight NaN NaN 256.0 - module.conv_reg.0.norm1.bias NaN NaN 256.0 - module.conv_reg.0.seq.0.weight NaN NaN 65536.0 - module.conv_reg.0.seq.0.bias NaN NaN 256.0 - module.conv_reg.0.seq.2.weight NaN NaN 65536.0 - module.conv_reg.0.seq.2.bias NaN NaN 256.0 - module.conv_reg.1.mha.in_proj_weight NaN NaN 196608.0 - module.conv_reg.1.mha.in_proj_bias NaN NaN 768.0 - module.conv_reg.1.mha.out_proj.weight NaN NaN 65536.0 - module.conv_reg.1.mha.out_proj.bias NaN NaN 256.0 - module.conv_reg.1.norm0.weight NaN NaN 256.0 - module.conv_reg.1.norm0.bias NaN NaN 256.0 - module.conv_reg.1.norm1.weight NaN NaN 256.0 - module.conv_reg.1.norm1.bias NaN NaN 256.0 - module.conv_reg.1.seq.0.weight NaN NaN 65536.0 - module.conv_reg.1.seq.0.bias NaN NaN 256.0 - module.conv_reg.1.seq.2.weight NaN NaN 65536.0 - module.conv_reg.1.seq.2.bias NaN NaN 256.0 - module.conv_reg.2.mha.in_proj_weight NaN NaN 196608.0 - module.conv_reg.2.mha.in_proj_bias NaN NaN 768.0 - module.conv_reg.2.mha.out_proj.weight NaN NaN 65536.0 - module.conv_reg.2.mha.out_proj.bias NaN NaN 256.0 - module.conv_reg.2.norm0.weight NaN NaN 256.0 - module.conv_reg.2.norm0.bias NaN NaN 256.0 - module.conv_reg.2.norm1.weight NaN NaN 256.0 - module.conv_reg.2.norm1.bias NaN NaN 256.0 - module.conv_reg.2.seq.0.weight NaN NaN 65536.0 - module.conv_reg.2.seq.0.bias NaN NaN 256.0 - module.conv_reg.2.seq.2.weight NaN NaN 65536.0 - module.conv_reg.2.seq.2.bias NaN NaN 256.0 - module.nn_id.0.weight NaN NaN 207360.0 - module.nn_id.0.bias NaN NaN 256.0 - module.nn_id.2.weight NaN NaN 256.0 - module.nn_id.2.bias NaN NaN 256.0 - module.nn_id.4.weight NaN NaN 2304.0 - module.nn_id.4.bias NaN NaN 9.0 - module.nn_pt.nn.0.weight NaN NaN 209664.0 - module.nn_pt.nn.0.bias NaN NaN 256.0 - module.nn_pt.nn.2.weight NaN NaN 256.0 - module.nn_pt.nn.2.bias NaN NaN 256.0 - module.nn_pt.nn.4.weight NaN NaN 512.0 - module.nn_pt.nn.4.bias NaN NaN 2.0 - module.nn_eta.nn.0.weight NaN NaN 209664.0 - module.nn_eta.nn.0.bias NaN NaN 256.0 - module.nn_eta.nn.2.weight NaN NaN 256.0 - module.nn_eta.nn.2.bias NaN NaN 256.0 - module.nn_eta.nn.4.weight NaN NaN 512.0 - module.nn_eta.nn.4.bias NaN NaN 2.0 - module.nn_sin_phi.nn.0.weight NaN NaN 209664.0 - module.nn_sin_phi.nn.0.bias NaN NaN 256.0 - module.nn_sin_phi.nn.2.weight NaN NaN 256.0 - module.nn_sin_phi.nn.2.bias NaN NaN 256.0 - module.nn_sin_phi.nn.4.weight NaN NaN 512.0 - module.nn_sin_phi.nn.4.bias NaN NaN 2.0 - module.nn_cos_phi.nn.0.weight NaN NaN 209664.0 - module.nn_cos_phi.nn.0.bias NaN NaN 256.0 - module.nn_cos_phi.nn.2.weight NaN NaN 256.0 - module.nn_cos_phi.nn.2.bias NaN NaN 256.0 - module.nn_cos_phi.nn.4.weight NaN NaN 512.0 - module.nn_cos_phi.nn.4.bias NaN NaN 2.0 - module.nn_energy.nn.0.weight NaN NaN 209664.0 - module.nn_energy.nn.0.bias NaN NaN 256.0 - module.nn_energy.nn.2.weight NaN NaN 256.0 - module.nn_energy.nn.2.bias NaN NaN 256.0 - module.nn_energy.nn.4.weight NaN NaN 512.0 - module.nn_energy.nn.4.bias NaN NaN 2.0 - module.nn_charge.0.weight NaN NaN 209664.0 - module.nn_charge.0.bias NaN NaN 256.0 - module.nn_charge.2.weight NaN NaN 256.0 - module.nn_charge.2.bias NaN NaN 256.0 - module.nn_charge.4.weight NaN NaN 768.0 - module.nn_charge.4.bias NaN NaN 3.0 - [2024-03-06 13:02:33,435] INFO: Creating experiment dir /pfvol/experiments/MLPF_cms_Transformer_MET_False_pyg-cms-ttbar_20240306_130219_532588 [2024-03-06 13:02:33,436] INFO: Model directory /pfvol/experiments/MLPF_cms_Transformer_MET_False_pyg-cms-ttbar_20240306_130219_532588 [2024-03-06 13:02:33,740] INFO: train_dataset: cms_pf_ttbar, 80000 [2024-03-06 13:02:33,807] INFO: valid_dataset: cms_pf_ttbar, 20000 [2024-03-06 13:02:33,817] INFO: Initiating epoch #1 train run on device rank=0 [2024-03-06 16:28:26,246] INFO: Initiating epoch #1 valid run on device rank=0 [2024-03-06 16:46:16,482] INFO: Rank 0: epoch=1 / 30 train_loss=60.0548 valid_loss=58.3973 stale=0 time=223.71m eta=6487.6m [2024-03-06 16:46:16,494] INFO: Initiating epoch #2 train run on device rank=0 [2024-03-06 20:11:27,410] INFO: Initiating epoch #2 valid run on device rank=0 [2024-03-06 20:26:52,300] INFO: Rank 0: epoch=2 / 30 train_loss=57.6550 valid_loss=59.6622 stale=1 time=220.6m eta=6220.3m [2024-03-06 20:26:54,724] INFO: Initiating epoch #3 train run on device rank=0 [2024-03-06 23:51:54,203] INFO: Initiating epoch #3 valid run on device rank=0 [2024-03-07 00:06:58,215] INFO: Rank 0: epoch=3 / 30 train_loss=57.4064 valid_loss=59.2339 stale=2 time=220.06m eta=5979.7m [2024-03-07 00:06:59,527] INFO: Initiating epoch #4 train run on device rank=0 [2024-03-07 03:31:59,367] INFO: Initiating epoch #4 valid run on device rank=0 [2024-03-07 03:47:41,923] INFO: Rank 0: epoch=4 / 30 train_loss=57.2609 valid_loss=60.0590 stale=3 time=220.71m eta=5753.4m [2024-03-07 03:47:42,505] INFO: Initiating epoch #5 train run on device rank=0 [2024-03-07 07:12:42,787] INFO: Initiating epoch #5 valid run on device rank=0 [2024-03-07 07:27:54,696] INFO: Rank 0: epoch=5 / 30 train_loss=57.1590 valid_loss=59.5880 stale=4 time=220.2m eta=5526.7m [2024-03-07 07:27:55,426] INFO: Initiating epoch #6 train run on device rank=0 [2024-03-07 10:52:53,765] INFO: Initiating epoch #6 valid run on device rank=0 [2024-03-07 11:08:04,412] INFO: Rank 0: epoch=6 / 30 train_loss=57.0859 valid_loss=60.5314 stale=5 time=220.15m eta=5302.0m [2024-03-07 11:08:05,285] INFO: Initiating epoch #7 train run on device rank=0