2025-03-19T04:08:58,710 Created temporary directory: /tmp/pip-build-tracker-8b97lpnf 2025-03-19T04:08:58,711 Initialized build tracking at /tmp/pip-build-tracker-8b97lpnf 2025-03-19T04:08:58,711 Created build tracker: /tmp/pip-build-tracker-8b97lpnf 2025-03-19T04:08:58,712 Entered build tracker: /tmp/pip-build-tracker-8b97lpnf 2025-03-19T04:08:58,712 Created temporary directory: /tmp/pip-wheel-5qglahuy 2025-03-19T04:08:58,716 Created temporary directory: /tmp/pip-ephem-wheel-cache-smm8bttv 2025-03-19T04:08:58,762 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-03-19T04:08:58,765 2 location(s) to search for versions of torch-memory-saver: 2025-03-19T04:08:58,765 * https://pypi.org/simple/torch-memory-saver/ 2025-03-19T04:08:58,765 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T04:08:58,766 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-03-19T04:08:58,766 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-03-19T04:08:58,768 Found index url https://pypi.org/simple/ 2025-03-19T04:08:58,986 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-03-19T04:08:58,988 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-19T04:08:58,989 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-19T04:08:58,990 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-19T04:08:58,991 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T04:08:58,992 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T04:08:58,993 Found index url https://www.piwheels.org/simple/ 2025-03-19T04:08:59,168 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-03-19T04:08:59,169 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-03-19T04:08:59,170 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-03-19T04:08:59,190 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-03-19T04:08:59,192 Collecting torch-memory-saver==0.0.3 2025-03-19T04:08:59,194 Created temporary directory: /tmp/pip-unpack-ll5g4xd1 2025-03-19T04:08:59,410 Downloading torch_memory_saver-0.0.3.tar.gz (5.2 kB) 2025-03-19T04:08:59,439 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-8b97lpnf' 2025-03-19T04:08:59,441 Running setup.py (path:/tmp/pip-wheel-5qglahuy/torch-memory-saver_c45bc19eff714c1791be2036dc53420f/setup.py) egg_info for package torch-memory-saver 2025-03-19T04:08:59,442 Created temporary directory: /tmp/pip-pip-egg-info-qjnxozgy 2025-03-19T04:08:59,442 Preparing metadata (setup.py): started 2025-03-19T04:08:59,444 Running command python setup.py egg_info 2025-03-19T04:09:00,530 running egg_info 2025-03-19T04:09:00,560 creating /tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info 2025-03-19T04:09:00,561 writing /tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info/PKG-INFO 2025-03-19T04:09:00,564 writing dependency_links to /tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info/dependency_links.txt 2025-03-19T04:09:00,567 writing top-level names to /tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info/top_level.txt 2025-03-19T04:09:00,568 writing manifest file '/tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-19T04:09:00,685 reading manifest file '/tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-19T04:09:00,687 adding license file 'LICENSE' 2025-03-19T04:09:00,690 writing manifest file '/tmp/pip-pip-egg-info-qjnxozgy/torch_memory_saver.egg-info/SOURCES.txt' 2025-03-19T04:09:00,800 Preparing metadata (setup.py): finished with status 'done' 2025-03-19T04:09:00,804 Source in /tmp/pip-wheel-5qglahuy/torch-memory-saver_c45bc19eff714c1791be2036dc53420f 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-19T04:09:00,805 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-8b97lpnf' 2025-03-19T04:09:00,810 Created temporary directory: /tmp/pip-unpack-c86u2vi_ 2025-03-19T04:09:00,811 Created temporary directory: /tmp/pip-unpack-jibmc8ku 2025-03-19T04:09:00,812 Building wheels for collected packages: torch-memory-saver 2025-03-19T04:09:00,816 Created temporary directory: /tmp/pip-wheel-vo9ru9y_ 2025-03-19T04:09:00,816 Building wheel for torch-memory-saver (setup.py): started 2025-03-19T04:09:00,817 Destination directory: /tmp/pip-wheel-vo9ru9y_ 2025-03-19T04:09:00,818 Running command python setup.py bdist_wheel 2025-03-19T04:09:01,866 running bdist_wheel 2025-03-19T04:09:02,008 running build 2025-03-19T04:09:02,008 running build_py 2025-03-19T04:09:02,039 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-03-19T04:09:02,042 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-03-19T04:09:02,046 running build_ext 2025-03-19T04:09:02,613 building 'torch_memory_saver_cpp' extension 2025-03-19T04:09:02,614 creating build/temp.linux-armv7l-cpython-311/csrc 2025-03-19T04:09:02,616 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-19T04:09:02,713 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-03-19T04:09:02,713 2 | #include 2025-03-19T04:09:02,714 | ^~~~~~~~~~~~~~~~~~~~ 2025-03-19T04:09:02,715 compilation terminated. 2025-03-19T04:09:02,717 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-03-19T04:09:02,861 ERROR: python setup.py bdist_wheel exited with 1 2025-03-19T04:09:02,874 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-03-19T04:09:02,874 exec(compile('"'"''"'"''"'"' 2025-03-19T04:09:02,874 # This is -- a caller that pip uses to run setup.py 2025-03-19T04:09:02,874 # 2025-03-19T04:09:02,874 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-03-19T04:09:02,874 # import from `distutils.core` to work with newer packaging standards. 2025-03-19T04:09:02,874 # - It provides a clear error message when setuptools is not installed. 2025-03-19T04:09:02,874 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-03-19T04:09:02,874 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-03-19T04:09:02,874 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-03-19T04:09:02,874 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-03-19T04:09:02,874 import os, sys, tokenize 2025-03-19T04:09:02,874 2025-03-19T04:09:02,874 try: 2025-03-19T04:09:02,874 import setuptools 2025-03-19T04:09:02,874 except ImportError as error: 2025-03-19T04:09:02,874 print( 2025-03-19T04:09:02,874 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-03-19T04:09:02,874 "the build environment.", 2025-03-19T04:09:02,874 file=sys.stderr, 2025-03-19T04:09:02,874 ) 2025-03-19T04:09:02,874 sys.exit(1) 2025-03-19T04:09:02,874 2025-03-19T04:09:02,874 __file__ = %r 2025-03-19T04:09:02,874 sys.argv[0] = __file__ 2025-03-19T04:09:02,874 2025-03-19T04:09:02,874 if os.path.exists(__file__): 2025-03-19T04:09:02,874 filename = __file__ 2025-03-19T04:09:02,874 with tokenize.open(__file__) as f: 2025-03-19T04:09:02,874 setup_py_code = f.read() 2025-03-19T04:09:02,874 else: 2025-03-19T04:09:02,874 filename = "" 2025-03-19T04:09:02,874 setup_py_code = "from setuptools import setup; setup()" 2025-03-19T04:09:02,874 2025-03-19T04:09:02,874 exec(compile(setup_py_code, filename, "exec")) 2025-03-19T04:09:02,874 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-5qglahuy/torch-memory-saver_c45bc19eff714c1791be2036dc53420f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-vo9ru9y_[/] 2025-03-19T04:09:02,875 [bold magenta]cwd[/]: /tmp/pip-wheel-5qglahuy/torch-memory-saver_c45bc19eff714c1791be2036dc53420f/ 2025-03-19T04:09:02,876 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-03-19T04:09:02,877 ERROR: Failed building wheel for torch-memory-saver 2025-03-19T04:09:02,879 Running setup.py clean for torch-memory-saver 2025-03-19T04:09:02,880 Running command python setup.py clean 2025-03-19T04:09:03,982 running clean 2025-03-19T04:09:04,035 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-03-19T04:09:04,037 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-03-19T04:09:04,039 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-03-19T04:09:04,040 'build/scripts-3.11' does not exist -- can't clean it 2025-03-19T04:09:04,041 removing 'build' 2025-03-19T04:09:04,149 Failed to build torch-memory-saver 2025-03-19T04:09:04,151 ERROR: Failed to build one or more wheels 2025-03-19T04:09:04,152 Exception information: 2025-03-19T04:09:04,152 Traceback (most recent call last): 2025-03-19T04:09:04,152 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-03-19T04:09:04,152 status = _inner_run() 2025-03-19T04:09:04,152 ^^^^^^^^^^^^ 2025-03-19T04:09:04,152 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-03-19T04:09:04,152 return self.run(options, args) 2025-03-19T04:09:04,152 ^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-19T04:09:04,152 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2025-03-19T04:09:04,152 return func(self, options, args) 2025-03-19T04:09:04,152 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-19T04:09:04,152 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-03-19T04:09:04,152 raise CommandError("Failed to build one or more wheels") 2025-03-19T04:09:04,152 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-03-19T04:09:04,155 Removed build tracker: '/tmp/pip-build-tracker-8b97lpnf'