2025-03-19T05:11:16,161 Disabling truststore because Python version isn't 3.10+ 2025-03-19T05:11:16,663 Created temporary directory: /tmp/pip-build-tracker-cypvxgnr 2025-03-19T05:11:16,664 Initialized build tracking at /tmp/pip-build-tracker-cypvxgnr 2025-03-19T05:11:16,664 Created build tracker: /tmp/pip-build-tracker-cypvxgnr 2025-03-19T05:11:16,664 Entered build tracker: /tmp/pip-build-tracker-cypvxgnr 2025-03-19T05:11:16,664 Created temporary directory: /tmp/pip-wheel-aharztwj 2025-03-19T05:11:16,670 Created temporary directory: /tmp/pip-ephem-wheel-cache-qiw5s5xs 2025-03-19T05:11:16,713 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-03-19T05:11:16,716 2 location(s) to search for versions of torch-memory-saver: 2025-03-19T05:11:16,716 * https://pypi.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,716 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,716 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,717 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,718 Found index url https://pypi.org/simple/ 2025-03-19T05:11:16,742 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-03-19T05:11:16,744 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 2025-03-19T05:11:16,745 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 2025-03-19T05:11:16,746 Found link https://files.pythonhosted.org/packages/59/d8/7ccc88c02ebb2c3a8eb389ce7a4d701f9d53398b3d655d3307dbacac11f6/torch_memory_saver-0.0.3.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.3 2025-03-19T05:11:16,747 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,747 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,748 Found index url https://www.piwheels.org/simple/ 2025-03-19T05:11:16,787 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-03-19T05:11:16,789 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,789 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-03-19T05:11:16,813 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-03-19T05:11:16,815 Collecting torch-memory-saver==0.0.3 2025-03-19T05:11:16,818 Created temporary directory: /tmp/pip-unpack-xi__zlfv 2025-03-19T05:11:16,835 Downloading torch_memory_saver-0.0.3.tar.gz (5.2 kB) 2025-03-19T05:11:16,865 Added torch-memory-saver==0.0.3 from https://files.pythonhosted.org/packages/59/d8/7ccc88c02ebb2c3a8eb389ce7a4d701f9d53398b3d655d3307dbacac11f6/torch_memory_saver-0.0.3.tar.gz to build tracker '/tmp/pip-build-tracker-cypvxgnr' 2025-03-19T05:11:16,867 Running setup.py (path:/tmp/pip-wheel-aharztwj/torch-memory-saver_1cf3321515054c698f51b6285cf3065e/setup.py) egg_info for package torch-memory-saver 2025-03-19T05:11:16,867 Created temporary directory: /tmp/pip-pip-egg-info-0ddxyejv 2025-03-19T05:11:16,868 Preparing metadata (setup.py): started 2025-03-19T05:11:16,869 Running command python setup.py egg_info 2025-03-19T05:11:18,129 running egg_info 2025-03-19T05:11:18,162 creating /tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info 2025-03-19T05:11:18,163 writing /tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info/PKG-INFO 2025-03-19T05:11:18,166 writing dependency_links to /tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info/dependency_links.txt 2025-03-19T05:11:18,168 writing top-level names to /tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info/top_level.txt 2025-03-19T05:11:18,169 writing manifest file '/tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-19T05:11:18,290 reading manifest file '/tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-19T05:11:18,291 adding license file 'LICENSE' 2025-03-19T05:11:18,295 writing manifest file '/tmp/pip-pip-egg-info-0ddxyejv/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-19T05:11:18,384 Preparing metadata (setup.py): finished with status 'done' 2025-03-19T05:11:18,388 Source in /tmp/pip-wheel-aharztwj/torch-memory-saver_1cf3321515054c698f51b6285cf3065e has version 0.0.3, which satisfies requirement torch-memory-saver==0.0.3 from https://files.pythonhosted.org/packages/59/d8/7ccc88c02ebb2c3a8eb389ce7a4d701f9d53398b3d655d3307dbacac11f6/torch_memory_saver-0.0.3.tar.gz 2025-03-19T05:11:18,389 Removed torch-memory-saver==0.0.3 from https://files.pythonhosted.org/packages/59/d8/7ccc88c02ebb2c3a8eb389ce7a4d701f9d53398b3d655d3307dbacac11f6/torch_memory_saver-0.0.3.tar.gz from build tracker '/tmp/pip-build-tracker-cypvxgnr' 2025-03-19T05:11:18,395 Created temporary directory: /tmp/pip-unpack-c2ihinip 2025-03-19T05:11:18,396 Created temporary directory: /tmp/pip-unpack-t8yz3zo7 2025-03-19T05:11:18,396 Building wheels for collected packages: torch-memory-saver 2025-03-19T05:11:18,400 Created temporary directory: /tmp/pip-wheel-jo4d_6hp 2025-03-19T05:11:18,401 Building wheel for torch-memory-saver (setup.py): started 2025-03-19T05:11:18,401 Destination directory: /tmp/pip-wheel-jo4d_6hp 2025-03-19T05:11:18,402 Running command python setup.py bdist_wheel 2025-03-19T05:11:19,436 running bdist_wheel 2025-03-19T05:11:19,586 running build 2025-03-19T05:11:19,586 running build_py 2025-03-19T05:11:19,618 creating build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-03-19T05:11:19,620 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-03-19T05:11:19,623 running build_ext 2025-03-19T05:11:19,630 building 'torch_memory_saver_cpp' extension 2025-03-19T05:11:19,631 creating build/temp.linux-armv7l-cpython-39/csrc 2025-03-19T05:11:19,633 arm-linux-gnueabihf-g++ -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-Ghp7MV/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 2025-03-19T05:11:19,721 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-03-19T05:11:19,721 2 | #include 2025-03-19T05:11:19,721 | ^~~~~~~~~~~~~~~~~~~~ 2025-03-19T05:11:19,721 compilation terminated. 2025-03-19T05:11:19,724 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-03-19T05:11:19,823 ERROR: python setup.py bdist_wheel exited with 1 2025-03-19T05:11:19,842 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-03-19T05:11:19,842 exec(compile('"'"''"'"''"'"' 2025-03-19T05:11:19,842 # This is -- a caller that pip uses to run setup.py 2025-03-19T05:11:19,842 # 2025-03-19T05:11:19,842 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-03-19T05:11:19,842 # import from `distutils.core` to work with newer packaging standards. 2025-03-19T05:11:19,842 # - It provides a clear error message when setuptools is not installed. 2025-03-19T05:11:19,842 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-03-19T05:11:19,842 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-03-19T05:11:19,842 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-03-19T05:11:19,842 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-03-19T05:11:19,842 import os, sys, tokenize 2025-03-19T05:11:19,842 2025-03-19T05:11:19,842 try: 2025-03-19T05:11:19,842 import setuptools 2025-03-19T05:11:19,842 except ImportError as error: 2025-03-19T05:11:19,842 print( 2025-03-19T05:11:19,842 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-03-19T05:11:19,842 "the build environment.", 2025-03-19T05:11:19,842 file=sys.stderr, 2025-03-19T05:11:19,842 ) 2025-03-19T05:11:19,842 sys.exit(1) 2025-03-19T05:11:19,842 2025-03-19T05:11:19,842 __file__ = %r 2025-03-19T05:11:19,842 sys.argv[0] = __file__ 2025-03-19T05:11:19,842 2025-03-19T05:11:19,842 if os.path.exists(__file__): 2025-03-19T05:11:19,842 filename = __file__ 2025-03-19T05:11:19,842 with tokenize.open(__file__) as f: 2025-03-19T05:11:19,842 setup_py_code = f.read() 2025-03-19T05:11:19,842 else: 2025-03-19T05:11:19,842 filename = "" 2025-03-19T05:11:19,842 setup_py_code = "from setuptools import setup; setup()" 2025-03-19T05:11:19,842 2025-03-19T05:11:19,842 exec(compile(setup_py_code, filename, "exec")) 2025-03-19T05:11:19,842 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-aharztwj/torch-memory-saver_1cf3321515054c698f51b6285cf3065e/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-jo4d_6hp[/] 2025-03-19T05:11:19,843 [bold magenta]cwd[/]: /tmp/pip-wheel-aharztwj/torch-memory-saver_1cf3321515054c698f51b6285cf3065e/ 2025-03-19T05:11:19,843 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-03-19T05:11:19,844 ERROR: Failed building wheel for torch-memory-saver 2025-03-19T05:11:19,845 Running setup.py clean for torch-memory-saver 2025-03-19T05:11:19,846 Running command python setup.py clean 2025-03-19T05:11:22,025 running clean 2025-03-19T05:11:22,084 removing 'build/temp.linux-armv7l-cpython-39' (and everything under it) 2025-03-19T05:11:22,085 removing 'build/lib.linux-armv7l-cpython-39' (and everything under it) 2025-03-19T05:11:22,087 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-03-19T05:11:22,087 'build/scripts-3.9' does not exist -- can't clean it 2025-03-19T05:11:22,088 removing 'build' 2025-03-19T05:11:22,178 Failed to build torch-memory-saver 2025-03-19T05:11:22,179 ERROR: Failed to build one or more wheels 2025-03-19T05:11:22,180 Exception information: 2025-03-19T05:11:22,180 Traceback (most recent call last): 2025-03-19T05:11:22,180 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-03-19T05:11:22,180 status = _inner_run() 2025-03-19T05:11:22,180 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-03-19T05:11:22,180 return self.run(options, args) 2025-03-19T05:11:22,180 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2025-03-19T05:11:22,180 return func(self, options, args) 2025-03-19T05:11:22,180 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-03-19T05:11:22,180 raise CommandError("Failed to build one or more wheels") 2025-03-19T05:11:22,180 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-03-19T05:11:22,183 Removed build tracker: '/tmp/pip-build-tracker-cypvxgnr'