1. 06 Apr, 2021 1 commit
    • moto's avatar
      Do not print CPU info before running tests (#1434) · 52e2943c
      moto authored
      This code was added as a part of investigation of inconsistent behavior
      of file-like object support. Now the investigation is done and this code
      does not provide much insight yet adding a bunch of lines to the log, so
      this PR removes it.
      52e2943c
  2. 12 Mar, 2021 1 commit
  3. 23 Feb, 2021 1 commit
  4. 19 Feb, 2021 1 commit
  5. 09 Feb, 2021 1 commit
  6. 04 Feb, 2021 1 commit
  7. 03 Feb, 2021 1 commit
  8. 02 Feb, 2021 1 commit
  9. 26 Jan, 2021 1 commit
  10. 21 Jan, 2021 2 commits
    • moto's avatar
      Update unit test base Docker image (#1193) · 5547f204
      moto authored
      * Do not install sox system-wide, so that it will never get mixed up with static one torchaudio builds
      * Do not install cmake system-wide
      * Move libsndfile installation to Docker image
      5547f204
    • moto's avatar
      Update GPU test image for development (#1191) · fe921bfa
      moto authored
      Changing the test Docker image for GPU tests to use Nvidia Docker `devel` image. This is necessary for #1187. 
      fe921bfa
  11. 12 Jan, 2021 1 commit
  12. 08 Jan, 2021 1 commit
  13. 07 Jan, 2021 1 commit
  14. 05 Jan, 2021 1 commit
  15. 09 Nov, 2020 1 commit
  16. 30 Oct, 2020 1 commit
  17. 22 Oct, 2020 1 commit
  18. 16 Oct, 2020 1 commit
  19. 23 Sep, 2020 1 commit
  20. 03 Sep, 2020 1 commit
  21. 12 Aug, 2020 1 commit
  22. 07 Aug, 2020 1 commit
  23. 05 Aug, 2020 1 commit
    • moto's avatar
      [CI] Run unit test with non-editable installation (#845) · 9ba02d5b
      moto authored
      We have been running unit test with editable installation. (i.e. `python setup.py develop`), with which we missed issues like #842. 
      
      This CC makes installation in CI non-editable, and change test directory structure so that the source code will not shadow the installed version of `torchaudio`. With simple `pytest test`, `pytest` modifies `sys.path` and prepend checked out repository, which shadows the installed version.
      
      To remedy this, the whole test suites has been moved from `./test` to `./test/torchaudio_unittest`. This adds nice module structure to our test code and we can do absolute import in each test module, which makes it possible again to run test with `python -m unittest torchaudio_unittest/XXX.py`
      
      This change does not affect the regular development process (`python setup.py develop` && `pytest test`)
      9ba02d5b
  24. 31 Jul, 2020 1 commit
    • moto's avatar
      [CI] Make *nix unit test fail if C++ extension is not available (#847) · 3bab2b29
      moto authored
      Currently our test suites automatically/silently skip tests on C++ extension
      if it is not available. This is nice in local env, but in CI these tests should be
      enforced and reported as failure if C++ extension is not available.
      
      This PR adds switch for making tests fail if C++ extension is not available,
      and make CI for *nix fail if that's the case.
      3bab2b29
  25. 29 Jul, 2020 1 commit
    • moto's avatar
      Run tests in parallel with pytest-xdist (#807) · 1ecbc249
      moto authored
      Currently macOS CI job takes twice the time of linux unit tests.
      This PR uses `pytest-xdist` to run unit tests in parallel on macOS CI job. 
      
      Interestingly applying the same technique to linux unit tests make the test execution longer.
      So the change is only applied to macOS.
      
      macOS 27 mins -> 17 mins 😸
      linux 14 mins -> 1 hours 😾
      1ecbc249
  26. 22 Jul, 2020 1 commit
  27. 14 Jul, 2020 1 commit
  28. 06 Jul, 2020 1 commit
  29. 01 Jul, 2020 2 commits
  30. 26 Jun, 2020 1 commit
  31. 23 Jun, 2020 1 commit
    • moto's avatar
      Bake libsox in test base Docker image (#739) · 80bfb28b
      moto authored
      In #728, linux unit test switches to libsox provided by apt.
      For CPU jobs this is fine because all the job steps share the same Docker container,
      but on CPU job, each job step runs a script in a new Docker container, so
      libsox installed in a step is not available to the subsequent steps.
      
      To fix this, this PR moves the installation of libsox and sox to Docker build.
      80bfb28b
  32. 19 Jun, 2020 1 commit
    • moto's avatar
      Add TorchScript-able "info" func to sox_io backend (#728) · 88fccd14
      moto authored
      This is a part of PRs to add new "sox_io" backend #726, and depends on #718.
      
      This PR adds `info` function to "sox_io" backend, which allows users to fetch some metadata of an audio file. 
      At this moment, the information retrieved are;
      
       - Number of samples in the audio file
       - Sampling rate
       - Number of channels
      88fccd14
  33. 15 Jun, 2020 1 commit
  34. 03 Jun, 2020 1 commit
  35. 01 Jun, 2020 1 commit
  36. 28 May, 2020 1 commit
    • moto's avatar
      Separate style check from unit test (#664) · 6c3cc16d
      moto authored
      * Separate style check from unit test
      
      * TEST flake8 fail
      
      * TEST clang-format fail
      
      * Revert "TEST flake8 fail"
      
      This reverts commit 88d90185cefe294b9a662129a05c2e26a9844fe4.
      
      * Revert "TEST clang-format fail"
      
      This reverts commit 93517d1ccba650a6ccd813268fd73a4fd63b252c.
      6c3cc16d
  37. 27 May, 2020 1 commit
    • moto's avatar
      Self-contain codecs library (#625) · d3c83eaa
      moto authored
      * Clean up extension build mechanism and extension location
      
      * Add back the switch to depend on external sox
      
      * Remove print
      
      * Fix
      d3c83eaa
  38. 06 May, 2020 1 commit