执行命令:(Linux与Windows均适用)
$ git clone https://github.com/NVIDIA/apex $ cd apex $ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
详情:https://github.com/NVIDIA/apex
ModuleNotFoundError: No module named 'apex'解决办法
原文:https://www.cnblogs.com/dyc99/p/12655090.html