1. 07 Mar, 2023 1 commit
    • Maciej Torhan's avatar
      Fix Adam and AdamW initializers in wav2letter example (#3145) · cea12eaf
      Maciej Torhan authored
      Summary:
      In wav2letter example there is passed `momentum` to `Adam` and `AdamW` initializer, which is not a correct parameter. To fix that we need to add `beta_1` and `beta_2` to arguments and replace `momentum` with them. I also added `eps` similar to `Adadelta` initializer.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3145
      
      Reviewed By: mthrok
      
      Differential Revision: D43847713
      
      Pulled By: nateanl
      
      fbshipit-source-id: 94f7c48232fabf520cfce81471694cb545d160c6
      cea12eaf
  2. 06 Mar, 2023 1 commit
    • Moto Hira's avatar
      Refactor encoding process (#3146) · 8a9ab2a4
      Moto Hira authored
      Summary:
      After the series of simplification, audio/video encoding processes
      can be merged, and it allows the gets rid of the boilerplate code.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3146
      
      (Note: this ignores all push blocking failures!)
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D43815640
      
      fbshipit-source-id: 2a14e372b2cc75db7eeabc27d855a24c3f7d5063
      8a9ab2a4
  3. 04 Mar, 2023 2 commits
  4. 03 Mar, 2023 3 commits
  5. 02 Mar, 2023 5 commits
  6. 01 Mar, 2023 6 commits
  7. 28 Feb, 2023 3 commits
  8. 27 Feb, 2023 5 commits
  9. 25 Feb, 2023 1 commit
  10. 24 Feb, 2023 5 commits
  11. 23 Feb, 2023 5 commits
    • moto's avatar
      Replace c10::Dict with std::map in StreamReader/Writer (#3092) · c3310018
      moto authored
      Summary:
      This commit is kind of clean up and preparation for future development.
      
      We plan to pass around more complicated objects among StreamReader and StreamWriter, and TorchBind is not expressive enough for defining intermediate object, so we want to use PyBind11 for binding StreamReader/Writer.
      
      PyBind11 converts Python dict into std::map, while TorchBind converts it into c10::Dict. Because of this descrepancy, conversion from c10::Dict to std::map have to happen in multiple places, and this makes the binding code thicker as it requires to wrapper methods.
      
      Using std::map reduces the number of wrapper methods / conversions, because the same method can be bound for file-like object and the others.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3092
      
      Reviewed By: nateanl
      
      Differential Revision: D43524808
      
      Pulled By: mthrok
      
      fbshipit-source-id: f7467c66ccd37dbf4abc337bbb18ffaac21a0058
      c3310018
    • G. Sun's avatar
      Add TCPGen context-biasing Conformer RNN-T (#2890) · 1ed330b5
      G. Sun authored
      Summary:
      This commit adds the implementation of the tree-constrained pointer generator (TCPGen) for contextual biasing.
      
      An example for Librispeech can be found in audio/examples/asr/librispeech_biasing.
      
      Maintainer's note (mthrok):
      It seems that TrieNode should be better typed as tuple, but changing the implementation from list to tuple
      could cause some issue without running the code, so the code is not changed, though the annotation uses tuple.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2890
      
      Reviewed By: nateanl
      
      Differential Revision: D43171447
      
      Pulled By: mthrok
      
      fbshipit-source-id: 372bb077d997d720401dbf2dbfa131e6a958e37e
      1ed330b5
    • mthrok's avatar
      Remove Tensor binding from StreamReader (#3093) · d3c9295c
      mthrok authored
      Summary:
      Remove the Tensor input support from StreamReader
      
      Follow up of https://github.com/pytorch/audio/pull/3086
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3093
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D43526066
      
      Pulled By: mthrok
      
      fbshipit-source-id: 57ba4866c413649173e1c2c3b23ba7de3231b7bc
      d3c9295c
    • moto's avatar
      Deprecate the use of Tensor as a mean of passing byte string (#3086) · a26c2f27
      moto authored
      Summary:
      The same functionality can be achieved with passing io.BytesIO to the constructor.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3086
      
      Reviewed By: nateanl
      
      Differential Revision: D43500360
      
      Pulled By: mthrok
      
      fbshipit-source-id: 2c6f37d100f50553b283c75c04fe57c8f9c07dc9
      a26c2f27
    • moto's avatar
      Update CTCDecoder static build deprecation message (#3089) · 3b75b74f
      moto authored
      Summary:
      1. Fix spacing.
      2. Move it to after successful import
      3. Add link to the announcement issue
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3089
      
      Reviewed By: nateanl, xiaohui-zhang
      
      Differential Revision: D43514075
      
      Pulled By: mthrok
      
      fbshipit-source-id: 3b2a24c65c63dab8c12c9c6aa1942a8354b2c0f1
      3b75b74f
  12. 22 Feb, 2023 3 commits