1. 04 Jan, 2022 1 commit
    • moto's avatar
      [CI] Install tools from conda instead of brew (#1873) · df0175e8
      moto authored
      Summary:
      Currently, macOS CI jobs install `pkg-config` and `wget` with `brew`.
      This is problematic as brew takes a long time with auto-update, and disabling the auto-update is not an ideal solution.
      Conda also distributes these packages, so switching to conda.
      
      Example issues with brew installation.
      https://app.circleci.com/pipelines/github/pytorch/audio/7825/workflows/53965bcf-6ddf-4e42-ad52-83fd1bbab717
      
      This commit removes the use of `brew` by
      1. Replacing the use of `wget` with `curl` (pre-installed in most distro)
      2. Install `pkg-condig` from conda.
          Note: All the macOS jobs, including binary build jobs, uses conda. Using `pkg-config` from Conda makes it easy to discover the packages installed from conda. (like `ffmpeg` in https://github.com/pytorch/audio/issues/2122)
      3. Add `pkg-config` to conda build-time dependency
      4. Make sure that the availability of `pkg-config` is explicitly checked when `sox` is being configured. (otherwise, it will fail at somewhere in the middle of build process with somewhat unintuitve error message)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/1873
      
      Reviewed By: carolineechen, nateanl
      
      Differential Revision: D33404975
      
      Pulled By: mthrok
      
      fbshipit-source-id: ae512d3a3a422ebfe3b46c492bed44deecc36e72
      df0175e8
  2. 11 Dec, 2021 1 commit
  3. 22 Oct, 2021 1 commit
  4. 21 Oct, 2021 1 commit
  5. 12 Oct, 2021 1 commit
  6. 02 Sep, 2021 1 commit
  7. 31 Aug, 2021 1 commit
    • Nikita Shulga's avatar
      Enable Linux wheel/conda GPU package builds (#1730) · 0f844305
      Nikita Shulga authored
      * Remove some obsolete conditions about CUDA-10.0 from `pkg_helpers.bash`.
      * Use `USE_CUDA` instead of `FORCE_CUDA` in `pkg_helpers.bash`
      * Do not define `NO_CUDA_PACKAGE` in build_wheel.sh and build_cuda.sh
      * Add conda-forge for Win cuda-11.1 builds
      * Pass USE_CUDA / TORCH_CUDA_ARCH_LIST to conda build
      * Add selected CUDA to path
      * Don't define USE_CUDA for ROCM
      
      TODO: Fix Windows CUDA builds
      0f844305
  8. 31 Jul, 2021 1 commit
  9. 28 Jun, 2021 1 commit
  10. 28 May, 2021 1 commit
    • Michael Melesse's avatar
      [ROCm] add rocm wheels (#1477) · 3bb3287f
      Michael Melesse authored
      * add rocm binary
      
      use the term cu_version
      
      update pkg_helpers
      
      add docker wheel option
      
      update config yml
      
      add force_cuda option
      
      * update config.yml
      
      * remove conda builds
      3bb3287f
  11. 25 May, 2021 1 commit
    • Nikita Shulga's avatar
      Add CUDA binary builds (#1497) · ffe735ba
      Nikita Shulga authored
      * Add CUDA binary builds
      
      * Add "cuda_version": "cpu" to doc build jobs
      
      * Add required cu_versions to pkg_helpers
      
      * Regenerate config.yml
      ffe735ba
  12. 05 Mar, 2021 1 commit
  13. 19 Feb, 2021 1 commit
  14. 19 Jan, 2021 1 commit
  15. 05 Jan, 2021 1 commit
  16. 16 Oct, 2020 1 commit
  17. 15 Sep, 2020 1 commit
  18. 24 Jun, 2020 1 commit
  19. 16 May, 2020 1 commit
  20. 29 Jan, 2020 1 commit
  21. 16 Jan, 2020 1 commit
  22. 08 Aug, 2019 3 commits
  23. 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