git clone https://github.com/NVIDIA/apex.gitcd apex
export CUDA_HOME=/usr/local/cudapip3 install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./