Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ci/deepseek-v4-pro-agg/patch-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
- name: ENDPOINT
value: dsv4-pro-agg-frontend:8000
- name: CONCURRENCIES
value: "1 8 64 128 256 512 1024"
Comment thread
yunzhoul-nv marked this conversation as resolved.
value: "128"
Comment thread
sara4dev marked this conversation as resolved.
volumes:
- name: model-cache
persistentVolumeClaim:
Expand Down
4 changes: 2 additions & 2 deletions .github/ci/kimi-k25-agg/patch-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ spec:
- name: perf
env:
- name: CONCURRENCIES
value: "1"
value: "20"
- name: BENCHMARK_DURATION
value: "60"
value: "120"
volumes:
- name: model-cache
persistentVolumeClaim:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/shared-recipe-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,17 @@ jobs:
if: ${{ success() && !inputs.preflight_only }}
timeout-minutes: 5
run: |
concurrencies=$(yq -er '.spec.template.spec.containers[] | select(.name == strenv(PERF_CONTAINER)).env[] | select(.name == "CONCURRENCIES").value' "$ARTIFACTS/perf.yaml")
if [[ "$RECIPE" == kimi-k25-agg ]]; then
[[ "$concurrencies" =~ ^[1-9][0-9]*$ ]]
shopt -s nullglob
profiles=("$ARTIFACTS"/perf/*/*_trace_c1_*/profile_export_aiperf.json)
profiles=("$ARTIFACTS"/perf/*/*_trace_c"$concurrencies"_*/profile_export_aiperf.json)
(( ${#profiles[@]} == 1 ))
jq -e '.request_count.avg > 0 and (.error_request_count.avg // 0) == 0 and
# The CI trace has 20 conversations with 10 turns each.
jq -e '.request_count.avg == 200 and (.error_request_count.avg // 0) == 0 and
.output_sequence_length.avg > 0 and .was_cancelled != true' "${profiles[0]}"
exit 0
fi
concurrencies=$(yq -er '.spec.template.spec.containers[] | select(.name == strenv(PERF_CONTAINER)).env[] | select(.name == "CONCURRENCIES").value' "$ARTIFACTS/perf.yaml")
for concurrency in $concurrencies; do
jq -e --argjson requests "$((concurrency * 3))" '
.request_count.avg == $requests and (.error_request_count.avg // 0) == 0 and
Expand Down
Loading