Closed metropol closed 8 months ago
Moved the typo fix to its own branch (for a future PR).
It failed when building for VisionOS, which I don't have as a platform locally. For the typo fix (langauges -> languages), as you prefer: I can add it back to this branch or create another PR just for it.
@metropol whatever is more convenient for you, probably just reverting the commit that removes it would be simplest.
@ZachNagengast I've reverted the commit the removes the typo.
hi all, it seems that functional tests require two models to be downloaded: openai_whisper-tiny (because of
testRealTimeFactorTiny()
) and openai_whisper-large-v3 (because oftestInitLarge()
andtestRealTimeFactorLarge()
). This should probably be added to the CONTRIBUTING.md, however this PR does not make this change.Another functional test,
testOutputAll()
- actuallyallModelPaths()
, assumes that folders in./Models/whisperkit-coreml
, which are created from themake setup-model-repo
, contain actual models, while in fact only models explicitly downloaded withmake download-model MODEL=x
ormake download-models
are present.testOutputAll()
fails if not all models have been downloaded, which is not ideal. Running all tests for all models (takes a long time and) makes sense in some scenarios, but probably not to test some code changes.I've implemented some changes so that
allModelPaths()
only returns folders that contain downloaded models. This is done by checking if a proxy file (MelSpectrogram.mlmodelc/coremldata.bin
) is a git lfs pointer file (starting withversion https://…
). If it is, then the folder is not included.