esunAI commited on
Commit
620d0e4
·
verified ·
1 Parent(s): 6b44402

Add training_output_h100_max.log

Browse files
training_logs/training_output_h100_max.log ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ nohup: ignoring input
2
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:70: FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
3
+ self.scaler = GradScaler()
4
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:116: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
5
+ self.embeddings = torch.load(combined_path, map_location=self.device)
6
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:180: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
7
+ self.compressor.load_state_dict(torch.load('final_compressor_model.pth', map_location=self.device))
8
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:181: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
9
+ self.decompressor.load_state_dict(torch.load('final_decompressor_model.pth', map_location=self.device))
10
+ /data2/edwardsun/flow_home/cfg_dataset.py:253: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
11
+ self.embeddings = torch.load(combined_path, map_location='cpu')
12
+ Starting optimized training with batch_size=384, epochs=2000
13
+ Using GPU 0 for optimized H100 training
14
+ Mixed precision: True
15
+ Batch size: 384
16
+ Target epochs: 2000
17
+ Learning rate: 0.0012 -> 0.0006
18
+ ✓ Mixed precision training enabled (BF16)
19
+ Loading ALL AMP embeddings from /data2/edwardsun/flow_project/peptide_embeddings/...
20
+ Loading combined embeddings from /data2/edwardsun/flow_project/peptide_embeddings/all_peptide_embeddings.pt...
21
+ ✓ Loaded ALL embeddings: torch.Size([17968, 50, 1280])
22
+ Computing preprocessing statistics...
23
+ ✓ Statistics computed and saved:
24
+ Total embeddings: 17,968
25
+ Mean: -0.0005 ± 0.0897
26
+ Std: 0.0869 ± 0.1168
27
+ Range: [-9.1738, 3.2894]
28
+ Initializing models...
29
+ ✓ Model compiled with torch.compile for speedup
30
+ ✓ Models initialized:
31
+ Compressor parameters: 78,817,360
32
+ Decompressor parameters: 39,458,720
33
+ Flow model parameters: 50,779,584
34
+ Initializing datasets with FULL data...
35
+ Loading AMP embeddings from /data2/edwardsun/flow_project/peptide_embeddings/...
36
+ Loading combined embeddings from /data2/edwardsun/flow_project/peptide_embeddings/all_peptide_embeddings.pt (FULL DATA)...
37
+ ✓ Loaded ALL embeddings: torch.Size([17968, 50, 1280])
38
+ Loading CFG data from FASTA: /home/edwardsun/flow/combined_final.fasta...
39
+ Parsing FASTA file: /home/edwardsun/flow/combined_final.fasta
40
+ Label assignment: >AP = AMP (0), >sp = Non-AMP (1)
41
+ ✓ Parsed 6983 valid sequences from FASTA
42
+ AMP sequences: 3306
43
+ Non-AMP sequences: 3677
44
+ Masked for CFG: 698
45
+ Loaded 6983 CFG sequences
46
+ Label distribution: [3306 3677]
47
+ Masked 698 labels for CFG training
48
+ Aligning AMP embeddings with CFG data...
49
+ Aligned 6983 samples
50
+ CFG Flow Dataset initialized:
51
+ AMP embeddings: torch.Size([17968, 50, 1280])
52
+ CFG labels: 6983
53
+ Aligned samples: 6983
54
+ ✓ Dataset initialized with FULL data:
55
+ Total samples: 6,983
56
+ Batch size: 384
57
+ Batches per epoch: 19
58
+ Total training steps: 38,000
59
+ Validation every: 10,000 steps
60
+ Initializing optimizer and scheduler...
61
+ ✓ Optimizer initialized:
62
+ Base LR: 0.0012
63
+ Min LR: 0.0006
64
+ Warmup steps: 5000
65
+ Weight decay: 0.01
66
+ Gradient clip norm: 1.0
67
+ ✓ Optimized Single GPU training setup complete with FULL DATA!
68
+ 🚀 Starting Optimized Single GPU Flow Matching Training with FULL DATA
69
+ GPU: 0
70
+ Total iterations: 2000
71
+ Batch size: 384
72
+ Total samples: 6,983
73
+ Mixed precision: True
74
+ Estimated time: ~8-10 hours (overnight training with ALL data)
75
+ ============================================================
76
+
77
+ with autocast(dtype=torch.bfloat16):
78
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:392: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
79
+ with autocast(dtype=torch.bfloat16):
80
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:392: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
81
+ with autocast(dtype=torch.bfloat16):
82
+
83
+ Epoch 0 | Avg Loss: 1.109821 | LR: 1.24e-04 | Time: 49.8s | Samples: 6,983
84
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:392: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
85
+ with autocast(dtype=torch.bfloat16):
86
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:392: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
87
+ with autocast(dtype=torch.bfloat16):
88
+
89
+ Epoch 1 | Avg Loss: 1.002409 | LR: 1.28e-04 | Time: 6.1s | Samples: 6,983
90
+ /data2/edwardsun/flow_home/amp_flow_training_single_gpu_full_data.py:392: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
91
+ with autocast(dtype=torch.bfloat16):
92
+
93
+ Epoch 2 | Avg Loss: 0.910289 | LR: 1.32e-04 | Time: 3.5s | Samples: 6,983
94
+
95
+ Epoch 3 | Avg Loss: 0.644033 | LR: 1.36e-04 | Time: 3.5s | Samples: 6,983