1. 13 Nov, 2020 2 commits
    • moto's avatar
      Fbsync (#1020) · f1142e65
      moto authored
      * Import torchaudio #996 758f6c2a
      
      Reviewed By: cpuhrsch
      
      Differential Revision: D24606263
      
      fbshipit-source-id: 4301b1df84d20c671783ec34c52d5b257374abf1
      
      * Import torchaudio #1004 5e54c770
      
      Summary: Import torchaudio up to #1004 5e54c770
      
      Reviewed By: vincentqb, cpuhrsch
      
      Differential Revision: D24841498
      
      fbshipit-source-id: 3829130636f36779d84f01ff0d0120b80b2396d7
      f1142e65
    • Matti Picus's avatar
      8d0c08db
  2. 09 Nov, 2020 1 commit
  3. 03 Nov, 2020 1 commit
  4. 30 Oct, 2020 1 commit
  5. 22 Oct, 2020 1 commit
  6. 19 Oct, 2020 1 commit
  7. 16 Oct, 2020 1 commit
  8. 15 Oct, 2020 1 commit
  9. 14 Oct, 2020 1 commit
  10. 06 Oct, 2020 1 commit
  11. 23 Sep, 2020 1 commit
  12. 03 Sep, 2020 1 commit
  13. 28 Aug, 2020 1 commit
  14. 12 Aug, 2020 2 commits
  15. 07 Aug, 2020 1 commit
  16. 06 Aug, 2020 1 commit
  17. 05 Aug, 2020 2 commits
    • Eli Uriegas's avatar
    • 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
  18. 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
  19. 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
  20. 22 Jul, 2020 1 commit
  21. 14 Jul, 2020 1 commit
  22. 06 Jul, 2020 1 commit
  23. 01 Jul, 2020 2 commits
  24. 26 Jun, 2020 1 commit
  25. 24 Jun, 2020 1 commit
  26. 23 Jun, 2020 3 commits
    • moto's avatar
      37e194f4
    • 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
    • moto's avatar
      Refactor Cache bust mechanism and bust on daily basis (#742) · d9e6ce45
      moto authored
      This PR refactors cache generation mechanism by introducing dedicated command
      and bust cache on daily basis.
      
      At this moment, Windows unittest job for 3.6 and 3.7 are broken because of
      broken scipy but the environment is cached this persists until the next week.
      
      As we have nightly build, we do not need to keep cache for one week.
      d9e6ce45
  27. 22 Jun, 2020 1 commit
  28. 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
  29. 15 Jun, 2020 1 commit
  30. 03 Jun, 2020 2 commits
  31. 01 Jun, 2020 2 commits
  32. 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