1. 15 Mar, 2023 1 commit
    • Carl Parker's avatar
      Enhance UX on TorchAudio pages to improve awareness of doc versioning (#3167) · 92f2ea89
      Carl Parker authored
      Summary:
      - Boldface the version-selection UX and increase size by three percent.
      - Add text to breadcrumbs to indicate version and stability.
      - New `breadcrumbs.html` in `_templates` overrides Sphinx version.
      
      I create a new variable in `conf.py`, **version_stable**, which has the version number for the most-recent stable release. I define this variable in the **html_context** dictionary so that it is visible to the templates.
      
      I use this approach because I was not able to find any other way of discerning the current stable release during the build. Note that the `versions.html` file--which identifies the current stable release--appears to be available only in the **gh-pages** branch and so it is not available at build time.
      
      However, this means that someone will need to update `conf.py` whenever the current stable release changes.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3167
      
      Reviewed By: mthrok
      
      Differential Revision: D44112224
      
      Pulled By: carljparker
      
      fbshipit-source-id: e76f5cb6734a784d161342964459577aa9b64cac
      92f2ea89
  2. 01 Feb, 2023 1 commit
  3. 02 Nov, 2022 1 commit
  4. 28 Oct, 2022 1 commit
  5. 15 Aug, 2022 1 commit
  6. 24 May, 2022 2 commits
  7. 17 May, 2022 1 commit
  8. 26 Feb, 2022 1 commit
    • moto's avatar
      Improve device streaming (#2202) · 365313ed
      moto authored
      Summary:
      This commit adds tutorial for device ASR, and update API for device streaming.
      
      The changes for the interface are
      1. Add `timeout` and `backoff` parameters to `process_packet` and `stream` methods.
      2. Move `fill_buffer` method to private.
      
      When dealing with device stream, there are situations where the device buffer is not
      ready and the system returns `EAGAIN`. In such case, the previous implementation of
      `process_packet` method raised an exception in Python layer , but for device ASR,
      this is inefficient. A better approach is to retry within C++ layer in blocking manner.
      The new `timeout` parameter serves this purpose.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2202
      
      Reviewed By: nateanl
      
      Differential Revision: D34475829
      
      Pulled By: mthrok
      
      fbshipit-source-id: bb6d0b125d800f87d189db40815af06fbd4cab59
      365313ed
  9. 05 Nov, 2021 1 commit
    • 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
  10. 04 Nov, 2021 2 commits
    • moto's avatar
      Fix colab URL (#1981) · a6bcd291
      moto authored
      a6bcd291
    • moto's avatar
      Add Colab/Download/Github link similar to tutorials (#1969) · 7c9402f1
      moto authored
      This commit adds colab/download/source link to tutorials, like in `pytorch/tutorials` repo.
      
      Since the upstream `pytorch-sphinx-theme` does not provide the interface for this,
      a hack to overwrite the URL is added.
      
      This hack might stop working if there is some update in `pytorch-sphinx-theme`.
      7c9402f1
  11. 17 Feb, 2021 1 commit