git clone https://github.com/NVIDIA/apex
cd apex
python setup.py install
注意:不能直接使用pip install apex来安装