1. 07 Jul, 2021 1 commit
  2. 28 Jun, 2021 2 commits
  3. 23 Jun, 2021 1 commit
  4. 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
  5. 01 Jun, 2021 1 commit
  6. 27 May, 2021 1 commit
  7. 20 Apr, 2021 1 commit
  8. 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
  9. 12 Mar, 2021 1 commit
  10. 23 Feb, 2021 1 commit
  11. 19 Feb, 2021 1 commit
  12. 09 Feb, 2021 1 commit
  13. 04 Feb, 2021 1 commit
  14. 03 Feb, 2021 1 commit
  15. 02 Feb, 2021 1 commit
  16. 26 Jan, 2021 1 commit
  17. 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
  18. 12 Jan, 2021 1 commit
  19. 08 Jan, 2021 1 commit
  20. 07 Jan, 2021 1 commit
  21. 05 Jan, 2021 1 commit
  22. 09 Nov, 2020 1 commit
  23. 30 Oct, 2020 1 commit
  24. 22 Oct, 2020 1 commit
  25. 16 Oct, 2020 1 commit
  26. 23 Sep, 2020 1 commit
  27. 03 Sep, 2020 1 commit
  28. 12 Aug, 2020 1 commit
  29. 07 Aug, 2020 1 commit
  30. 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
  31. 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
  32. 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
  33. 14 Jul, 2020 1 commit
  34. 06 Jul, 2020 1 commit
  35. 01 Jul, 2020 1 commit
    • moto's avatar
      Use cmake for third party (#753) · ea42513f
      moto authored
      * Use cmake for third party
      
      * Apply patch to libmad
      
      * Update gitignore
      
      * Update docker test image
      ea42513f
  36. 26 Jun, 2020 1 commit
  37. 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
  38. 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
  39. 15 Jun, 2020 1 commit