Skip to content

Commit 093213b

Browse files
committed
upload profiling results to S3
1 parent 4d1bbbf commit 093213b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/vllm-profiling.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,25 @@ jobs:
214214
)
215215
docker exec -t "${container_name}" bash -c "cd vllm-profiling && bash ../.github/scripts/run_vllm_profiling.sh"
216216
217+
- name: Prepare S3 upload metadata
218+
id: prepare_s3_upload
219+
env:
220+
REPOSITORY: ${{ github.repository }}
221+
run: |
222+
set -eux
223+
224+
UPLOAD_DATE=$(date -u +"%Y-%m-%d")
225+
echo "upload-date=${UPLOAD_DATE}" >> "${GITHUB_OUTPUT}"
226+
echo "s3-prefix=${REPOSITORY}/${UPLOAD_DATE}/${HEAD_SHA}" >> "${GITHUB_OUTPUT}"
227+
228+
- name: Upload profiling results to S3
229+
uses: seemethere/upload-artifact-s3@v5
230+
retention-days: 180
231+
with:
232+
s3-prefix: ${{ steps.prepare_s3_upload.outputs.s3-prefix }}
233+
path: vllm-profiling/profiling-results
234+
if-no-files-found: warn
235+
217236
- uses: actions/upload-artifact@v4
218237
with:
219238
name: profiling-results--${{ env.DEVICE_TYPE }}

0 commit comments

Comments
 (0)