Add SongEval and shared model caching - #86
Merged
ftshijt merged 1 commit intoJul 21, 2026
Conversation
ftshijt
marked this pull request as ready for review
July 20, 2026 23:44
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.
Summary
--cache_folderconsistently configure utterance and corpus metrics in both scorer entry pointscache_diroverridesMotivation
Versa exposed cache options in several places, but the main scorer did not apply
--cache_folderto ordinary utterance metrics and some pretrained-model loaders ignored metric cache configuration. This could duplicate large checkpoints or place downloads in user-specific default locations. SongEval also needed a reliable setup path for both its predictor and MuQ encoder.This change makes a mounted cache root reusable across runs and machines while keeping unrelated metric artifacts isolated.
Validation
132 passed, 1 skippedacross metric definitions, base metric/pipeline coverage, SongEval, shared-cache routing, NOMAD, PAM cache forwarding, and speaking-rate testsbash -n tools/install_songeval.shgit diff --checkpip wheel . --no-deps --no-build-isolationVERSA_RUN_REAL_MODEL_TESTS=1 python -m pytest test/test_metrics/test_songeval.py::test_songeval_real_model_inference -vv -s(
1 passedin 43.04 seconds)The real-model test remains opt-in because it downloads approximately 8.5 GB
of MuQ assets in addition to the SongEval checkpoint.