WebSafe 3.7github.com
|
|
🏠
Skip to content

test clean-ups#1487

Merged
mravanelli merged 2 commits intospeechbrain:developfrom
anautsch:testing-fixes
Jul 4, 2022
Merged

test clean-ups#1487
mravanelli merged 2 commits intospeechbrain:developfrom
anautsch:testing-fixes

Conversation

@anautsch
Copy link
Collaborator

Made a few clean-ups on tests:

  • doctest & unittest -> temporary dirs outside of repo's root folder (testing is less noisy in the file system)
  • most files created by tests in tests/tmp (if not in other temporary folders outside of the local repo)
  • load-yaml-tests -> a. cpu-friendly scripts only | b. rir download to tests/tmp/rir (aim: regardless of which test runs, it's 1.3 Gb each time for the same archive - so, recipes can refer to the same download destination and skip if existing already)

Some recipes were adjusted (minor edits).

#1469 - test for profiling adjusted: CUDA presence issues recording of events, although PyTorch profiler with warming-up scheduler schould not record anything (but it does) ... during testing, these events were simply removed from the list to not interfer with PyTorch profiler's doings - we provide a wrapper only.

@anautsch anautsch requested a review from mravanelli June 30, 2022 17:09
@mravanelli
Copy link
Collaborator

Thank you @anautsch, thank you for this improvement. I re-run all the tests and everything seems to work as expected.

@mravanelli mravanelli merged commit 033d8cd into speechbrain:develop Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants

Comments