mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-08-17 04:20:36 +03:00
Update README to indicate we only support Python >= 3.6 (fixes #1317)
Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/952 Differential Revision: D19133348 Pulled By: myleott fbshipit-source-id: 51f96ddb13386143fe0088f19f7cb0674755811f
This commit is contained in:
parent
78d86dcc6c
commit
05514f8a82
@ -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
|
||||
|
||||
|
5
setup.py
5
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',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user