linzhao-amd commited on
Commit
890146a
·
verified ·
1 Parent(s): 1063bab

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: 1780153972.2896764
6
- relative_time_secs: 0.0
7
- cpu_memory_mb: 4173.1
8
- gpu_memory_mb: 6216.02
9
- disk_read_mb: 0.0
10
- disk_write_mb: 0.0
11
- - step: "Model Loading Start"
12
- timestamp: 1780153973.5324614
13
- relative_time_secs: 1.2427849769592285
14
- cpu_memory_mb: 4173.1
15
- gpu_memory_mb: 6216.02
16
- disk_read_mb: 0.0
17
- disk_write_mb: 0.0
18
- - step: "Model Loading End"
19
- timestamp: 1780154914.4454265
20
- relative_time_secs: 942.1557500362396
21
- cpu_memory_mb: 5919.9
22
- gpu_memory_mb: 1742540.06
23
- disk_read_mb: 537436.0
24
- disk_write_mb: 6.61
25
- - step: "Dataset Loading Start"
26
- timestamp: 1780154975.0346658
27
- relative_time_secs: 1002.7449893951416
28
- cpu_memory_mb: 31534.6
29
- gpu_memory_mb: 1754618.52
30
- disk_read_mb: 537436.77
31
- disk_write_mb: 11253.46
32
- - step: "Dataset Loading End"
33
- timestamp: 1780154980.1630871
34
- relative_time_secs: 1007.8734107017517
35
- cpu_memory_mb: 31537.59
36
- gpu_memory_mb: 1754618.52
37
- disk_read_mb: 537436.77
38
- disk_write_mb: 11253.46
39
- - step: "Model Quantization Start"
40
- timestamp: 1780154985.432578
41
- relative_time_secs: 1013.1429016590118
42
- cpu_memory_mb: 31613.76
43
- gpu_memory_mb: 1754618.52
44
- disk_read_mb: 537436.77
45
- disk_write_mb: 11253.46
46
- - step: "Model Preparation Start"
47
- timestamp: 1780154986.6060688
48
- relative_time_secs: 1014.3163924217224
49
- cpu_memory_mb: 31613.76
50
- gpu_memory_mb: 1754618.52
51
- disk_read_mb: 537436.77
52
- disk_write_mb: 11253.47
53
- - step: "Model Preparation End"
54
- timestamp: 1780155035.8091686
55
- relative_time_secs: 1063.519492149353
56
- cpu_memory_mb: 34365.56
57
- gpu_memory_mb: 1754955.91
58
- disk_read_mb: 537436.77
59
- disk_write_mb: 11253.5
60
- - step: "Advanced Algorithms Start"
61
- timestamp: 1780155037.102942
62
- relative_time_secs: 1064.8132655620575
63
- cpu_memory_mb: 34365.56
64
- gpu_memory_mb: 1754955.91
65
- disk_read_mb: 537436.77
66
- disk_write_mb: 11253.5
67
- - step: "Advanced Algorithms End"
68
- timestamp: 1780155038.2418482
69
- relative_time_secs: 1065.9521718025208
70
- cpu_memory_mb: 34365.56
71
- gpu_memory_mb: 1754955.91
72
- disk_read_mb: 537436.77
73
- disk_write_mb: 11253.5
74
- - step: "Calibration Start"
75
- timestamp: 1780155039.549469
76
- relative_time_secs: 1067.2597925662994
77
- cpu_memory_mb: 34365.56
78
- gpu_memory_mb: 1754955.91
79
- disk_read_mb: 537436.77
80
- disk_write_mb: 11253.5
81
- - step: "Calibration End"
82
- timestamp: 1780157901.354939
83
- relative_time_secs: 3929.065262556076
84
- cpu_memory_mb: 39218.91
85
- gpu_memory_mb: 1907319.57
86
- disk_read_mb: 537436.83
87
- disk_write_mb: 12613.3
88
- - step: "Model Quantization End"
89
- timestamp: 1780158601.0518937
90
- relative_time_secs: 4628.762217283249
91
- cpu_memory_mb: 122106.05
92
- gpu_memory_mb: 1903770.54
93
- disk_read_mb: 537437.0
94
- disk_write_mb: 12613.94
95
- - step: "Freeze Model Start"
96
- timestamp: 1780158602.1963396
97
- relative_time_secs: 4629.906663179398
98
- cpu_memory_mb: 122106.05
99
- gpu_memory_mb: 1903770.54
100
- disk_read_mb: 537437.0
101
- disk_write_mb: 12613.94
102
- - step: "Freeze Model End"
103
- timestamp: 1780158620.131704
104
- relative_time_secs: 4647.842027664185
105
- cpu_memory_mb: 122363.78
106
- gpu_memory_mb: 1903770.54
107
- disk_read_mb: 537437.0
108
- disk_write_mb: 12613.95
109
- - step: "Export HF Safetensors Start"
110
- timestamp: 1780158621.4801466
111
- relative_time_secs: 4649.190470218658
112
- cpu_memory_mb: 122363.78
113
- gpu_memory_mb: 1903770.54
114
- disk_read_mb: 537437.0
115
- disk_write_mb: 12613.95
116
- - step: "Export HF Safetensors End"
117
- timestamp: 1780159229.9230697
118
- relative_time_secs: 5257.633393287659
119
- cpu_memory_mb: 153257.38
120
- gpu_memory_mb: 1917818.49
121
- disk_read_mb: 537437.02
122
- disk_write_mb: 434109.68
123
- - step: "Model Evaluation Start"
124
- timestamp: 1780159231.228492
125
- relative_time_secs: 5258.9388155937195
126
- cpu_memory_mb: 153257.38
127
- gpu_memory_mb: 1917818.49
128
- disk_read_mb: 537437.02
129
- disk_write_mb: 434109.68
130
- - step: "Model Evaluation End"
131
- timestamp: 1780159256.9552286
132
- relative_time_secs: 5284.665552139282
133
- cpu_memory_mb: 153643.08
134
- gpu_memory_mb: 1934880.1
135
- disk_read_mb: 537438.77
136
- disk_write_mb: 434109.68
137
- - step: "End"
138
- timestamp: 1780159258.2606156
139
- relative_time_secs: 5285.970939159393
140
- cpu_memory_mb: 153643.12
141
- gpu_memory_mb: 1934880.1
142
- disk_read_mb: 537438.83
143
- disk_write_mb: 434109.69
144
-
145
- # Summary Metrics
146
- total_quantization_time_seconds: 5285.971
147
- peak_memory_mb: 1424839.86
148
- peak_gpu_memory_mb: 1934880.1
149
- total_disk_read_mb: 537438.83
150
- total_disk_write_mb: 434109.69
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().