Model Validation Infrastructure, Script, and Workflow#432
Open
cwitkowitz wants to merge 7 commits into
Open
Conversation
…atch using Claude's Fable.
…racking, output inspection via expect rules and custom validators, and fixed the post-run hang.
…ary, and abstracted harness timeouts.
…option, retrying loading ZeroGPU models, and updates to printouts and README.
…ZeroGPU models, graceful handling of remaining ZeroGPU models after quota exceeded, and improved reporting.
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.
Implements a model validation framework executed manually or as a daily GitHub Action. The main script headlessly drives the pyharp gradio endpoints (
/controls,/process) across two tiers: localpyharp/examples/apps, and every Hugging Face Space underteamup-tech.Every model gets a default case with inputs synthesized from its own
/controlsspec;config.ymladds per-model and shared cases, declarativeexpectrules on outputs (audio/MIDI/label properties), and customvalidators.See
model_validation/README.mdfor more details.One current limitation is the lack of precision in tracking ZeroGPU quota usage. Since quota usage is dynamic and can be refunded, it might be worthwhile to retry ZeroGPU models before outright skipping the remaining ones after a single ZeroGPU quota exceeded error. Another workaround could be to set the number of workers to 1 to avoid eating up extra quota due to initial time reservations.