1. 03 Nov, 2021 1 commit
  2. 06 Oct, 2021 1 commit
  3. 02 Sep, 2021 1 commit
  4. 26 Aug, 2021 1 commit
    • moto's avatar
      Default to BUILD_SOX=1 in non-Windows systems (#1725) · 89ea6955
      moto authored
      * Default to BUILD_SOX=1 in non-Windows systems
      
      Since the adaptation of CMake and restricting to the static linking of libsox,
      the build process has become much robust with libsox integration enabled.
      
      This commit makes it default behavior to build libsox integration in non-Windows systems.
      The build process still checks BUILD_SOX env var so, setting `BUILD_SOX=0` disables it.
      89ea6955
  5. 03 Aug, 2021 1 commit
  6. 31 Jul, 2021 1 commit
  7. 28 Jul, 2021 1 commit
  8. 07 Jul, 2021 1 commit
  9. 28 Jun, 2021 2 commits
  10. 23 Jun, 2021 1 commit
  11. 22 Jun, 2021 1 commit
    • moto's avatar
      Temporarily pin nightly version on Linux/macOS CPU unittest (#1598) · 6d9c04d8
      moto authored
      There are some issues on CMake-based integration after 2021-06-19.
      
      ```
        Imported target "torch" includes non-existent path
          "/opt/conda/conda-bld/pytorch_1624259172741/work/torch/lib"
        in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
        * The path was deleted, renamed, or moved to another location.
        * An install or uninstall procedure did not complete successfully.
        * The installation package was faulty and references files it does not provide.
      ```
      
      This is being worked on PR like https://github.com/pytorch/pytorch/pull/60403.
      The nightly builds are still causing the error, so as a workaround, 
      we pin the nightly build version for Linux/macOS unittest.
      The issue still happens on Windows unittest and binary builds.
      6d9c04d8
  12. 01 Jun, 2021 1 commit
  13. 27 May, 2021 1 commit
  14. 20 Apr, 2021 1 commit
  15. 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
  16. 12 Mar, 2021 1 commit
  17. 23 Feb, 2021 1 commit
  18. 19 Feb, 2021 1 commit
  19. 09 Feb, 2021 1 commit
  20. 04 Feb, 2021 1 commit
  21. 03 Feb, 2021 1 commit
  22. 02 Feb, 2021 1 commit
  23. 26 Jan, 2021 1 commit
  24. 21 Jan, 2021 1 commit
    • 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
  25. 12 Jan, 2021 1 commit
  26. 08 Jan, 2021 1 commit
  27. 07 Jan, 2021 1 commit
  28. 05 Jan, 2021 1 commit
  29. 09 Nov, 2020 1 commit
  30. 30 Oct, 2020 1 commit
  31. 22 Oct, 2020 1 commit
  32. 16 Oct, 2020 1 commit
  33. 23 Sep, 2020 1 commit
  34. 03 Sep, 2020 1 commit
  35. 12 Aug, 2020 1 commit
  36. 07 Aug, 2020 1 commit
  37. 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
  38. 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
  39. 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