2025-03-23T01:52:20,102 Created temporary directory: /tmp/pip-build-tracker-lcp11hjf 2025-03-23T01:52:20,104 Initialized build tracking at /tmp/pip-build-tracker-lcp11hjf 2025-03-23T01:52:20,104 Created build tracker: /tmp/pip-build-tracker-lcp11hjf 2025-03-23T01:52:20,105 Entered build tracker: /tmp/pip-build-tracker-lcp11hjf 2025-03-23T01:52:20,105 Created temporary directory: /tmp/pip-wheel-m2jwephk 2025-03-23T01:52:20,109 Created temporary directory: /tmp/pip-ephem-wheel-cache-xp11qvb8 2025-03-23T01:52:20,156 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-03-23T01:52:20,159 2 location(s) to search for versions of torch-memory-saver: 2025-03-23T01:52:20,159 * https://pypi.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,159 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,160 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,161 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,162 Found index url https://pypi.org/simple/ 2025-03-23T01:52:20,387 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-03-23T01:52:20,389 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-23T01:52:20,390 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-23T01:52:20,391 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-23T01:52:20,392 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-23T01:52:20,393 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,394 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,395 Found index url https://www.piwheels.org/simple/ 2025-03-23T01:52:20,565 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-03-23T01:52:20,566 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,566 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-03-23T01:52:20,586 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-03-23T01:52:20,588 Collecting torch-memory-saver==0.0.4 2025-03-23T01:52:20,591 Created temporary directory: /tmp/pip-unpack-jteadxsi 2025-03-23T01:52:20,807 Downloading torch_memory_saver-0.0.4.tar.gz (5.2 kB) 2025-03-23T01:52:20,835 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-lcp11hjf' 2025-03-23T01:52:20,837 Running setup.py (path:/tmp/pip-wheel-m2jwephk/torch-memory-saver_b1ce269f40ab4e0f913b1555697cd81a/setup.py) egg_info for package torch-memory-saver 2025-03-23T01:52:20,838 Created temporary directory: /tmp/pip-pip-egg-info-cyq4nru3 2025-03-23T01:52:20,839 Preparing metadata (setup.py): started 2025-03-23T01:52:20,840 Running command python setup.py egg_info 2025-03-23T01:52:21,942 running egg_info 2025-03-23T01:52:21,972 creating /tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info 2025-03-23T01:52:21,973 writing /tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info/PKG-INFO 2025-03-23T01:52:21,976 writing dependency_links to /tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info/dependency_links.txt 2025-03-23T01:52:21,978 writing top-level names to /tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info/top_level.txt 2025-03-23T01:52:21,979 writing manifest file '/tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-23T01:52:22,094 reading manifest file '/tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-23T01:52:22,095 adding license file 'LICENSE' 2025-03-23T01:52:22,098 writing manifest file '/tmp/pip-pip-egg-info-cyq4nru3/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-23T01:52:22,208 Preparing metadata (setup.py): finished with status 'done' 2025-03-23T01:52:22,211 Source in /tmp/pip-wheel-m2jwephk/torch-memory-saver_b1ce269f40ab4e0f913b1555697cd81a 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-23T01:52:22,212 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-lcp11hjf' 2025-03-23T01:52:22,217 Created temporary directory: /tmp/pip-unpack-09fat7qm 2025-03-23T01:52:22,218 Created temporary directory: /tmp/pip-unpack-zdiufbsc 2025-03-23T01:52:22,218 Building wheels for collected packages: torch-memory-saver 2025-03-23T01:52:22,223 Created temporary directory: /tmp/pip-wheel-jzslg90n 2025-03-23T01:52:22,223 Building wheel for torch-memory-saver (setup.py): started 2025-03-23T01:52:22,225 Destination directory: /tmp/pip-wheel-jzslg90n 2025-03-23T01:52:22,225 Running command python setup.py bdist_wheel 2025-03-23T01:52:23,256 running bdist_wheel 2025-03-23T01:52:23,392 running build 2025-03-23T01:52:23,393 running build_py 2025-03-23T01:52:23,423 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-03-23T01:52:23,426 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-03-23T01:52:23,429 running build_ext 2025-03-23T01:52:23,883 building 'torch_memory_saver_cpp' extension 2025-03-23T01:52:23,884 creating build/temp.linux-armv7l-cpython-311/csrc 2025-03-23T01:52:23,886 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c csrc/torch_memory_saver.cpp -o build/temp.linux-armv7l-cpython-311/csrc/torch_memory_saver.o -I/usr/local/cuda/include 2025-03-23T01:52:23,958 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-03-23T01:52:23,959 2 | #include 2025-03-23T01:52:23,959 | ^~~~~~~~~~~~~~~~~~~~ 2025-03-23T01:52:23,960 compilation terminated. 2025-03-23T01:52:23,962 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-03-23T01:52:24,105 ERROR: python setup.py bdist_wheel exited with 1 2025-03-23T01:52:24,118 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-03-23T01:52:24,118 exec(compile('"'"''"'"''"'"' 2025-03-23T01:52:24,118 # This is -- a caller that pip uses to run setup.py 2025-03-23T01:52:24,118 # 2025-03-23T01:52:24,118 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-03-23T01:52:24,118 # import from `distutils.core` to work with newer packaging standards. 2025-03-23T01:52:24,118 # - It provides a clear error message when setuptools is not installed. 2025-03-23T01:52:24,118 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-03-23T01:52:24,118 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-03-23T01:52:24,118 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-03-23T01:52:24,118 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-03-23T01:52:24,118 import os, sys, tokenize 2025-03-23T01:52:24,118 2025-03-23T01:52:24,118 try: 2025-03-23T01:52:24,118 import setuptools 2025-03-23T01:52:24,118 except ImportError as error: 2025-03-23T01:52:24,118 print( 2025-03-23T01:52:24,118 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-03-23T01:52:24,118 "the build environment.", 2025-03-23T01:52:24,118 file=sys.stderr, 2025-03-23T01:52:24,118 ) 2025-03-23T01:52:24,118 sys.exit(1) 2025-03-23T01:52:24,118 2025-03-23T01:52:24,118 __file__ = %r 2025-03-23T01:52:24,118 sys.argv[0] = __file__ 2025-03-23T01:52:24,118 2025-03-23T01:52:24,118 if os.path.exists(__file__): 2025-03-23T01:52:24,118 filename = __file__ 2025-03-23T01:52:24,118 with tokenize.open(__file__) as f: 2025-03-23T01:52:24,118 setup_py_code = f.read() 2025-03-23T01:52:24,118 else: 2025-03-23T01:52:24,118 filename = "" 2025-03-23T01:52:24,118 setup_py_code = "from setuptools import setup; setup()" 2025-03-23T01:52:24,118 2025-03-23T01:52:24,118 exec(compile(setup_py_code, filename, "exec")) 2025-03-23T01:52:24,118 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-m2jwephk/torch-memory-saver_b1ce269f40ab4e0f913b1555697cd81a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-jzslg90n[/] 2025-03-23T01:52:24,119 [bold magenta]cwd[/]: /tmp/pip-wheel-m2jwephk/torch-memory-saver_b1ce269f40ab4e0f913b1555697cd81a/ 2025-03-23T01:52:24,120 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-03-23T01:52:24,121 ERROR: Failed building wheel for torch-memory-saver 2025-03-23T01:52:24,122 Running setup.py clean for torch-memory-saver 2025-03-23T01:52:24,123 Running command python setup.py clean 2025-03-23T01:52:25,167 running clean 2025-03-23T01:52:25,218 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-03-23T01:52:25,220 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-03-23T01:52:25,222 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-03-23T01:52:25,222 'build/scripts-3.11' does not exist -- can't clean it 2025-03-23T01:52:25,223 removing 'build' 2025-03-23T01:52:25,332 Failed to build torch-memory-saver 2025-03-23T01:52:25,333 ERROR: Failed to build one or more wheels 2025-03-23T01:52:25,335 Exception information: 2025-03-23T01:52:25,335 Traceback (most recent call last): 2025-03-23T01:52:25,335 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-03-23T01:52:25,335 status = _inner_run() 2025-03-23T01:52:25,335 ^^^^^^^^^^^^ 2025-03-23T01:52:25,335 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-03-23T01:52:25,335 return self.run(options, args) 2025-03-23T01:52:25,335 ^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-23T01:52:25,335 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2025-03-23T01:52:25,335 return func(self, options, args) 2025-03-23T01:52:25,335 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-23T01:52:25,335 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-03-23T01:52:25,335 raise CommandError("Failed to build one or more wheels") 2025-03-23T01:52:25,335 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-03-23T01:52:25,338 Removed build tracker: '/tmp/pip-build-tracker-lcp11hjf'