1. 13 Oct, 2023 1 commit
  2. 09 Oct, 2023 1 commit
  3. 01 Jun, 2023 1 commit
  4. 12 Jan, 2023 1 commit
    • mthrok's avatar
      Refactor extension modules initialization (#2968) · 5dfe0b22
      mthrok authored
      Summary:
      * Refactor _extension module so that
        * the implementation of initialization logic and its execution are separated.
          * logic goes to `_extension.utils`
          * the execution is at `_extension.__init__`
          * global variables are defined and modified in `__init__`.
      * Replace `is_sox_available()` with `_extension._SOX_INITIALIZED`
      * Replace `is_kaldi_available()` with `_extension._IS_KALDI_AVAILABLE`
      * Move `requies_sox()` and `requires_kaldi()` to break the circular dependency among `_extension` and `_internal.module_utils`.
      * Merge the sox-related initialization logic in `_extension.utils` module.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2968
      
      Reviewed By: hwangjeff
      
      Differential Revision: D42387251
      
      Pulled By: mthrok
      
      fbshipit-source-id: 0c3245dfab53f9bc1b8a83ec2622eb88ec96673f
      5dfe0b22
  5. 03 Oct, 2022 1 commit
  6. 15 May, 2022 1 commit
    • John Reese's avatar
      [codemod][usort] apply import merging for fbcode (8 of 11) · d62875cc
      John Reese authored
      Summary:
      Applies new import merging and sorting from µsort v1.0.
      
      When merging imports, µsort will make a best-effort to move associated
      comments to match merged elements, but there are known limitations due to
      the diynamic nature of Python and developer tooling. These changes should
      not produce any dangerous runtime changes, but may require touch-ups to
      satisfy linters and other tooling.
      
      Note that µsort uses case-insensitive, lexicographical sorting, which
      results in a different ordering compared to isort. This provides a more
      consistent sorting order, matching the case-insensitive order used when
      sorting import statements by module name, and ensures that "frog", "FROG",
      and "Frog" always sort next to each other.
      
      For details on µsort's sorting and merging semantics, see the user guide:
      https://usort.readthedocs.io/en/stable/guide.html#sorting
      
      Reviewed By: lisroach
      
      Differential Revision: D36402214
      
      fbshipit-source-id: b641bfa9d46242188524d4ae2c44998922a62b4c
      d62875cc
  7. 20 Jul, 2021 1 commit
  8. 02 Mar, 2021 1 commit
  9. 04 Dec, 2020 1 commit
  10. 22 Jul, 2020 1 commit
  11. 20 Jul, 2020 1 commit
    • moto's avatar
      Update documentation and fix docstrings (#788) · 2381dd89
      moto authored
      - Addresses #549 #638 #786 
      - Add `torchaudio` top level module doc
      - Separate `torchaudio` top level module doc from `index.html`
      - Add `backend` module doc.
      - Remove `-> None` from function signature as it adds noise to documentation
      - Changed function argument name of `torchaudio.backend.sox_io_backend.save` from `tensor` to `src`, so that it matches with the reset of backends.
      - Tweak bunch of docstrings
      2381dd89
  12. 16 Jul, 2020 1 commit
    • moto's avatar
      Add Torchscript sox effects (#760) · 60a8e23d
      moto authored
      * Add sox_utils module
      
      * Make init/shutdown thread safe
      
      * Add sox effects implementation
      
      * Add test for sox effects
      
      * Update docstrings and add examples
      60a8e23d