Skip to content

Commit

Permalink
Add image benchmark action (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
juberti authored May 5, 2024
1 parent e734bb0 commit 4657877
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
steps:
- name: Send Benchmark Requests
run: |
regions=("sea" "iad" "cdg")
regions=("sea" "iad" "cdg")
media=("text" "image")
for region in "${regions[@]}"
for media in "${media[@]}"
do
curl -f -X POST 'https://ai-benchmarks.fly.dev/bench?mode=text&max_tokens=20&spread=30&store' -H "fly-prefer-region: $region"
curl -f -X POST "https://ai-benchmarks.fly.dev/bench?mode=$media&max_tokens=20&spread=30&store" -H "fly-prefer-region: $region"
done

0 comments on commit 4657877

Please sign in to comment.