LLM benchmarks: run weekly LLM benchmarks from website-managed models#5324
Open
bradleyshep wants to merge 27 commits into
Open
LLM benchmarks: run weekly LLM benchmarks from website-managed models#5324bradleyshep wants to merge 27 commits into
bradleyshep wants to merge 27 commits into
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note 1: this requires a website PR to merge
Note 2:
I was able to run all workflow smoke tests successfully, including golden validation and dry-run benchmarks, except for the C# dry-run benchmark path. C# golden validation passes, but the C# benchmark dry run still fails intermittently/consistently on the runner despite several attempts to align its build/publish setup with the known-good smoketest path.
Description of Changes
This updates the LLM benchmark automation and runner plumbing.
--model-source remote.--models ...working for manual/local overrides.OPENROUTER_ALLOW_UNCHECKED_CREDITS=1escape hatchOPENROUTER_MIN_CREDITS/LLM_MIN_CREDITSLLM_VENDOR=openrouter, while preserving direct OpenAI support for local/manual use.pnpmAPI and ABI breaking changes
None.
This adds benchmark-runner/workflow behavior and CLI options, but does not change SpacetimeDB runtime API or ABI.
Expected complexity level and risk
3/5
The changes are mostly isolated to the LLM benchmark runner and GitHub workflows, but the risk is moderate because they touch CI execution paths, local SDK build assumptions, website-managed model resolution, OpenRouter routing, and generated module publish behavior across Rust, C#, and TypeScript.
The most sensitive pieces are:
Testing
cargo check -p xtask-llm-benchmark --bin llm_benchmarkcargo test -p xtask-llm-benchmark --bin llm_benchmarkcargo test -p xtask-llm-benchmark parses_active_available_model_routesmodel_set=explicitplus selected model/task inputs.