Sel-CL
Sel-CL copied to clipboard
Apex 0.1 installation problem while trying to run codes from git repo - https://github.com/ShikunLi/Sel-CL
Hi, I tried installing apex0.1 using the code
-
1st this """%%writefile setup.sh git clone https://github.com/NVIDIA/apex cd apex pip install -v --disable-pip-version-check --no-cache-dir ./""" and then this """!sh setup.sh""" after this got this message too Successfully built apex Installing collected packages: apex Attempting uninstall: apex Found existing installation: apex 0.1 Uninstalling apex-0.1: Removing file or directory /usr/local/lib/python3.8/dist-packages/apex-0.1.dist-info/ Removing file or directory /usr/local/lib/python3.8/dist-packages/apex/ Successfully uninstalled apex-0.1 Successfully installed apex-0.1
-
When I ran the code in git repo - https://github.com/ShikunLi/Sel-CL, in the log file I am getting error which suggests installation of apex is not done correctly, the error message is as follows """multi_tensor_applier fused unscale kernel is unavailable, possibly because apex was installed without --cuda_ext --cpp_ext. Using Python fallback. Original ImportError was: ModuleNotFoundError("No module named 'amp_C'")""" results.log
-
to this I tried installing apex through
-
"""pip install -v --disable-pip-version-check --no-cache-dir --global_option = "--cpp_ext" --global_option ="--cuda_ext" ./ """ which gives error while installing and apex doesn't get installed.
I would appreciate any help that I can get so that I can run the code successfully. Thankss.