"...text-generation-inference.git" did not exist on "1da642bd0e6de28ef499f17cd226264f3ccdc824"
Commit 21c1ab7e authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Update README around version compatibility matrix (#2293)

Summary:
Following the issue https://github.com/pytorch/text/issues/1662, add more clarification on LTS.
Also tidy up a bit by moving older versions in to details.

cc Nayef211

 ---

<img width="794" alt="Screen Shot 2022-03-25 at 2 30 49 PM" src="https://user-images.githubusercontent.com/855818/160203327-acc5cbcb-ca86-43ee-b59f-48795b9e676c.png">

Pull Request resolved: https://github.com/pytorch/audio/pull/2293

Reviewed By: hwangjeff

Differential Revision: D35159211

Pulled By: mthrok

fbshipit-source-id: 18908c62440fc02773634c2700020fc407893dd3
parent d484516e
...@@ -31,10 +31,16 @@ Dependencies ...@@ -31,10 +31,16 @@ Dependencies
The following are the corresponding ``torchaudio`` versions and supported Python versions. The following are the corresponding ``torchaudio`` versions and supported Python versions.
| | ``torch`` | ``torchaudio`` | ``python`` |
| ----------- | ------------------------ | ------------------------ | ------------------------------- |
| Development | ``master`` / ``nightly`` | ``main`` / ``nightly`` | ``>=3.7``, ``<=3.9`` |
| Latest versioned release | ``1.11.0`` | ``0.11.0`` | ``>=3.7``, ``<=3.9`` |
| LTS | ``1.8.2`` | ``0.8.2`` | ``>=3.6``, ``<=3.9`` |
<details><summary>Previous versions</summary>
| ``torch`` | ``torchaudio`` | ``python`` | | ``torch`` | ``torchaudio`` | ``python`` |
| ------------------------ | ------------------------ | ------------------------------- | | ------------------------ | ------------------------ | ------------------------------- |
| ``master`` / ``nightly`` | ``main`` / ``nightly`` | ``>=3.7``, ``<=3.9`` |
| ``1.11.0`` | ``0.11.0`` | ``>=3.7``, ``<=3.9`` |
| ``1.10.0`` | ``0.10.0`` | ``>=3.6``, ``<=3.9`` | | ``1.10.0`` | ``0.10.0`` | ``>=3.6``, ``<=3.9`` |
| ``1.9.1`` | ``0.9.1`` | ``>=3.6``, ``<=3.9`` | | ``1.9.1`` | ``0.9.1`` | ``>=3.6``, ``<=3.9`` |
| ``1.9.0`` | ``0.9.0`` | ``>=3.6``, ``<=3.9`` | | ``1.9.0`` | ``0.9.0`` | ``>=3.6``, ``<=3.9`` |
...@@ -46,18 +52,21 @@ The following are the corresponding ``torchaudio`` versions and supported Python ...@@ -46,18 +52,21 @@ The following are the corresponding ``torchaudio`` versions and supported Python
| ``1.5.0`` | ``0.5.0`` | ``>=3.5``, ``<=3.8`` | | ``1.5.0`` | ``0.5.0`` | ``>=3.5``, ``<=3.8`` |
| ``1.4.0`` | ``0.4.0`` | ``==2.7``, ``>=3.5``, ``<=3.8`` | | ``1.4.0`` | ``0.4.0`` | ``==2.7``, ``>=3.5``, ``<=3.8`` |
</details>
Installation Installation
------------ ------------
### Binary Distributions (stable and nightly) ### Binary Distributions
`torchaudio` has binary distributions for PyPI (`pip`) and Anaconda (`conda`). `torchaudio` has binary distributions for PyPI (`pip`) and Anaconda (`conda`).
Starting `0.10`, torchaudio has CPU-only and CUDA-enabled binary distributions, each of which requires a matching PyTorch version.
Please refer to https://pytorch.org/get-started/locally/ for the details. Please refer to https://pytorch.org/get-started/locally/ for the details.
**Note** Starting `0.10`, torchaudio has CPU-only and CUDA-enabled binary distributions, each of which requires a matching PyTorch version.
**Note** <ins>LTS versions are distributed through a different channel than the other versioned releases. Please refer to the above page for details.</ins>
### From Source ### From Source
On non-Windows platforms, the build process builds libsox and codecs that torchaudio need to link to. It will fetch and build libmad, lame, flac, vorbis, opus, and libsox before building extension. This process requires `cmake` and `pkg-config`. libsox-based features can be disabled with `BUILD_SOX=0`. On non-Windows platforms, the build process builds libsox and codecs that torchaudio need to link to. It will fetch and build libmad, lame, flac, vorbis, opus, and libsox before building extension. This process requires `cmake` and `pkg-config`. libsox-based features can be disabled with `BUILD_SOX=0`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment