Sel-CL icon indicating copy to clipboard operation
Sel-CL copied to clipboard

Apex 0.1 installation problem while trying to run codes from git repo - https://github.com/ShikunLi/Sel-CL

Open prinxc25 opened this issue 1 year ago • 1 comments

Hi, I tried installing apex0.1 using the code

  1. 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

  2. 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

  3. to this I tried installing apex through

  4. """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.

prinxc25 avatar Feb 05 '23 06:02 prinxc25