1. 05 Oct, 2021 1 commit
  2. 20 Sep, 2021 1 commit
    • moto's avatar
      Put libtorchaudio in lib directory (#1773) · 599a82b7
      moto authored
      Make the structure of library files somewhat similar to PyTorch core, which has the following pattern
      
      ```
      torch/_C.so
      torch/lib/libc10.so
      torch/lib/libtorch.so
      ...
      ```
      
      ```
      torchaudio/_torchaudio.so
      torchaudio/lib/libtorchaudio.so
      ```
      599a82b7
  3. 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
  4. 13 Sep, 2021 1 commit
  5. 30 Aug, 2021 1 commit
  6. 26 Aug, 2021 1 commit
    • moto's avatar
      Default to BUILD_SOX=1 in non-Windows systems (#1725) · 89ea6955
      moto authored
      * Default to BUILD_SOX=1 in non-Windows systems
      
      Since the adaptation of CMake and restricting to the static linking of libsox,
      the build process has become much robust with libsox integration enabled.
      
      This commit makes it default behavior to build libsox integration in non-Windows systems.
      The build process still checks BUILD_SOX env var so, setting `BUILD_SOX=0` disables it.
      89ea6955
  7. 19 Aug, 2021 1 commit
  8. 28 Jun, 2021 2 commits
  9. 06 May, 2021 1 commit
  10. 02 Apr, 2021 1 commit
  11. 05 Mar, 2021 1 commit
  12. 03 Mar, 2021 1 commit
  13. 09 Feb, 2021 1 commit
  14. 04 Feb, 2021 1 commit
  15. 12 Jan, 2021 1 commit
  16. 09 Jan, 2021 1 commit
  17. 05 Jan, 2021 1 commit
  18. 04 Dec, 2020 1 commit
  19. 01 Jul, 2020 2 commits
  20. 26 Jun, 2020 1 commit
  21. 01 Jun, 2020 2 commits
  22. 27 May, 2020 1 commit
    • moto's avatar
      Self-contain codecs library (#625) · d3c83eaa
      moto authored
      * Clean up extension build mechanism and extension location
      
      * Add back the switch to depend on external sox
      
      * Remove print
      
      * Fix
      d3c83eaa
  23. 14 Apr, 2020 1 commit
  24. 21 Aug, 2019 1 commit
  25. 13 Aug, 2019 1 commit
  26. 07 Aug, 2019 1 commit
    • Edward Z. Yang's avatar
      Rewrite our packaging from scratch (#217) · cd185d1f
      Edward Z. Yang authored
      * New entry points are packaging/build_wheel.sh and packaging/build_conda.sh. The only mandatory environment variable you have to set is PYTHON_VERSION
      * CircleCI configuration uses 2.1-style parametrized builds to let you toggle python version, etc. as you do builds. We create a separate job per build configuration for maximum parallelism
      * build_tools/packaging got moved to packaging, to be in-line with directory structure in torchvision
      * The build_conda.sh and build_wheel.sh delegate most of the heavy lifting to pkg_helpers.bash, which defines a number of bash functions for performing common operations. The intent is that I'll copy-paste this file between other domain API projects.
      * TORCHAUDIO_ prefix removed from envvars, so that I can more easily share packaging scripts between projects
      * BUILD_VERSION is completely gone; just change the version number if you need to rebuild
      * No more logic for cloning and checking out a fresh copy of torchaudio
      cd185d1f
  27. 06 Aug, 2019 2 commits
  28. 02 Aug, 2019 2 commits
    • Edward Z. Yang's avatar
      Add missing build script. · a8bd18da
      Edward Z. Yang authored
      
      Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
      a8bd18da
    • Edward Z. Yang's avatar
      Conda nightly packaging updates. (#203) · a9bee3ed
      Edward Z. Yang authored
      Billing of changes:
      
      * Can now toggle what branch is built using BRANCH envvar
      * PyTorch nightly we were built against is hardcoded into conda meta.yaml
      * Disable Conda Python 3.5 builds as we don't have nightlies for torch at the moment
      * No more torchaudio-cpu or torchaudio-nightly suffix
      * Remove librosa from testing stanza, so that conda build works with stock anaconda channel
      * Change convention on PREFIX to be what we previously called $PREFIX/audio
      * Make build_from_source.sh cd-neutral
      
      Signed-off-by: Edward Z. Yang ezyang@fb.com
      a9bee3ed
  29. 01 Aug, 2019 2 commits
    • Edward Z. Yang's avatar
      Packaging improvements for nightlies (#198) · 45423323
      Edward Z. Yang authored
      
      
      * Packaging improvements for nightlies
      
      - Instructions for how to install stable and master binaries,
        without hardcoding wheel filenames
      - Turn on Python 2 build (numba is only needed for testing)
      - Make builds a little more hermetic
      - Prefer building against nightly CPU-only torch build
      - Don't install all of requirements.txt, it's not necessary
      - Updates for OS X too, including portability issues
      Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
      45423323
    • jamarshon's avatar
      Removal of torchaudio.legacy · d8a47f4a
      jamarshon authored
      d8a47f4a
  30. 31 Jul, 2019 1 commit
  31. 29 Jul, 2019 1 commit
  32. 26 Jul, 2019 2 commits
  33. 24 Jul, 2019 1 commit