1. 01 Oct, 2020 2 commits
  2. 29 Sep, 2020 1 commit
  3. 28 Sep, 2020 2 commits
    • moto's avatar
      Add "soundfile" backend compatible to "sox_io" (#922) · 2c723e8c
      moto authored
      As a part of the "sox" backend sunset plan (#903), we add a "soundfile" backend that is compatible with the "sox_io" backend. No new public backend name is added. We provide a switch to change the interface/behavior of "soundfile" backend.
      
      This commit contains;
       - The implementation of the new "soundfile" backend.
       - The flag to switch the behavior of "soundfile" backend. (`torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE`)
       - Test for the new backend and switching mechanism.
      
      The default behavior of "soundfile" backend is not changed. The users who want to opt-in the new "soundfile" interface can do so by `torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False` before changing the backend to "soundfile".
      
      In 0.8.0 release, the "soundfile" backend will use this interface by default, and users can still use the legacy one with `torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = True`. In 0.9.0, the legacy interface is removed and `torchaudio.USE_SOUNDFILE_LEGACY...
      2c723e8c
    • moto's avatar
      Add ConvTasNet model (#920) · 8e370559
      moto authored
      8e370559
  4. 24 Sep, 2020 1 commit
    • Vincent QB's avatar
      Example pipeline with wav2letter (#632) · 9c274228
      Vincent QB authored
      * example pipeline, initial commit.
      
      * removing notebook conversion artifacts.
      
      * remove extra comments. lint.
      
      * addressing some feedback.
      
      * main function.
      
      * defining args in function.
      
      * refactor.
      
      * lint.
      
      * checkpoint.
      
      * clean version to start with.
      
      * adding more parameters.
      
      * lint.
      
      * cleaning full version.
      
      * check for not None.
      
      * cleaning.
      
      * back -l 160
      
      * black.
      
      * fix runtime error.
      
      * removing some print statements.
      
      * add help to command line. add progress bar option.
      
      * grouping librispeech-specific transform in subclass.
      
      * typo.
      
      * fix concatenation.
      
      * typo.
      
      * black. tqdm.
      
      * missing transpose.
      
      * renaming variables.
      
      * sum cer and wer
      
      * clip norm.
      
      * second signal handler removed.
      
      * cosmetic.
      
      * default to no checkpoint.
      
      * remove non_blocking.
      
      * adadelta works better than sgd.
      
      * anomaly detection.
      
      * moving dataset to separate file.
      
      * lint.
      
      * move to separate mod...
      9c274228
  5. 23 Sep, 2020 1 commit
  6. 21 Sep, 2020 1 commit
  7. 18 Sep, 2020 1 commit
  8. 15 Sep, 2020 4 commits
  9. 11 Sep, 2020 1 commit
    • sdarkhovsky's avatar
      Fix interactive asr (#900) · b6a61c3f
      sdarkhovsky authored
      * updated the build_generator call to include the models argument
      
      * fixed RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same
      b6a61c3f
  10. 03 Sep, 2020 1 commit
  11. 28 Aug, 2020 1 commit
  12. 24 Aug, 2020 1 commit
  13. 23 Aug, 2020 1 commit
  14. 20 Aug, 2020 1 commit
  15. 19 Aug, 2020 1 commit
  16. 12 Aug, 2020 2 commits
  17. 11 Aug, 2020 1 commit
  18. 07 Aug, 2020 4 commits
  19. 06 Aug, 2020 1 commit
  20. 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
  21. 04 Aug, 2020 2 commits
    • moto's avatar
      Set zip_safe = False to disable egg installation (#842) · 3b055890
      moto authored
      Currently `setuptools` assumes that torhcaudio is zip safe and performs
      egg (zip) installation when `python setup.py install` (or `pip install .`).
      
      When `torchaudio` loads extension module written with Torchscript, 
      the corresponding loading function requires the `so` file to be present as 
      an actual file, and this does not work well with egg installation.
      
      This CC fixes this by setting `zip_safe=False` in setup.py and disable egg
      installation, so that `python setup.py install` installs uncompressed files
      with regular directory structure.
      3b055890
    • moto's avatar
      Fix skipIfNoExtension (#849) · 11b00d5c
      moto authored
      11b00d5c
  22. 03 Aug, 2020 1 commit
  23. 31 Jul, 2020 3 commits
    • 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
    • moto's avatar
      Fix import order to supress the setuptools warning; (#846) · 7f99271d
      moto authored
      setuptools warns that it should be imported before Distutils
      
      ```
      site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
      ```
      7f99271d
    • moto's avatar
      Update test/README.md (#843) · 9c56d88d
      moto authored
      * Update links
      * Add how to run tests
      * Update asset info
      9c56d88d
  24. 30 Jul, 2020 2 commits
  25. 29 Jul, 2020 2 commits
    • 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
    • moto's avatar
      Move BACKEDNS and BACKENDS_MP3 to test module from common_utils (#831) · 8fdb8df2
      moto authored
      Now that most of our test cases are backend aware/agnostic,
      the use of BACKENDS and BACKENDS_MP3 is anti-pattern.
      
      This change moves these definitions to the legacy test module `test_io`.
      
      If a new backend is added in future, that backend should have separate test suite,
      (like the ones in `test/sox_io_backend`) so instead of dynamically listing available
      backend in `test_io`, the changed code only checks "sox" backend and "soundfile" backend.
      8fdb8df2