Skip to content
Merged
Changes from all commits
Commits
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
7 changes: 2 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ jobs:
if: hashFiles('tokenizers/output.txt') != ''
id: compare
run: |
uv pip install --system cairosvg

uvx --from huggingface_hub hf download hf-internal-testing/tokenizers-bench \
baseline.txt --repo-type dataset --local-dir /tmp/prev_baseline 2>/dev/null || true

Expand All @@ -138,7 +136,7 @@ jobs:

echo "has_comparison=true" >> "$GITHUB_OUTPUT"

python3 ${{ github.workspace }}/.github/scripts/render_bench_svg.py \
uvx --with cairosvg python ${{ github.workspace }}/.github/scripts/render_bench_svg.py \
--baseline /tmp/prev_baseline/baseline.txt \
--current output.txt \
--output rust_bench.png \
Expand Down Expand Up @@ -283,8 +281,7 @@ jobs:

echo "has_comparison=true" >> "$GITHUB_OUTPUT"

uv pip install --system cairosvg
python3 ${{ github.workspace }}/.github/scripts/render_bench_svg.py \
uvx --with cairosvg python ${{ github.workspace }}/.github/scripts/render_bench_svg.py \
--baseline-json baseline_dir/python-baseline.json \
--current-json bench_output.json \
--output python_bench.png \
Expand Down
Loading