1. 05 Nov, 2021 2 commits
    • moto's avatar
      Refactor tutorial organization (#1987) · 6cf84866
      moto authored
      * Refactor tutorial organization
      
      * Merge tutorial subdirectoris under to examples/gallery/tutorials
      * Do not use index.rst generated by Sphinx-gallery
      * Instead use flat structure so that all the tutorials are listed in left menu
      * Use `_assets` dir for artifacts of tutorials
      6cf84866
    • moto's avatar
      Embed audio samples in generated tutorials (#1985) · 34e69f97
      moto authored
      It turned out that generated tutorials can embed the audio if the following conditions are met.
      This commit changes how audio samples are shown in tutorials so that they become playable in doc.
      
      1. There is only one `IPython.display.Audio` call in a cell
      2. An object of `IPython.display.Audio` is the last object interpreter receives in the cell
      3. Audio format is `wav`
         (`flac` can be embedded as well, but browsers (Chrome/Safari) won't play it)
      
      Ref: https://stackoverflow.com/a/33109647
      34e69f97
  2. 04 Nov, 2021 2 commits
  3. 03 Nov, 2021 1 commit
  4. 01 Nov, 2021 1 commit
  5. 30 Oct, 2021 1 commit
  6. 13 Oct, 2021 1 commit
  7. 11 Oct, 2021 1 commit
  8. 10 Oct, 2021 1 commit
    • moto's avatar
      Store n_bits in WaveRNN (#1847) · 9637c6bf
      moto authored
      Move the computation of `#classes -> #bits` to the constructor of WaveRNN and attach it to the instance, so that it can be reused elsewhere.
      9637c6bf
  9. 09 Oct, 2021 1 commit
  10. 07 Oct, 2021 1 commit
  11. 05 Oct, 2021 2 commits
  12. 30 Sep, 2021 1 commit
  13. 24 Sep, 2021 1 commit
  14. 22 Sep, 2021 1 commit
  15. 20 Sep, 2021 1 commit
  16. 17 Sep, 2021 1 commit
  17. 16 Sep, 2021 1 commit
    • moto's avatar
      Split extension into custom impl and Python wrapper libraries (#1752) · 0f822179
      moto authored
      * Split `libtorchaudio` and `_torchaudio`
      
      This change extract the core implementation from `_torchaudio` to `libtorchaudio`,
      so that `libtorchaudio` is reusable in TorchScript-based app.
      
      `_torchaudio` is a wrapper around `libtorchaudio` and only provides PyBind11-based
      features. (currently file-like object support in I/O)
      
      * Removed `BUILD_LIBTORCHAUDIO` option
      
      When invoking `cmake`, `libtorchaudio` is always built, so this option is removed.
      
      The new assumptions around the library discoverability
      
      - In regular OSS workflow (`pip`/`conda`-based binary installation), both `libtorchaudio` and `_torchaudio` are present.
          In this case,`libtorchaudio` has to be loaded manually with `torch.ops.load_library` and/or `torch.classes.load_library` otherwise importing `_torchaudio` would not be able to resolve the symbols defined in `libtorchaudio`.
      - When `torchaudio` is deployed with PEX format (single zip file)
        - We expect that`libtorchaudio.so` exists as a file in some search path configured by client code.
        - `_torchaudio` is still importable and because we do not know where `libtorchaudio` will exist, we will let the dynamic loader resolve the dependency from `_torchaudio` to `libtorchaudio`, which should work as long as `libtorchaudio` is in a library search path (search path is not modifiable from already-running Python process).
      0f822179
  18. 15 Sep, 2021 1 commit
  19. 02 Sep, 2021 2 commits
  20. 31 Aug, 2021 1 commit
  21. 26 Aug, 2021 2 commits
  22. 23 Aug, 2021 1 commit
  23. 19 Aug, 2021 1 commit
  24. 18 Aug, 2021 2 commits
  25. 17 Aug, 2021 1 commit
  26. 10 Aug, 2021 1 commit
  27. 03 Aug, 2021 3 commits
  28. 02 Aug, 2021 1 commit
  29. 29 Jul, 2021 2 commits
  30. 28 Jul, 2021 1 commit
  31. 27 Jul, 2021 1 commit