Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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
5 changes: 1 addition & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Self-hosted runner (benchmark)

on:
push:
branches: [main]
pull_request:
types: [ opened, labeled, reopened, synchronize ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
32 changes: 2 additions & 30 deletions .github/workflows/benchmark_v2.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,7 @@
name: Benchmark v2 Framework

on:
workflow_call:
inputs:
runner:
description: 'GH Actions runner group to use'
required: true
type: string
container_image:
description: 'Docker image to use'
required: true
type: string
container_options:
description: 'Container options to use'
required: true
type: string
commit_sha:
description: 'Commit SHA to benchmark'
required: false
type: string
default: ''
run_id:
description: 'Custom run ID for organizing results (auto-generated if not provided)'
required: false
type: string
default: ''
benchmark_repo_id:
description: 'HuggingFace Dataset to upload results to (e.g., "org/benchmark-results")'
required: false
type: string
default: ''
workflow_dispatch:

env:
HF_HOME: /mnt/cache
Expand Down Expand Up @@ -82,4 +54,4 @@ jobs:
--token '${{ secrets.TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN }}' \
--log-level INFO
env:
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
8 changes: 2 additions & 6 deletions .github/workflows/benchmark_v2_a10_caller.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Benchmark v2 Scheduled Runner - A10 Single-GPU

on:
schedule:
# Run daily at 16:30 UTC
- cron: "30 16 * * *"
pull_request:
types: [ opened, labeled, reopened, synchronize ]
workflow_dispatch:

jobs:
benchmark-v2-default:
Expand All @@ -18,4 +14,4 @@ jobs:
commit_sha: ${{ github.sha }}
run_id: ${{ github.run_id }}
benchmark_repo_id: hf-internal-testing/transformers-daily-benchmarks
secrets: inherit
secrets: inherit
8 changes: 2 additions & 6 deletions .github/workflows/benchmark_v2_mi325_caller.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Benchmark v2 Scheduled Runner - MI325 Single-GPU

on:
schedule:
# Run daily at 16:30 UTC
- cron: "30 16 * * *"
pull_request:
types: [ opened, labeled, reopened, synchronize ]
workflow_dispatch:

jobs:
benchmark-v2-default:
Expand All @@ -18,4 +14,4 @@ jobs:
commit_sha: ${{ github.sha }}
run_id: ${{ github.run_id }}
benchmark_repo_id: hf-internal-testing/transformers-daily-benchmarks
secrets: inherit
secrets: inherit
3 changes: 2 additions & 1 deletion benchmark_v2/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
benchmark_results/
benchmark_results/
benchmark_results_profiles/
1 change: 0 additions & 1 deletion benchmark_v2/benches/__init__.py

This file was deleted.

165 changes: 0 additions & 165 deletions benchmark_v2/benches/llama.py

This file was deleted.

Loading