Skip to content

Commit 5e91aa7

Browse files
feat: add performance estimation pipeline (benchest integration)
- Add estimate_common.sh with shared functions (read_values, print_json, performance_ratio) - Add programs/qws/estimate.sh with dummy scale-mock model - Add run_estimate.sh, send_estimate.sh CI wrappers - Add estimate/send_estimate stages to matrix_generate.sh and job_functions.sh - Add UUID-based re-estimation mode (generate_estimate_from_uuid.sh, fetch_result_by_uuid.sh) - Update .gitlab-ci.yml with estimate_uuid variable and estimate pipeline jobs - Estimate targets: MiyabiG, RC_GH200 only
1 parent 9624608 commit 5e91aa7

13 files changed

Lines changed: 1436 additions & 1 deletion

.gitlab-ci.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ variables:
2828
benchpark: "false"
2929
park_only: "false"
3030
park_send: "false"
31+
estimate_uuid: ""
3132

3233
# Extract system and code filters from API variables or commit message
3334
.filters: &filters
@@ -73,6 +74,8 @@ generate_matrix:
7374
- .gitlab-ci.generated.yml
7475
expire_in: 1 hour
7576
rules:
77+
- if: '$estimate_uuid != ""'
78+
when: never # 推定モードでは通常パイプラインを無効化
7679
- if: '$park_only == "true"'
7780
when: never # park_onlyモードでは無効
7881
- if: '$park_send == "true"'
@@ -108,6 +111,8 @@ trigger_child_pipeline:
108111
- job: generate_matrix
109112
optional: true
110113
rules:
114+
- if: '$estimate_uuid != ""'
115+
when: never # 推定モードでは通常パイプラインを無効化
111116
- if: '$park_only == "true"'
112117
when: never # park_onlyモードでは無効
113118
- if: '$park_send == "true"'
@@ -143,6 +148,8 @@ generate_benchpark_matrix:
143148
- .gitlab-ci.benchpark.yml
144149
expire_in: 1 hour
145150
rules:
151+
- if: '$estimate_uuid != ""'
152+
when: never # 推定モードではBenchParkパイプラインも無効化
146153
- if: '$code != "" && $benchpark != "true" && $park_only != "true" && $park_send != "true"'
147154
when: never # BenchKit専用のcode指定時はBenchParkを実行しない
148155
- if: '$park_only == "true"'
@@ -175,6 +182,8 @@ trigger_benchpark_pipeline:
175182
- job: generate_benchpark_matrix
176183
optional: true
177184
rules:
185+
- if: '$estimate_uuid != ""'
186+
when: never # 推定モードではBenchParkパイプラインも無効化
178187
- if: '$code != "" && $benchpark != "true" && $park_only != "true" && $park_send != "true"'
179188
when: never # BenchKit専用のcode指定時はBenchParkを実行しない
180189
- if: '$park_only == "true"'
@@ -192,4 +201,35 @@ trigger_benchpark_pipeline:
192201
- changes:
193202
- "benchpark-bridge/**/*"
194203
when: always
195-
- when: never
204+
- when: never
205+
206+
# BenchEst Estimation Jobs (UUID trigger mode)
207+
generate_estimate_matrix:
208+
stage: generate
209+
script:
210+
- bash scripts/generate_estimate_from_uuid.sh
211+
tags:
212+
- general
213+
artifacts:
214+
paths:
215+
- .gitlab-ci.estimate.yml
216+
expire_in: 1 hour
217+
rules:
218+
- if: '$estimate_uuid != ""'
219+
when: always
220+
- when: never
221+
222+
trigger_estimate_pipeline:
223+
stage: trigger
224+
trigger:
225+
include:
226+
- artifact: .gitlab-ci.estimate.yml
227+
job: generate_estimate_matrix
228+
strategy: depend
229+
needs:
230+
- job: generate_estimate_matrix
231+
optional: true
232+
rules:
233+
- if: '$estimate_uuid != ""'
234+
when: always
235+
- when: never
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"specId": "054020f6-5261-44dd-855e-8a86ce2e3f12", "workflowType": "requirements-first", "specType": "feature"}

0 commit comments

Comments
 (0)