2025-03-28T13:20:11,208 Disabling truststore because Python version isn't 3.10+ 2025-03-28T13:20:11,847 Created temporary directory: /tmp/pip-build-tracker-2n0rack_ 2025-03-28T13:20:11,848 Initialized build tracking at /tmp/pip-build-tracker-2n0rack_ 2025-03-28T13:20:11,848 Created build tracker: /tmp/pip-build-tracker-2n0rack_ 2025-03-28T13:20:11,848 Entered build tracker: /tmp/pip-build-tracker-2n0rack_ 2025-03-28T13:20:11,849 Created temporary directory: /tmp/pip-wheel-xbl1yk0n 2025-03-28T13:20:11,856 Created temporary directory: /tmp/pip-ephem-wheel-cache-lvjm0zsh 2025-03-28T13:20:11,906 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-03-28T13:20:11,909 2 location(s) to search for versions of torch-memory-saver: 2025-03-28T13:20:11,909 * https://pypi.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,909 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,909 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,910 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,914 Found index url https://pypi.org/simple/ 2025-03-28T13:20:11,935 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-03-28T13:20:11,937 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-28T13:20:11,938 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-28T13:20:11,939 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-28T13:20:11,939 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-28T13:20:11,940 Found link https://files.pythonhosted.org/packages/1c/6c/3c49e9698c993dde605d32131fca0ca18ad69e7be06d314caff3aca67fe2/torch_memory_saver-0.0.5.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.5 2025-03-28T13:20:11,940 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,940 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,941 Found index url https://www.piwheels.org/simple/ 2025-03-28T13:20:11,988 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-03-28T13:20:11,989 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T13:20:11,989 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-03-28T13:20:12,006 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-03-28T13:20:12,008 Collecting torch-memory-saver==0.0.5 2025-03-28T13:20:12,010 Created temporary directory: /tmp/pip-unpack-dui3p_hl 2025-03-28T13:20:12,029 Downloading torch_memory_saver-0.0.5.tar.gz (5.4 kB) 2025-03-28T13:20:12,059 Added torch-memory-saver==0.0.5 from https://files.pythonhosted.org/packages/1c/6c/3c49e9698c993dde605d32131fca0ca18ad69e7be06d314caff3aca67fe2/torch_memory_saver-0.0.5.tar.gz to build tracker '/tmp/pip-build-tracker-2n0rack_' 2025-03-28T13:20:12,062 Running setup.py (path:/tmp/pip-wheel-xbl1yk0n/torch-memory-saver_54f858f6bfc947efa62a084e5620551b/setup.py) egg_info for package torch-memory-saver 2025-03-28T13:20:12,063 Created temporary directory: /tmp/pip-pip-egg-info-ra0i80q3 2025-03-28T13:20:12,063 Preparing metadata (setup.py): started 2025-03-28T13:20:12,064 Running command python setup.py egg_info 2025-03-28T13:20:13,382 running egg_info 2025-03-28T13:20:13,421 creating /tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info 2025-03-28T13:20:13,422 writing /tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info/PKG-INFO 2025-03-28T13:20:13,427 writing dependency_links to /tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info/dependency_links.txt 2025-03-28T13:20:13,431 writing top-level names to /tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info/top_level.txt 2025-03-28T13:20:13,433 writing manifest file '/tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-28T13:20:13,595 reading manifest file '/tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-28T13:20:13,596 adding license file 'LICENSE' 2025-03-28T13:20:13,600 writing manifest file '/tmp/pip-pip-egg-info-ra0i80q3/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-28T13:20:13,690 Preparing metadata (setup.py): finished with status 'done' 2025-03-28T13:20:13,694 Source in /tmp/pip-wheel-xbl1yk0n/torch-memory-saver_54f858f6bfc947efa62a084e5620551b has version 0.0.5, which satisfies requirement torch-memory-saver==0.0.5 from https://files.pythonhosted.org/packages/1c/6c/3c49e9698c993dde605d32131fca0ca18ad69e7be06d314caff3aca67fe2/torch_memory_saver-0.0.5.tar.gz 2025-03-28T13:20:13,695 Removed torch-memory-saver==0.0.5 from https://files.pythonhosted.org/packages/1c/6c/3c49e9698c993dde605d32131fca0ca18ad69e7be06d314caff3aca67fe2/torch_memory_saver-0.0.5.tar.gz from build tracker '/tmp/pip-build-tracker-2n0rack_' 2025-03-28T13:20:13,701 Created temporary directory: /tmp/pip-unpack-e8c0pd72 2025-03-28T13:20:13,702 Created temporary directory: /tmp/pip-unpack-kty59ox6 2025-03-28T13:20:13,702 Building wheels for collected packages: torch-memory-saver 2025-03-28T13:20:13,706 Created temporary directory: /tmp/pip-wheel-1piqjs35 2025-03-28T13:20:13,706 Building wheel for torch-memory-saver (setup.py): started 2025-03-28T13:20:13,707 Destination directory: /tmp/pip-wheel-1piqjs35 2025-03-28T13:20:13,708 Running command python setup.py bdist_wheel 2025-03-28T13:20:14,798 running bdist_wheel 2025-03-28T13:20:14,966 running build 2025-03-28T13:20:14,966 running build_py 2025-03-28T13:20:15,002 creating build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-03-28T13:20:15,004 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-03-28T13:20:15,007 running build_ext 2025-03-28T13:20:15,501 building 'torch_memory_saver_cpp' extension 2025-03-28T13:20:15,502 creating build/temp.linux-armv7l-cpython-39/csrc 2025-03-28T13:20:15,503 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/local/cuda/targets/x86_64-linux/include -I/usr/include/python3.9 -c csrc/torch_memory_saver.cpp -o build/temp.linux-armv7l-cpython-39/csrc/torch_memory_saver.o 2025-03-28T13:20:15,592 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-03-28T13:20:15,592 2 | #include 2025-03-28T13:20:15,592 | ^~~~~~~~~~~~~~~~~~~~ 2025-03-28T13:20:15,593 compilation terminated. 2025-03-28T13:20:15,596 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-03-28T13:20:15,726 ERROR: python setup.py bdist_wheel exited with 1 2025-03-28T13:20:15,743 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-03-28T13:20:15,743 exec(compile('"'"''"'"''"'"' 2025-03-28T13:20:15,743 # This is -- a caller that pip uses to run setup.py 2025-03-28T13:20:15,743 # 2025-03-28T13:20:15,743 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-03-28T13:20:15,743 # import from `distutils.core` to work with newer packaging standards. 2025-03-28T13:20:15,743 # - It provides a clear error message when setuptools is not installed. 2025-03-28T13:20:15,743 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-03-28T13:20:15,743 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-03-28T13:20:15,743 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-03-28T13:20:15,743 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-03-28T13:20:15,743 import os, sys, tokenize 2025-03-28T13:20:15,743 2025-03-28T13:20:15,743 try: 2025-03-28T13:20:15,743 import setuptools 2025-03-28T13:20:15,743 except ImportError as error: 2025-03-28T13:20:15,743 print( 2025-03-28T13:20:15,743 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-03-28T13:20:15,743 "the build environment.", 2025-03-28T13:20:15,743 file=sys.stderr, 2025-03-28T13:20:15,743 ) 2025-03-28T13:20:15,743 sys.exit(1) 2025-03-28T13:20:15,743 2025-03-28T13:20:15,743 __file__ = %r 2025-03-28T13:20:15,743 sys.argv[0] = __file__ 2025-03-28T13:20:15,743 2025-03-28T13:20:15,743 if os.path.exists(__file__): 2025-03-28T13:20:15,743 filename = __file__ 2025-03-28T13:20:15,743 with tokenize.open(__file__) as f: 2025-03-28T13:20:15,743 setup_py_code = f.read() 2025-03-28T13:20:15,743 else: 2025-03-28T13:20:15,743 filename = "" 2025-03-28T13:20:15,743 setup_py_code = "from setuptools import setup; setup()" 2025-03-28T13:20:15,743 2025-03-28T13:20:15,743 exec(compile(setup_py_code, filename, "exec")) 2025-03-28T13:20:15,743 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-xbl1yk0n/torch-memory-saver_54f858f6bfc947efa62a084e5620551b/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-1piqjs35[/] 2025-03-28T13:20:15,743 [bold magenta]cwd[/]: /tmp/pip-wheel-xbl1yk0n/torch-memory-saver_54f858f6bfc947efa62a084e5620551b/ 2025-03-28T13:20:15,744 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-03-28T13:20:15,744 ERROR: Failed building wheel for torch-memory-saver 2025-03-28T13:20:15,745 Running setup.py clean for torch-memory-saver 2025-03-28T13:20:15,746 Running command python setup.py clean 2025-03-28T13:20:16,911 running clean 2025-03-28T13:20:16,977 removing 'build/temp.linux-armv7l-cpython-39' (and everything under it) 2025-03-28T13:20:16,979 removing 'build/lib.linux-armv7l-cpython-39' (and everything under it) 2025-03-28T13:20:16,981 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-03-28T13:20:16,981 'build/scripts-3.9' does not exist -- can't clean it 2025-03-28T13:20:16,981 removing 'build' 2025-03-28T13:20:17,072 Failed to build torch-memory-saver 2025-03-28T13:20:17,074 ERROR: Failed to build one or more wheels 2025-03-28T13:20:17,075 Exception information: 2025-03-28T13:20:17,075 Traceback (most recent call last): 2025-03-28T13:20:17,075 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-03-28T13:20:17,075 status = _inner_run() 2025-03-28T13:20:17,075 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-03-28T13:20:17,075 return self.run(options, args) 2025-03-28T13:20:17,075 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2025-03-28T13:20:17,075 return func(self, options, args) 2025-03-28T13:20:17,075 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-03-28T13:20:17,075 raise CommandError("Failed to build one or more wheels") 2025-03-28T13:20:17,075 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-03-28T13:20:17,077 Removed build tracker: '/tmp/pip-build-tracker-2n0rack_'