2025-03-28T12:07:34,235 Created temporary directory: /tmp/pip-build-tracker-ck_r7ly7 2025-03-28T12:07:34,237 Initialized build tracking at /tmp/pip-build-tracker-ck_r7ly7 2025-03-28T12:07:34,237 Created build tracker: /tmp/pip-build-tracker-ck_r7ly7 2025-03-28T12:07:34,238 Entered build tracker: /tmp/pip-build-tracker-ck_r7ly7 2025-03-28T12:07:34,238 Created temporary directory: /tmp/pip-wheel-z70zixhc 2025-03-28T12:07:34,242 Created temporary directory: /tmp/pip-ephem-wheel-cache-1337t98s 2025-03-28T12:07:34,286 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-03-28T12:07:34,289 2 location(s) to search for versions of torch-memory-saver: 2025-03-28T12:07:34,289 * https://pypi.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,289 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,290 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,291 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,292 Found index url https://pypi.org/simple/ 2025-03-28T12:07:34,509 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-03-28T12:07:34,512 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-28T12:07:34,513 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-28T12:07:34,514 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-28T12:07:34,514 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-28T12:07:34,516 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-28T12:07:34,516 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,517 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,518 Found index url https://www.piwheels.org/simple/ 2025-03-28T12:07:34,690 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-03-28T12:07:34,692 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,692 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-03-28T12:07:34,712 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-03-28T12:07:34,714 Collecting torch-memory-saver==0.0.5 2025-03-28T12:07:34,716 Created temporary directory: /tmp/pip-unpack-ac8el_dn 2025-03-28T12:07:34,929 Downloading torch_memory_saver-0.0.5.tar.gz (5.4 kB) 2025-03-28T12:07:34,957 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-ck_r7ly7' 2025-03-28T12:07:34,959 Running setup.py (path:/tmp/pip-wheel-z70zixhc/torch-memory-saver_82f5267b106842198e72c869bea857a9/setup.py) egg_info for package torch-memory-saver 2025-03-28T12:07:34,960 Created temporary directory: /tmp/pip-pip-egg-info-ty55195p 2025-03-28T12:07:34,960 Preparing metadata (setup.py): started 2025-03-28T12:07:34,962 Running command python setup.py egg_info 2025-03-28T12:07:36,009 running egg_info 2025-03-28T12:07:36,038 creating /tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info 2025-03-28T12:07:36,039 writing /tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info/PKG-INFO 2025-03-28T12:07:36,042 writing dependency_links to /tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info/dependency_links.txt 2025-03-28T12:07:36,044 writing top-level names to /tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info/top_level.txt 2025-03-28T12:07:36,045 writing manifest file '/tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-28T12:07:36,160 reading manifest file '/tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-28T12:07:36,162 adding license file 'LICENSE' 2025-03-28T12:07:36,164 writing manifest file '/tmp/pip-pip-egg-info-ty55195p/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-28T12:07:36,274 Preparing metadata (setup.py): finished with status 'done' 2025-03-28T12:07:36,278 Source in /tmp/pip-wheel-z70zixhc/torch-memory-saver_82f5267b106842198e72c869bea857a9 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-28T12:07:36,279 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-ck_r7ly7' 2025-03-28T12:07:36,284 Created temporary directory: /tmp/pip-unpack-eomvnirp 2025-03-28T12:07:36,285 Created temporary directory: /tmp/pip-unpack-_3bbj7bq 2025-03-28T12:07:36,286 Building wheels for collected packages: torch-memory-saver 2025-03-28T12:07:36,289 Created temporary directory: /tmp/pip-wheel-l0xjavc4 2025-03-28T12:07:36,290 Building wheel for torch-memory-saver (setup.py): started 2025-03-28T12:07:36,291 Destination directory: /tmp/pip-wheel-l0xjavc4 2025-03-28T12:07:36,292 Running command python setup.py bdist_wheel 2025-03-28T12:07:37,367 running bdist_wheel 2025-03-28T12:07:37,503 running build 2025-03-28T12:07:37,504 running build_py 2025-03-28T12:07:37,533 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-03-28T12:07:37,535 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-03-28T12:07:37,539 running build_ext 2025-03-28T12:07:37,985 building 'torch_memory_saver_cpp' extension 2025-03-28T12:07:37,986 creating build/temp.linux-armv7l-cpython-311/csrc 2025-03-28T12:07:37,988 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/usr/local/cuda/targets/x86_64-linux/include -I/usr/include/python3.11 -c csrc/torch_memory_saver.cpp -o build/temp.linux-armv7l-cpython-311/csrc/torch_memory_saver.o 2025-03-28T12:07:38,059 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-03-28T12:07:38,060 2 | #include 2025-03-28T12:07:38,060 | ^~~~~~~~~~~~~~~~~~~~ 2025-03-28T12:07:38,061 compilation terminated. 2025-03-28T12:07:38,063 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-03-28T12:07:38,206 ERROR: python setup.py bdist_wheel exited with 1 2025-03-28T12:07:38,219 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-03-28T12:07:38,219 exec(compile('"'"''"'"''"'"' 2025-03-28T12:07:38,219 # This is -- a caller that pip uses to run setup.py 2025-03-28T12:07:38,219 # 2025-03-28T12:07:38,219 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-03-28T12:07:38,219 # import from `distutils.core` to work with newer packaging standards. 2025-03-28T12:07:38,219 # - It provides a clear error message when setuptools is not installed. 2025-03-28T12:07:38,219 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-03-28T12:07:38,219 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-03-28T12:07:38,219 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-03-28T12:07:38,219 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-03-28T12:07:38,219 import os, sys, tokenize 2025-03-28T12:07:38,219 2025-03-28T12:07:38,219 try: 2025-03-28T12:07:38,219 import setuptools 2025-03-28T12:07:38,219 except ImportError as error: 2025-03-28T12:07:38,219 print( 2025-03-28T12:07:38,219 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-03-28T12:07:38,219 "the build environment.", 2025-03-28T12:07:38,219 file=sys.stderr, 2025-03-28T12:07:38,219 ) 2025-03-28T12:07:38,219 sys.exit(1) 2025-03-28T12:07:38,219 2025-03-28T12:07:38,219 __file__ = %r 2025-03-28T12:07:38,219 sys.argv[0] = __file__ 2025-03-28T12:07:38,219 2025-03-28T12:07:38,219 if os.path.exists(__file__): 2025-03-28T12:07:38,219 filename = __file__ 2025-03-28T12:07:38,219 with tokenize.open(__file__) as f: 2025-03-28T12:07:38,219 setup_py_code = f.read() 2025-03-28T12:07:38,219 else: 2025-03-28T12:07:38,219 filename = "" 2025-03-28T12:07:38,219 setup_py_code = "from setuptools import setup; setup()" 2025-03-28T12:07:38,219 2025-03-28T12:07:38,219 exec(compile(setup_py_code, filename, "exec")) 2025-03-28T12:07:38,219 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-z70zixhc/torch-memory-saver_82f5267b106842198e72c869bea857a9/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-l0xjavc4[/] 2025-03-28T12:07:38,220 [bold magenta]cwd[/]: /tmp/pip-wheel-z70zixhc/torch-memory-saver_82f5267b106842198e72c869bea857a9/ 2025-03-28T12:07:38,220 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-03-28T12:07:38,222 ERROR: Failed building wheel for torch-memory-saver 2025-03-28T12:07:38,223 Running setup.py clean for torch-memory-saver 2025-03-28T12:07:38,224 Running command python setup.py clean 2025-03-28T12:07:39,264 running clean 2025-03-28T12:07:39,316 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-03-28T12:07:39,318 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-03-28T12:07:39,319 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-03-28T12:07:39,320 'build/scripts-3.11' does not exist -- can't clean it 2025-03-28T12:07:39,320 removing 'build' 2025-03-28T12:07:39,430 Failed to build torch-memory-saver 2025-03-28T12:07:39,431 ERROR: Failed to build one or more wheels 2025-03-28T12:07:39,432 Exception information: 2025-03-28T12:07:39,432 Traceback (most recent call last): 2025-03-28T12:07:39,432 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-03-28T12:07:39,432 status = _inner_run() 2025-03-28T12:07:39,432 ^^^^^^^^^^^^ 2025-03-28T12:07:39,432 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-03-28T12:07:39,432 return self.run(options, args) 2025-03-28T12:07:39,432 ^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-28T12:07:39,432 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2025-03-28T12:07:39,432 return func(self, options, args) 2025-03-28T12:07:39,432 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-28T12:07:39,432 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-03-28T12:07:39,432 raise CommandError("Failed to build one or more wheels") 2025-03-28T12:07:39,432 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-03-28T12:07:39,436 Removed build tracker: '/tmp/pip-build-tracker-ck_r7ly7'