GPU benchmarks #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GPU benchmarks | |
on: | |
push: | |
jobs: | |
macos: | |
name: "HuggingFace's Optimum-Benchmark" | |
runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64-gpu:22.04 | |
steps: | |
- uses: actions/setup-python@v5 | |
- run: | | |
git clone https://github.com/huggingface/optimum-benchmark.git | |
cd optimum-benchmark | |
pip install -e . | |
optimum-benchmark --config-dir examples/ --config-name pytorch_bert |