2025-03-23T02:58:45,618 Disabling truststore because Python version isn't 3.10+ 2025-03-23T02:58:46,162 Created temporary directory: /tmp/pip-build-tracker-lsa_l21f 2025-03-23T02:58:46,163 Initialized build tracking at /tmp/pip-build-tracker-lsa_l21f 2025-03-23T02:58:46,163 Created build tracker: /tmp/pip-build-tracker-lsa_l21f 2025-03-23T02:58:46,163 Entered build tracker: /tmp/pip-build-tracker-lsa_l21f 2025-03-23T02:58:46,164 Created temporary directory: /tmp/pip-wheel-jacwzsns 2025-03-23T02:58:46,169 Created temporary directory: /tmp/pip-ephem-wheel-cache-dsbaskdx 2025-03-23T02:58:46,216 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-03-23T02:58:46,219 2 location(s) to search for versions of torch-memory-saver: 2025-03-23T02:58:46,219 * https://pypi.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,219 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,219 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,220 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,221 Found index url https://pypi.org/simple/ 2025-03-23T02:58:46,242 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-03-23T02:58:46,244 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-23T02:58:46,244 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-23T02:58:46,245 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-23T02:58:46,245 Found link https://files.pythonhosted.org/packages/a4/4d/866d0d0edbe0a3004715e8daa3d436caddff1a5164812606e01a0ad3bc07/torch_memory_saver-0.0.4.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.4 2025-03-23T02:58:46,246 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,246 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,247 Found index url https://www.piwheels.org/simple/ 2025-03-23T02:58:46,280 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-03-23T02:58:46,281 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,281 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-03-23T02:58:46,297 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-03-23T02:58:46,299 Collecting torch-memory-saver==0.0.4 2025-03-23T02:58:46,301 Created temporary directory: /tmp/pip-unpack-b221padh 2025-03-23T02:58:46,317 Downloading torch_memory_saver-0.0.4.tar.gz (5.2 kB) 2025-03-23T02:58:46,346 Added torch-memory-saver==0.0.4 from https://files.pythonhosted.org/packages/a4/4d/866d0d0edbe0a3004715e8daa3d436caddff1a5164812606e01a0ad3bc07/torch_memory_saver-0.0.4.tar.gz to build tracker '/tmp/pip-build-tracker-lsa_l21f' 2025-03-23T02:58:46,348 Running setup.py (path:/tmp/pip-wheel-jacwzsns/torch-memory-saver_91aaf65965ec40998877f768f7f59751/setup.py) egg_info for package torch-memory-saver 2025-03-23T02:58:46,349 Created temporary directory: /tmp/pip-pip-egg-info-qblazmh6 2025-03-23T02:58:46,349 Preparing metadata (setup.py): started 2025-03-23T02:58:46,350 Running command python setup.py egg_info 2025-03-23T02:58:47,438 running egg_info 2025-03-23T02:58:47,468 creating /tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info 2025-03-23T02:58:47,469 writing /tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info/PKG-INFO 2025-03-23T02:58:47,472 writing dependency_links to /tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info/dependency_links.txt 2025-03-23T02:58:47,474 writing top-level names to /tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info/top_level.txt 2025-03-23T02:58:47,476 writing manifest file '/tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-23T02:58:47,584 reading manifest file '/tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-23T02:58:47,586 adding license file 'LICENSE' 2025-03-23T02:58:47,589 writing manifest file '/tmp/pip-pip-egg-info-qblazmh6/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-23T02:58:47,680 Preparing metadata (setup.py): finished with status 'done' 2025-03-23T02:58:47,685 Source in /tmp/pip-wheel-jacwzsns/torch-memory-saver_91aaf65965ec40998877f768f7f59751 has version 0.0.4, which satisfies requirement torch-memory-saver==0.0.4 from https://files.pythonhosted.org/packages/a4/4d/866d0d0edbe0a3004715e8daa3d436caddff1a5164812606e01a0ad3bc07/torch_memory_saver-0.0.4.tar.gz 2025-03-23T02:58:47,685 Removed torch-memory-saver==0.0.4 from https://files.pythonhosted.org/packages/a4/4d/866d0d0edbe0a3004715e8daa3d436caddff1a5164812606e01a0ad3bc07/torch_memory_saver-0.0.4.tar.gz from build tracker '/tmp/pip-build-tracker-lsa_l21f' 2025-03-23T02:58:47,691 Created temporary directory: /tmp/pip-unpack-3q8lroro 2025-03-23T02:58:47,692 Created temporary directory: /tmp/pip-unpack-nusszpkn 2025-03-23T02:58:47,692 Building wheels for collected packages: torch-memory-saver 2025-03-23T02:58:47,696 Created temporary directory: /tmp/pip-wheel-kyhu9po4 2025-03-23T02:58:47,697 Building wheel for torch-memory-saver (setup.py): started 2025-03-23T02:58:47,697 Destination directory: /tmp/pip-wheel-kyhu9po4 2025-03-23T02:58:47,698 Running command python setup.py bdist_wheel 2025-03-23T02:58:48,732 running bdist_wheel 2025-03-23T02:58:48,877 running build 2025-03-23T02:58:48,877 running build_py 2025-03-23T02:58:48,908 creating build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-03-23T02:58:48,910 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-03-23T02:58:48,913 running build_ext 2025-03-23T02:58:49,490 building 'torch_memory_saver_cpp' extension 2025-03-23T02:58:49,491 creating build/temp.linux-armv7l-cpython-39/csrc 2025-03-23T02:58:49,492 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-23T02:58:49,648 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-03-23T02:58:49,648 2 | #include 2025-03-23T02:58:49,649 | ^~~~~~~~~~~~~~~~~~~~ 2025-03-23T02:58:49,649 compilation terminated. 2025-03-23T02:58:49,653 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-03-23T02:58:49,784 ERROR: python setup.py bdist_wheel exited with 1 2025-03-23T02:58:49,803 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-03-23T02:58:49,803 exec(compile('"'"''"'"''"'"' 2025-03-23T02:58:49,803 # This is -- a caller that pip uses to run setup.py 2025-03-23T02:58:49,803 # 2025-03-23T02:58:49,803 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-03-23T02:58:49,803 # import from `distutils.core` to work with newer packaging standards. 2025-03-23T02:58:49,803 # - It provides a clear error message when setuptools is not installed. 2025-03-23T02:58:49,803 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-03-23T02:58:49,803 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-03-23T02:58:49,803 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-03-23T02:58:49,803 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-03-23T02:58:49,803 import os, sys, tokenize 2025-03-23T02:58:49,803 2025-03-23T02:58:49,803 try: 2025-03-23T02:58:49,803 import setuptools 2025-03-23T02:58:49,803 except ImportError as error: 2025-03-23T02:58:49,803 print( 2025-03-23T02:58:49,803 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-03-23T02:58:49,803 "the build environment.", 2025-03-23T02:58:49,803 file=sys.stderr, 2025-03-23T02:58:49,803 ) 2025-03-23T02:58:49,803 sys.exit(1) 2025-03-23T02:58:49,803 2025-03-23T02:58:49,803 __file__ = %r 2025-03-23T02:58:49,803 sys.argv[0] = __file__ 2025-03-23T02:58:49,803 2025-03-23T02:58:49,803 if os.path.exists(__file__): 2025-03-23T02:58:49,803 filename = __file__ 2025-03-23T02:58:49,803 with tokenize.open(__file__) as f: 2025-03-23T02:58:49,803 setup_py_code = f.read() 2025-03-23T02:58:49,803 else: 2025-03-23T02:58:49,803 filename = "" 2025-03-23T02:58:49,803 setup_py_code = "from setuptools import setup; setup()" 2025-03-23T02:58:49,803 2025-03-23T02:58:49,803 exec(compile(setup_py_code, filename, "exec")) 2025-03-23T02:58:49,803 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-jacwzsns/torch-memory-saver_91aaf65965ec40998877f768f7f59751/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-kyhu9po4[/] 2025-03-23T02:58:49,803 [bold magenta]cwd[/]: /tmp/pip-wheel-jacwzsns/torch-memory-saver_91aaf65965ec40998877f768f7f59751/ 2025-03-23T02:58:49,804 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-03-23T02:58:49,804 ERROR: Failed building wheel for torch-memory-saver 2025-03-23T02:58:49,805 Running setup.py clean for torch-memory-saver 2025-03-23T02:58:49,806 Running command python setup.py clean 2025-03-23T02:58:50,869 running clean 2025-03-23T02:58:50,921 removing 'build/temp.linux-armv7l-cpython-39' (and everything under it) 2025-03-23T02:58:50,923 removing 'build/lib.linux-armv7l-cpython-39' (and everything under it) 2025-03-23T02:58:50,924 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-03-23T02:58:50,925 'build/scripts-3.9' does not exist -- can't clean it 2025-03-23T02:58:50,925 removing 'build' 2025-03-23T02:58:51,017 Failed to build torch-memory-saver 2025-03-23T02:58:51,018 ERROR: Failed to build one or more wheels 2025-03-23T02:58:51,020 Exception information: 2025-03-23T02:58:51,020 Traceback (most recent call last): 2025-03-23T02:58:51,020 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-03-23T02:58:51,020 status = _inner_run() 2025-03-23T02:58:51,020 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-03-23T02:58:51,020 return self.run(options, args) 2025-03-23T02:58:51,020 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2025-03-23T02:58:51,020 return func(self, options, args) 2025-03-23T02:58:51,020 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-03-23T02:58:51,020 raise CommandError("Failed to build one or more wheels") 2025-03-23T02:58:51,020 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-03-23T02:58:51,022 Removed build tracker: '/tmp/pip-build-tracker-lsa_l21f'