CI check fixes#2029
Conversation
This reverts commit fbd04db. The variable is actually used, and there is a bug in the consistency check regexes.
|
So there still seems to be a bug where the yaml consistency checks can miss some variables uses in |
|
Hmmm I do prefer to remove comments from yaml if they are not used. Cleaner like that. Could you please run the recipe testing tool on the recipes that have changed please? (just to make sure that it does not break anything...) |
Will do |
|
Removed the commented lines. The recipe tests are running in the mean time. |
|
Ok great. You just have to run it for the recipes that you modified. (No need to run for the entire toolkit as it might take A LOT of time). |
|
CI checks failed to a huggingface server error FWIW, might be worth rerunning a bit later. |
|
With the latest commit included, ESC50 recipe tests pass, and all but 4 LibriSpeech tests pass, all with the following error, which seems irrelevant to these changes:
cc @Adel-Moumen. Should be good? |
Contribution in a nutshell
#1600 was merged semi-recently, and certain older PRs, which have not been rebased on
develop, didn't include these changes at the time the CI checks were executed.As a result, certain PRs were merged even though they would fail with the checks that
develophad, temporally at the same time.This PR aims to fix the hyperparameter files so that the CI checks run again. After this is merged, other older PRs that contain hyperparameters changes should ideally be rebased to
develop/havedevelopmerged into them so that their checks are correct.Scope
Notes for reviewing (optional)
For the ESC50 recipes, it looks like most unused hyperparameters are leftovers from UrbanSound8k recipes. For the most part, I removed them if they seemed irrelevant, left some commented that seemed like someone would want to tinker with them (namely augmentation-related), or fixed references (e.g.
n_mels).For the WavLM hyperparameter files the unused key seemed irrelevant to the experiment.
Finally, for hf_whisper_encoder, I removed the hparam as @Adel-Moumen asked me to.
I imagine getting this double-checked by the relevant people, namely for #1605, might be good.
Pre-review
pre-commit run -ato check linters; runpytest tests/consistency