2024-12-31T06:21:26,886 Disabling truststore because Python version isn't 3.10+ 2024-12-31T06:21:27,405 Created temporary directory: /tmp/pip-build-tracker-k0w0cb5a 2024-12-31T06:21:27,406 Initialized build tracking at /tmp/pip-build-tracker-k0w0cb5a 2024-12-31T06:21:27,406 Created build tracker: /tmp/pip-build-tracker-k0w0cb5a 2024-12-31T06:21:27,406 Entered build tracker: /tmp/pip-build-tracker-k0w0cb5a 2024-12-31T06:21:27,407 Created temporary directory: /tmp/pip-wheel-wpy5a072 2024-12-31T06:21:27,413 Created temporary directory: /tmp/pip-ephem-wheel-cache-_egmagyg 2024-12-31T06:21:27,462 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-12-31T06:21:27,466 2 location(s) to search for versions of torch-memory-saver: 2024-12-31T06:21:27,466 * https://pypi.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,466 * https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,466 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,467 Getting page https://pypi.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,468 Found index url https://pypi.org/simple/ 2024-12-31T06:21:27,493 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2024-12-31T06:21:27,494 Found link https://files.pythonhosted.org/packages/cf/c3/b5ac2c268e2d9afc162670f3b5f273315ee1b62d5d93982744f07c2e7463/torch_memory_saver-0.0.1.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.1 2024-12-31T06:21:27,495 Found link https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.2 2024-12-31T06:21:27,495 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,496 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,497 Found index url https://www.piwheels.org/simple/ 2024-12-31T06:21:27,542 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2024-12-31T06:21:27,543 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,543 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2024-12-31T06:21:27,558 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2024-12-31T06:21:27,560 Collecting torch-memory-saver==0.0.2 2024-12-31T06:21:27,562 Created temporary directory: /tmp/pip-unpack-0pod1q5z 2024-12-31T06:21:27,578 Downloading torch_memory_saver-0.0.2.tar.gz (5.2 kB) 2024-12-31T06:21:27,613 Added torch-memory-saver==0.0.2 from https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz to build tracker '/tmp/pip-build-tracker-k0w0cb5a' 2024-12-31T06:21:27,627 Running setup.py (path:/tmp/pip-wheel-wpy5a072/torch-memory-saver_1d823a962ca44fb0931c0c15763ae029/setup.py) egg_info for package torch-memory-saver 2024-12-31T06:21:27,629 Created temporary directory: /tmp/pip-pip-egg-info-w2fv8eip 2024-12-31T06:21:27,629 Preparing metadata (setup.py): started 2024-12-31T06:21:27,630 Running command python setup.py egg_info 2024-12-31T06:21:28,857 running egg_info 2024-12-31T06:21:28,885 creating /tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info 2024-12-31T06:21:28,887 writing /tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info/PKG-INFO 2024-12-31T06:21:28,890 writing dependency_links to /tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info/dependency_links.txt 2024-12-31T06:21:28,892 writing top-level names to /tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info/top_level.txt 2024-12-31T06:21:28,893 writing manifest file '/tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info/SOURCES.txt' 2024-12-31T06:21:29,005 reading manifest file '/tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info/SOURCES.txt' 2024-12-31T06:21:29,006 adding license file 'LICENSE' 2024-12-31T06:21:29,009 writing manifest file '/tmp/pip-pip-egg-info-w2fv8eip/torch_memory_saver.egg-info/SOURCES.txt' 2024-12-31T06:21:29,097 Preparing metadata (setup.py): finished with status 'done' 2024-12-31T06:21:29,102 Source in /tmp/pip-wheel-wpy5a072/torch-memory-saver_1d823a962ca44fb0931c0c15763ae029 has version 0.0.2, which satisfies requirement torch-memory-saver==0.0.2 from https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz 2024-12-31T06:21:29,103 Removed torch-memory-saver==0.0.2 from https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz from build tracker '/tmp/pip-build-tracker-k0w0cb5a' 2024-12-31T06:21:29,109 Created temporary directory: /tmp/pip-unpack-k6xbx7j9 2024-12-31T06:21:29,110 Created temporary directory: /tmp/pip-unpack-a8i828ml 2024-12-31T06:21:29,110 Building wheels for collected packages: torch-memory-saver 2024-12-31T06:21:29,114 Created temporary directory: /tmp/pip-wheel-th9v_aq_ 2024-12-31T06:21:29,115 Building wheel for torch-memory-saver (setup.py): started 2024-12-31T06:21:29,116 Destination directory: /tmp/pip-wheel-th9v_aq_ 2024-12-31T06:21:29,116 Running command python setup.py bdist_wheel 2024-12-31T06:21:30,171 running bdist_wheel 2024-12-31T06:21:30,309 running build 2024-12-31T06:21:30,310 running build_py 2024-12-31T06:21:30,339 creating build/lib.linux-armv7l-cpython-39/torch_memory_saver 2024-12-31T06:21:30,342 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2024-12-31T06:21:30,345 running build_ext 2024-12-31T06:21:30,831 building 'torch_memory_saver_cpp' extension 2024-12-31T06:21:30,832 creating build/temp.linux-armv7l-cpython-39/csrc 2024-12-31T06:21:30,833 arm-linux-gnueabihf-g++ -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.9 -c csrc/torch_memory_saver.cpp -o build/temp.linux-armv7l-cpython-39/csrc/torch_memory_saver.o -I/usr/local/cuda/include 2024-12-31T06:21:30,945 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2024-12-31T06:21:30,945 2 | #include 2024-12-31T06:21:30,946 | ^~~~~~~~~~~~~~~~~~~~ 2024-12-31T06:21:30,946 compilation terminated. 2024-12-31T06:21:30,949 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2024-12-31T06:21:31,077 ERROR: python setup.py bdist_wheel exited with 1 2024-12-31T06:21:31,094 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2024-12-31T06:21:31,094 exec(compile('"'"''"'"''"'"' 2024-12-31T06:21:31,094 # This is -- a caller that pip uses to run setup.py 2024-12-31T06:21:31,094 # 2024-12-31T06:21:31,094 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-12-31T06:21:31,094 # import from `distutils.core` to work with newer packaging standards. 2024-12-31T06:21:31,094 # - It provides a clear error message when setuptools is not installed. 2024-12-31T06:21:31,094 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-12-31T06:21:31,094 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-12-31T06:21:31,094 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-12-31T06:21:31,094 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-12-31T06:21:31,094 import os, sys, tokenize 2024-12-31T06:21:31,094 2024-12-31T06:21:31,094 try: 2024-12-31T06:21:31,094 import setuptools 2024-12-31T06:21:31,094 except ImportError as error: 2024-12-31T06:21:31,094 print( 2024-12-31T06:21:31,094 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-12-31T06:21:31,094 "the build environment.", 2024-12-31T06:21:31,094 file=sys.stderr, 2024-12-31T06:21:31,094 ) 2024-12-31T06:21:31,094 sys.exit(1) 2024-12-31T06:21:31,094 2024-12-31T06:21:31,094 __file__ = %r 2024-12-31T06:21:31,094 sys.argv[0] = __file__ 2024-12-31T06:21:31,094 2024-12-31T06:21:31,094 if os.path.exists(__file__): 2024-12-31T06:21:31,094 filename = __file__ 2024-12-31T06:21:31,094 with tokenize.open(__file__) as f: 2024-12-31T06:21:31,094 setup_py_code = f.read() 2024-12-31T06:21:31,094 else: 2024-12-31T06:21:31,094 filename = "" 2024-12-31T06:21:31,094 setup_py_code = "from setuptools import setup; setup()" 2024-12-31T06:21:31,094 2024-12-31T06:21:31,094 exec(compile(setup_py_code, filename, "exec")) 2024-12-31T06:21:31,094 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-wpy5a072/torch-memory-saver_1d823a962ca44fb0931c0c15763ae029/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-th9v_aq_[/] 2024-12-31T06:21:31,094 [bold magenta]cwd[/]: /tmp/pip-wheel-wpy5a072/torch-memory-saver_1d823a962ca44fb0931c0c15763ae029/ 2024-12-31T06:21:31,095 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2024-12-31T06:21:31,096 ERROR: Failed building wheel for torch-memory-saver 2024-12-31T06:21:31,097 Running setup.py clean for torch-memory-saver 2024-12-31T06:21:31,097 Running command python setup.py clean 2024-12-31T06:21:32,124 running clean 2024-12-31T06:21:32,175 removing 'build/temp.linux-armv7l-cpython-39' (and everything under it) 2024-12-31T06:21:32,177 removing 'build/lib.linux-armv7l-cpython-39' (and everything under it) 2024-12-31T06:21:32,179 'build/bdist.linux-armv7l' does not exist -- can't clean it 2024-12-31T06:21:32,179 'build/scripts-3.9' does not exist -- can't clean it 2024-12-31T06:21:32,179 removing 'build' 2024-12-31T06:21:32,268 Failed to build torch-memory-saver 2024-12-31T06:21:32,269 ERROR: Failed to build one or more wheels 2024-12-31T06:21:32,271 Exception information: 2024-12-31T06:21:32,271 Traceback (most recent call last): 2024-12-31T06:21:32,271 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2024-12-31T06:21:32,271 status = _inner_run() 2024-12-31T06:21:32,271 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2024-12-31T06:21:32,271 return self.run(options, args) 2024-12-31T06:21:32,271 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2024-12-31T06:21:32,271 return func(self, options, args) 2024-12-31T06:21:32,271 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2024-12-31T06:21:32,271 raise CommandError("Failed to build one or more wheels") 2024-12-31T06:21:32,271 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2024-12-31T06:21:32,274 Removed build tracker: '/tmp/pip-build-tracker-k0w0cb5a'