Skip to content

Commit e2639e5

Browse files
committed
fix(profile): stage relay trace in checkout
1 parent 7c0cb09 commit e2639e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/profile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
exit 1
172172
fi
173173
174-
trace_path="/workspace/profile_${res_name}.trace.json.gz"
174+
trace_path="profile_${res_name}.trace.json.gz"
175175
if [ -f "$trace_path" ]; then
176176
echo "trace=$trace_path" >> "$GITHUB_OUTPUT"
177177
if [ "${FRAMEWORK}" = "sglang" ]; then

benchmarks/benchmark_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ move_profile_trace_for_relay() {
508508
return 0
509509
fi
510510

511-
local dest_trace="/workspace/profile_${RESULT_FILENAME}.trace.json.gz"
511+
local dest_trace="$PWD/profile_${RESULT_FILENAME}.trace.json.gz"
512512
if [[ "$trace_file" == *.gz ]]; then
513513
cp -f "$trace_file" "$dest_trace"
514514
else

0 commit comments

Comments
 (0)