linzhao-amd commited on
Commit
1b1b895
·
verified ·
1 Parent(s): 3008ff5

Delete quark_profile.yaml

Browse files
Files changed (1) hide show
  1. quark_profile.yaml +0 -177
quark_profile.yaml DELETED
@@ -1,177 +0,0 @@
1
- # Quark Profiling Results
2
-
3
- memory_usage:
4
- - step: "Start"
5
- timestamp: 1780202462.5395215
6
- relative_time_secs: 0.0
7
- cpu_memory_mb: 3105.29
8
- gpu_memory_mb: 3107.88
9
- disk_read_mb: 0.0
10
- disk_write_mb: 0.0
11
- - step: "Model Loading Start"
12
- timestamp: 1780202463.1930308
13
- relative_time_secs: 0.6535093784332275
14
- cpu_memory_mb: 3105.29
15
- gpu_memory_mb: 3107.88
16
- disk_read_mb: 0.0
17
- disk_write_mb: 0.0
18
- - step: "Model Loading End"
19
- timestamp: 1780202557.2720962
20
- relative_time_secs: 94.7325747013092
21
- cpu_memory_mb: 4740.59
22
- gpu_memory_mb: 223242.2
23
- disk_read_mb: 0.0
24
- disk_write_mb: 0.0
25
- - step: "Dataset Loading Start"
26
- timestamp: 1780202558.3775353
27
- relative_time_secs: 95.8380138874054
28
- cpu_memory_mb: 4855.08
29
- gpu_memory_mb: 223242.2
30
- disk_read_mb: 0.0
31
- disk_write_mb: 0.0
32
- - step: "Dataset Loading End"
33
- timestamp: 1780202562.9039524
34
- relative_time_secs: 100.36443090438843
35
- cpu_memory_mb: 4936.2
36
- gpu_memory_mb: 223244.2
37
- disk_read_mb: 0.0
38
- disk_write_mb: 0.0
39
- - step: "Model Quantization Start"
40
- timestamp: 1780202563.5159075
41
- relative_time_secs: 100.97638607025146
42
- cpu_memory_mb: 4936.2
43
- gpu_memory_mb: 223244.2
44
- disk_read_mb: 0.0
45
- disk_write_mb: 0.0
46
- - step: "Model Preparation Start"
47
- timestamp: 1780202564.1855054
48
- relative_time_secs: 101.64598393440247
49
- cpu_memory_mb: 4936.2
50
- gpu_memory_mb: 223244.2
51
- disk_read_mb: 0.0
52
- disk_write_mb: 0.0
53
- - step: "Model Preparation End"
54
- timestamp: 1780202616.292561
55
- relative_time_secs: 153.75303959846497
56
- cpu_memory_mb: 7562.85
57
- gpu_memory_mb: 223569.68
58
- disk_read_mb: 0.0
59
- disk_write_mb: 0.0
60
- - step: "Advanced Algorithms Start"
61
- timestamp: 1780202616.9882076
62
- relative_time_secs: 154.4486861228943
63
- cpu_memory_mb: 7562.85
64
- gpu_memory_mb: 223569.68
65
- disk_read_mb: 0.0
66
- disk_write_mb: 0.0
67
- - step: "Advanced Algorithms End"
68
- timestamp: 1780202617.6359434
69
- relative_time_secs: 155.096421957016
70
- cpu_memory_mb: 7562.85
71
- gpu_memory_mb: 223569.68
72
- disk_read_mb: 0.0
73
- disk_write_mb: 0.0
74
- - step: "Calibration Start"
75
- timestamp: 1780202618.4098058
76
- relative_time_secs: 155.87028431892395
77
- cpu_memory_mb: 7562.85
78
- gpu_memory_mb: 223569.68
79
- disk_read_mb: 0.0
80
- disk_write_mb: 0.0
81
- - step: "Calibration End"
82
- timestamp: 1780209356.3565843
83
- relative_time_secs: 6893.817062854767
84
- cpu_memory_mb: 18700.47
85
- gpu_memory_mb: 400402.3
86
- disk_read_mb: 0.0
87
- disk_write_mb: 4381.69
88
- - step: "Model Quantization End"
89
- timestamp: 1780209705.8870807
90
- relative_time_secs: 7243.347559213638
91
- cpu_memory_mb: 107398.29
92
- gpu_memory_mb: 399905.61
93
- disk_read_mb: 0.0
94
- disk_write_mb: 4381.69
95
- - step: "Freeze Model Start"
96
- timestamp: 1780209706.5831566
97
- relative_time_secs: 7244.043635129929
98
- cpu_memory_mb: 107398.29
99
- gpu_memory_mb: 399905.61
100
- disk_read_mb: 0.0
101
- disk_write_mb: 4381.69
102
- - step: "Freeze Model End"
103
- timestamp: 1780209720.9122105
104
- relative_time_secs: 7258.372689008713
105
- cpu_memory_mb: 107725.61
106
- gpu_memory_mb: 399905.61
107
- disk_read_mb: 0.0
108
- disk_write_mb: 4381.69
109
- - step: "Export HF Safetensors Start"
110
- timestamp: 1780209721.5354578
111
- relative_time_secs: 7258.995936393738
112
- cpu_memory_mb: 107725.61
113
- gpu_memory_mb: 399905.61
114
- disk_read_mb: 0.0
115
- disk_write_mb: 4381.69
116
- - step: "Export HF Safetensors End"
117
- timestamp: 1780209935.171702
118
- relative_time_secs: 7472.632180452347
119
- cpu_memory_mb: 111636.27
120
- gpu_memory_mb: 412467.14
121
- disk_read_mb: 0.0
122
- disk_write_mb: 132630.66
123
- - step: "Model Evaluation Start"
124
- timestamp: 1780209935.8758442
125
- relative_time_secs: 7473.336322784424
126
- cpu_memory_mb: 111636.27
127
- gpu_memory_mb: 412467.14
128
- disk_read_mb: 0.0
129
- disk_write_mb: 132630.66
130
- - step: "Model Evaluation End"
131
- timestamp: 1780209957.401115
132
- relative_time_secs: 7494.8615934848785
133
- cpu_memory_mb: 111695.7
134
- gpu_memory_mb: 412973.53
135
- disk_read_mb: 0.01
136
- disk_write_mb: 132630.66
137
- - step: "End"
138
- timestamp: 1780209958.0559528
139
- relative_time_secs: 7495.5164313316345
140
- cpu_memory_mb: 111695.73
141
- gpu_memory_mb: 412973.53
142
- disk_read_mb: 0.03
143
- disk_write_mb: 132630.66
144
-
145
- # Summary Metrics
146
- total_quantization_time_seconds: 7495.5165
147
- peak_memory_mb: 111695.73
148
- peak_gpu_memory_mb: 412973.53
149
- total_disk_read_mb: 0.03
150
- total_disk_write_mb: 132630.66
151
-
152
- # Metric Definitions:
153
- #
154
- # Checkpoint Metrics (per record):
155
- # - step: Name of the profiling checkpoint. Common steps include:
156
- # - "Start": Initial state when profiling begins
157
- # - "Model Loaded": After loading the ONNX model into memory
158
- # - "Pre-process Start/End": Before and after model preprocessing
159
- # - "Calibration Start/End": Before and after calibration data collection
160
- # - "Quantization (MatMulNBits) Start/End": MatMulNBits quantization phase
161
- # - "Quantization (Static) Start/End": Static quantization phase
162
- # - "Post-process Start/End": Before and after post-processing
163
- # - "Fast Finetune Start/End": Before and after fast finetuning (if enabled)
164
- # - timestamp: Unix timestamp (seconds since epoch) when this measurement was taken. Useful for correlating with external logs or events.
165
- # - relative_time_secs: Time elapsed (in seconds) since the "Start" step. Useful for understanding the duration of each phase relative to the beginning of profiling.
166
- # - cpu_memory_mb: Current Resident Set Size (RSS) in megabytes at this step. This includes memory from the main process and all child processes. RSS represents the portion of memory held in RAM (not swapped out).
167
- # - gpu_memory_mb: Current GPU memory usage in megabytes. This represents actual GPU memory used by the process, including allocations from PyTorch, ONNX Runtime, TensorRT, and other frameworks. Only available when PyTorch with CUDA/ROCm is installed and GPU is available.
168
- # - disk_read_mb: Cumulative disk bytes read (in megabytes) since the start of profiling. Measured relative to the baseline captured at the 'Start' checkpoint, including I/O from the main process and all child processes. Only available when psutil is installed and the OS exposes per-process I/O counters (Linux /proc/<pid>/io, Windows; not available on macOS without root).
169
- # - disk_write_mb: Cumulative disk bytes written (in megabytes) since the start of profiling. Measured relative to the baseline captured at the 'Start' checkpoint, including I/O from the main process and all child processes. Only available when psutil is installed and the OS exposes per-process I/O counters (Linux /proc/<pid>/io, Windows; not available on macOS without root).
170
- #
171
- # Summary Metrics (overall):
172
- # - total_quantization_time_seconds: Total elapsed time (in seconds) from the start of profiling to the end of the quantization process.
173
- # - peak_memory_mb: Peak resident set size (RSS) in megabytes for the main process during the entire profiling session. On Linux, this is read from VmHWM (high water mark) in /proc/<pid>/status. On Windows, this is the peak working set size. This metric may not be available on all platforms.
174
- # - peak_gpu_memory_mb: Peak GPU memory usage in megabytes during the entire profiling session. This is the maximum GPU memory used, including allocations from PyTorch, ONNX Runtime, TensorRT, and other frameworks. Only available when PyTorch with CUDA/ROCm is installed and GPU is available.
175
- # - total_disk_read_mb: Total disk bytes read (in megabytes) during the entire profiling session. Computed as the difference between the final and baseline cumulative read counters, including I/O from the main process and all child processes. Only available when psutil is installed and the OS exposes per-process I/O counters (Linux /proc/<pid>/io, Windows; not available on macOS without root).
176
- # - total_disk_write_mb: Total disk bytes written (in megabytes) during the entire profiling session. Computed as the difference between the final and baseline cumulative write counters, including I/O from the main process and all child processes. Only available when psutil is installed and the OS exposes per-process I/O counters (Linux /proc/<pid>/io, Windows; not available on macOS without root).
177
- # - peak_cache_dir_disk_usage_mb: Highest peak increase in disk usage (in megabytes) among all cache directories created during the profiling session, relative to each cache directory's size when monitoring started. Sampled every 1 second by recursively summing file sizes with os.scandir().