Skip to content

Commit

Permalink
add_version_simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Oct 4, 2024
1 parent 28e20c1 commit 4e77004
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/userbenchmark-a100-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,13 @@ jobs:
set -x
. "${SETUP_SCRIPT}"
# remove old results
release_version=$(cat ./.userbenchmark/release-test/version.txt)
if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi
pushd benchmark
if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi
MANUAL_WORKFLOW="release-test"
if [ -z "${MANUAL_WORKFLOW}" ]; then
# Figure out what userbenchmarks we should run, and run it
python ./.github/scripts/userbenchmark/schedule-benchmarks.py --platform ${PLATFORM_NAME}
if [ -d ./.userbenchmark ]; then
cp -r ./.userbenchmark ../benchmark-output
else
mkdir ../benchmark-output
fi
else
python run_benchmark.py release-test
cp -r ./.userbenchmark/release-test ../benchmark-output
fi
python run_benchmark.py release-test -c ${release_version}
cp -r ./.userbenchmark/release-test ../benchmark-output
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions userbenchmark/release-test/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.0

0 comments on commit 4e77004

Please sign in to comment.