Skip to content

Commit 23e6116

Browse files
committed
init
1 parent e570942 commit 23e6116

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/cuda-perf.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ jobs:
249249
CUDA_DRIVER_VERSION=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader | head -1)
250250
echo "CUDA Driver Version: $CUDA_DRIVER_VERSION"
251251
252-
# Create results directory
253-
RESULTS_DIR="${RUNNER_ARTIFACT_DIR}"
252+
# Create results directory (separate from model artifacts)
253+
RESULTS_DIR="benchmark_results"
254254
mkdir -p "$RESULTS_DIR"
255255
256256
# Determine model name and runner command based on model
@@ -310,6 +310,15 @@ jobs:
310310
"workflow_run_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
311311
}
312312
EOF
313+
314+
# Only copy benchmark results to RUNNER_ARTIFACT_DIR for upload (not the entire model)
315+
# First, clean up the downloaded model artifacts from RUNNER_ARTIFACT_DIR
316+
rm -rf "${RUNNER_ARTIFACT_DIR}"/*
317+
318+
# Then copy only the benchmark result JSON files
319+
cp "$RESULTS_DIR"/*.json "${RUNNER_ARTIFACT_DIR}/"
320+
echo "Benchmark results prepared for upload:"
321+
ls -lah "${RUNNER_ARTIFACT_DIR}"
313322
echo "::endgroup::"
314323
315324
upload-benchmark-results:

0 commit comments

Comments
 (0)