Skip to content
Merged
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
13 changes: 11 additions & 2 deletions .github/workflows/cuda-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ jobs:
CUDA_DRIVER_VERSION=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader | head -1)
echo "CUDA Driver Version: $CUDA_DRIVER_VERSION"

# Create results directory
RESULTS_DIR="${RUNNER_ARTIFACT_DIR}"
# Create results directory (separate from model artifacts)
RESULTS_DIR="benchmark_results"
mkdir -p "$RESULTS_DIR"

# Determine model name and runner command based on model
Expand Down Expand Up @@ -310,6 +310,15 @@ jobs:
"workflow_run_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
EOF

# Only copy benchmark results to RUNNER_ARTIFACT_DIR for upload (not the entire model)
# First, clean up the downloaded model artifacts from RUNNER_ARTIFACT_DIR
rm -rf "${RUNNER_ARTIFACT_DIR}"/*

# Then copy only the benchmark result JSON files
cp "$RESULTS_DIR"/*.json "${RUNNER_ARTIFACT_DIR}/"
echo "Benchmark results prepared for upload:"
ls -lah "${RUNNER_ARTIFACT_DIR}"
echo "::endgroup::"

upload-benchmark-results:
Expand Down
Loading