Skip to content

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants