Skip to content

Commit 3d90855

Browse files
authored
remove db utils from benchmarking (#13199)
1 parent 5b54496 commit 3d90855

File tree

2 files changed

+0
-180
lines changed

2 files changed

+0
-180
lines changed

.github/workflows/benchmark.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,6 @@ jobs:
6262
with:
6363
name: benchmark_test_reports
6464
path: benchmarks/${{ env.BASE_PATH }}
65-
66-
# TODO: enable this once the connection problem has been resolved.
67-
- name: Update benchmarking results to DB
68-
env:
69-
PGDATABASE: metrics
70-
PGHOST: ${{ secrets.DIFFUSERS_BENCHMARKS_PGHOST }}
71-
PGUSER: transformers_benchmarks
72-
PGPASSWORD: ${{ secrets.DIFFUSERS_BENCHMARKS_PGPASSWORD }}
73-
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
74-
run: |
75-
git config --global --add safe.directory /__w/diffusers/diffusers
76-
commit_id=$GITHUB_SHA
77-
commit_msg=$(git show -s --format=%s "$commit_id" | cut -c1-70)
78-
cd benchmarks && python populate_into_db.py "$BRANCH_NAME" "$commit_id" "$commit_msg"
7965

8066
- name: Report success status
8167
if: ${{ success() }}

benchmarks/populate_into_db.py

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)