Skip to content

Commit dd551f3

Browse files
committed
fix(profile): upload staged trace path
1 parent f210796 commit dd551f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/profile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
exit 1
172172
fi
173173
174-
trace_path="profile_${res_name}.trace.json.gz"
174+
trace_path="/workspace/profile_${res_name}.trace.json.gz"
175175
if [ -f "$trace_path" ]; then
176176
echo "trace=$trace_path" >> "$GITHUB_OUTPUT"
177177
if [ "${FRAMEWORK}" = "sglang" ]; then
@@ -206,7 +206,7 @@ jobs:
206206
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
207207
with:
208208
name: profile_${{ env.RESULT_FILENAME }}
209-
path: profile_${{ env.RESULT_FILENAME }}.trace.json.gz
209+
path: ${{ steps.run.outputs.trace }}
210210
if-no-files-found: ignore
211211

212212
- name: Upload TP-0-DECODE trace as artifact

0 commit comments

Comments
 (0)