diff --git a/README.md b/README.md index 48f854ef7..a14baf4c2 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ and [RoBERTa](https://pytorch.org/hub/pytorch_fairseq_roberta/) for more example # Requirements and Installation * [PyTorch](http://pytorch.org/) version >= 1.2.0 -* Python version >= 3.5 +* Python version >= 3.6 * For training new models, you'll also need an NVIDIA GPU and [NCCL](https://github.com/NVIDIA/nccl) * **For faster training** install NVIDIA's [apex](https://github.com/NVIDIA/apex) library with the `--cuda_ext` option diff --git a/setup.py b/setup.py index 98a7bdf00..e31f81246 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ from setuptools import setup, find_packages, Extension import sys -if sys.version_info < (3, 5): - sys.exit('Sorry, Python >=3.5 is required for fairseq.') +if sys.version_info < (3, 6): + sys.exit('Sorry, Python >= 3.6 is required for fairseq.') with open('README.md') as f: @@ -122,7 +122,6 @@ setup( classifiers=[ 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ],