Advertisement
lamiastella

apex proxy

Sep 13th, 2021
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1. (proxy) [jalal@goku proxynca_pp]$ CUDA_VISIBLE_DEVICES=0,1 python train.py --dataset cub --config config/cub.json --mode train --apex --seed 0
  2. (1024, 4096)
  3. train.py:12: MatplotlibDeprecationWarning: The 'warn' parameter of use() is deprecated since Matplotlib 3.1 and will be removed in 3.3. If any parameter follows 'warn', they should be pass as keyword, not positionally.
  4. matplotlib.use('agg', warn=False, force=True)
  5. Traceback (most recent call last):
  6. File "train.py", line 70, in <module>
  7. from apex import amp
  8. File "/scratch3/venv/proxy/lib/python3.8/site-packages/apex/__init__.py", line 13, in <module>
  9. from pyramid.session import UnencryptedCookieSessionFactoryConfig
  10. ImportError: cannot import name 'UnencryptedCookieSessionFactoryConfig' from 'pyramid.session' (unknown location)
  11. (proxy) [jalal@goku proxynca_pp]$ pip uninstall apex
  12. Found existing installation: apex 0.9.10.dev0
  13. Uninstalling apex-0.9.10.dev0:
  14. Would remove:
  15. /scratch3/venv/proxy/lib/python3.8/site-packages/apex-0.9.10.dev0-py3.8.egg-info
  16. /scratch3/venv/proxy/lib/python3.8/site-packages/apex/*
  17. Proceed (Y/n)? y
  18. Successfully uninstalled apex-0.9.10.dev0
  19. (proxy) [jalal@goku proxynca_pp]$ git clone https://github.com/NVIDIA/apex
  20. Cloning into 'apex'...
  21. remote: Enumerating objects: 8256, done.
  22. remote: Counting objects: 100% (343/343), done.
  23. remote: Compressing objects: 100% (192/192), done.
  24. remote: Total 8256 (delta 204), reused 240 (delta 139), pack-reused 7913
  25. Receiving objects: 100% (8256/8256), 14.20 MiB | 0 bytes/s, done.
  26. Resolving deltas: 100% (5605/5605), done.
  27. (proxy) [jalal@goku proxynca_pp]$ cd apex
  28. (proxy) [jalal@goku apex]$ pip install -v --disable-pip-version-check --no-cache-dir \
  29. > --global-option="--cpp_ext" --global-option="--cuda_ext" ./
  30. /scratch3/venv/proxy/lib/python3.8/site-packages/pip/_internal/commands/install.py:229: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
  31. cmdoptions.check_install_build_global(options)
  32. Using pip 21.2.4 from /scratch3/venv/proxy/lib/python3.8/site-packages/pip (python 3.8)
  33. Processing /scratch3/research/code/fashion/proxynca_pp/apex
  34. DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
  35. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
  36. Running command python setup.py egg_info
  37.  
  38.  
  39. torch.__version__ = 1.9.0+cu111
  40.  
  41.  
  42. running egg_info
  43. creating /scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info
  44. writing /scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info/PKG-INFO
  45. writing dependency_links to /scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info/dependency_links.txt
  46. writing top-level names to /scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info/top_level.txt
  47. writing manifest file '/scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info/SOURCES.txt'
  48. reading manifest file '/scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info/SOURCES.txt'
  49. writing manifest file '/scratch/tmp/pip-pip-egg-info-yc32vm37/apex.egg-info/SOURCES.txt'
  50. /scratch/tmp/pip-req-build-fg_khhkt/setup.py:67: UserWarning: Option --pyprof not specified. Not installing PyProf dependencies!
  51. warnings.warn("Option --pyprof not specified. Not installing PyProf dependencies!")
  52. Skipping wheel build for apex, due to binaries being disabled for it.
  53. Installing collected packages: apex
  54. Running command /scratch3/venv/proxy/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/scratch/tmp/pip-req-build-fg_khhkt/setup.py'"'"'; __file__='"'"'/scratch/tmp/pip-req-build-fg_khhkt/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --cpp_ext --cuda_ext install --record /scratch/tmp/pip-record-u812zb2v/install-record.txt --single-version-externally-managed --compile --install-headers /scratch3/venv/proxy/include/site/python3.8/apex
  55.  
  56.  
  57. torch.__version__ = 1.9.0+cu111
  58.  
  59.  
  60. /scratch/tmp/pip-req-build-fg_khhkt/setup.py:67: UserWarning: Option --pyprof not specified. Not installing PyProf dependencies!
  61. warnings.warn("Option --pyprof not specified. Not installing PyProf dependencies!")
  62.  
  63. Compiling cuda extensions with
  64. nvcc: NVIDIA (R) Cuda compiler driver
  65. Copyright (c) 2005-2018 NVIDIA Corporation
  66. Built on Sat_Aug_25_21:08:01_CDT_2018
  67. Cuda compilation tools, release 10.0, V10.0.130
  68. from /usr/local/cuda-10.0/bin
  69.  
  70. Traceback (most recent call last):
  71. File "<string>", line 1, in <module>
  72. File "/scratch/tmp/pip-req-build-fg_khhkt/setup.py", line 159, in <module>
  73. check_cuda_torch_binary_vs_bare_metal(CUDA_HOME)
  74. File "/scratch/tmp/pip-req-build-fg_khhkt/setup.py", line 99, in check_cuda_torch_binary_vs_bare_metal
  75. raise RuntimeError("Cuda extensions are being compiled with a version of Cuda that does " +
  76. RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. Pytorch binaries were compiled with Cuda 11.1.
  77. In some cases, a minor-version mismatch will not cause later errors: https://github.com/NVIDIA/apex/pull/323#discussion_r287021798. You can try commenting out this check (at your own risk).
  78. Running setup.py install for apex ... error
  79. ERROR: Command errored out with exit status 1: /scratch3/venv/proxy/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/scratch/tmp/pip-req-build-fg_khhkt/setup.py'"'"'; __file__='"'"'/scratch/tmp/pip-req-build-fg_khhkt/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --cpp_ext --cuda_ext install --record /scratch/tmp/pip-record-u812zb2v/install-record.txt --single-version-externally-managed --compile --install-headers /scratch3/venv/proxy/include/site/python3.8/apex Check the logs for full command output.
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement