2025-10-06T04:31:25,462 Created temporary directory: /tmp/pip-ephem-wheel-cache-bd01kgnp 2025-10-06T04:31:25,464 Created temporary directory: /tmp/pip-build-tracker-mj450cji 2025-10-06T04:31:25,465 Initialized build tracking at /tmp/pip-build-tracker-mj450cji 2025-10-06T04:31:25,465 Created build tracker: /tmp/pip-build-tracker-mj450cji 2025-10-06T04:31:25,466 Entered build tracker: /tmp/pip-build-tracker-mj450cji 2025-10-06T04:31:25,466 Created temporary directory: /tmp/pip-wheel-ok9neupr 2025-10-06T04:31:25,470 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2025-10-06T04:31:25,472 Created temporary directory: /tmp/pip-ephem-wheel-cache-zwi8mb25 2025-10-06T04:31:25,494 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-10-06T04:31:25,497 2 location(s) to search for versions of torch-memory-saver: 2025-10-06T04:31:25,497 * https://pypi.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,497 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,498 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,499 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,500 Found index url https://pypi.org/simple 2025-10-06T04:31:25,716 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-10-06T04:31:25,719 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-10-06T04:31:25,720 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-10-06T04:31:25,721 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-10-06T04:31:25,722 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-10-06T04:31:25,724 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-10-06T04:31:25,724 Skipping link: No binaries permitted for torch-memory-saver: https://files.pythonhosted.org/packages/68/75/081a1fdc3dc23b412383c9c006465ec591762b01a6d8001892fdc8c939e7/torch_memory_saver-0.0.6-cp39-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-06T04:31:25,725 Found link https://files.pythonhosted.org/packages/b1/c4/8e05c4a2b625c7831f26ead7710c428bac5e651ea2d1ec35a6a875f0de2c/torch_memory_saver-0.0.6.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.6 2025-10-06T04:31:25,726 Skipping link: No binaries permitted for torch-memory-saver: https://files.pythonhosted.org/packages/d4/e5/52c5a27ea3c42f1efa238711f554597f2443bb0c2bcacf60be65148c3038/torch_memory_saver-0.0.8-cp39-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-06T04:31:25,727 Found link https://files.pythonhosted.org/packages/0a/4e/9ab4faae062750a7dd447ace9eb68ff2e44dd9fd09f79ec1e59990e7811f/torch_memory_saver-0.0.8.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.8 2025-10-06T04:31:25,728 Skipping link: No binaries permitted for torch-memory-saver: https://files.pythonhosted.org/packages/a7/79/73aa2b9800c049a0462116f10a0ea6360b5c973e12974a1e9b1b7036ec82/torch_memory_saver-0.0.9rc1-cp39-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-06T04:31:25,729 Found link https://files.pythonhosted.org/packages/fb/e3/f38961fbc5872120fd76e9a893fbb39c90551766110afb3bdc1005a7f17e/torch_memory_saver-0.0.9rc1.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9rc1 2025-10-06T04:31:25,730 Skipping link: No binaries permitted for torch-memory-saver: https://files.pythonhosted.org/packages/ed/18/e2b7903c2c8dcd8820650e470b2106a36306b8e86124ae1147c4302846d9/torch_memory_saver-0.0.9rc2-cp39-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-06T04:31:25,731 Found link https://files.pythonhosted.org/packages/6b/f9/bb08f7a6c70793246dad07e8c4ac86b8b9ed54630da06115f619974eefd8/torch_memory_saver-0.0.9rc2.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9rc2 2025-10-06T04:31:25,731 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,732 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,733 Found index url https://www.piwheels.org/simple 2025-10-06T04:31:25,896 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-10-06T04:31:25,897 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,897 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-10-06T04:31:25,917 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-10-06T04:31:25,935 Collecting torch-memory-saver==0.0.9rc2 2025-10-06T04:31:25,937 Created temporary directory: /tmp/pip-unpack-kula7cf8 2025-10-06T04:31:26,149 Downloading torch_memory_saver-0.0.9rc2.tar.gz (14 kB) 2025-10-06T04:31:26,206 Added torch-memory-saver==0.0.9rc2 from https://files.pythonhosted.org/packages/6b/f9/bb08f7a6c70793246dad07e8c4ac86b8b9ed54630da06115f619974eefd8/torch_memory_saver-0.0.9rc2.tar.gz to build tracker '/tmp/pip-build-tracker-mj450cji' 2025-10-06T04:31:26,208 Running setup.py (path:/tmp/pip-wheel-ok9neupr/torch-memory-saver_ff47c29d2431451a954b3f6cc85cd5e6/setup.py) egg_info for package torch-memory-saver 2025-10-06T04:31:26,208 Created temporary directory: /tmp/pip-pip-egg-info-a5yq2ga3 2025-10-06T04:31:26,209 Preparing metadata (setup.py): started 2025-10-06T04:31:26,210 Running command python setup.py egg_info 2025-10-06T04:31:27,131 Detected platform: cuda 2025-10-06T04:31:27,131 running egg_info 2025-10-06T04:31:27,161 creating /tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info 2025-10-06T04:31:27,162 writing /tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info/PKG-INFO 2025-10-06T04:31:27,165 writing dependency_links to /tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info/dependency_links.txt 2025-10-06T04:31:27,167 writing top-level names to /tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info/top_level.txt 2025-10-06T04:31:27,169 writing manifest file '/tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-06T04:31:27,260 reading manifest file '/tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-06T04:31:27,262 reading manifest template 'MANIFEST.in' 2025-10-06T04:31:27,264 adding license file 'LICENSE' 2025-10-06T04:31:27,267 writing manifest file '/tmp/pip-pip-egg-info-a5yq2ga3/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-06T04:31:27,371 Preparing metadata (setup.py): finished with status 'done' 2025-10-06T04:31:27,375 Source in /tmp/pip-wheel-ok9neupr/torch-memory-saver_ff47c29d2431451a954b3f6cc85cd5e6 has version 0.0.9rc2, which satisfies requirement torch-memory-saver==0.0.9rc2 from https://files.pythonhosted.org/packages/6b/f9/bb08f7a6c70793246dad07e8c4ac86b8b9ed54630da06115f619974eefd8/torch_memory_saver-0.0.9rc2.tar.gz 2025-10-06T04:31:27,376 Removed torch-memory-saver==0.0.9rc2 from https://files.pythonhosted.org/packages/6b/f9/bb08f7a6c70793246dad07e8c4ac86b8b9ed54630da06115f619974eefd8/torch_memory_saver-0.0.9rc2.tar.gz from build tracker '/tmp/pip-build-tracker-mj450cji' 2025-10-06T04:31:27,381 Created temporary directory: /tmp/pip-unpack-d0q9je8p 2025-10-06T04:31:27,382 Building wheels for collected packages: torch-memory-saver 2025-10-06T04:31:27,387 Created temporary directory: /tmp/pip-wheel-j_0p9fnc 2025-10-06T04:31:27,387 Building wheel for torch-memory-saver (setup.py): started 2025-10-06T04:31:27,388 Destination directory: /tmp/pip-wheel-j_0p9fnc 2025-10-06T04:31:27,389 Running command python setup.py bdist_wheel 2025-10-06T04:31:28,042 Detected platform: cuda 2025-10-06T04:31:28,216 running bdist_wheel 2025-10-06T04:31:28,324 running build 2025-10-06T04:31:28,325 running build_py 2025-10-06T04:31:28,354 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-06T04:31:28,357 copying torch_memory_saver/binary_wrapper.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-06T04:31:28,359 copying torch_memory_saver/testing_utils.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-06T04:31:28,361 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-06T04:31:28,363 copying torch_memory_saver/utils.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-06T04:31:28,365 copying torch_memory_saver/entrypoint.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-06T04:31:28,368 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-06T04:31:28,369 copying torch_memory_saver/hooks/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-06T04:31:28,370 copying torch_memory_saver/hooks/mode_torch.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-06T04:31:28,372 copying torch_memory_saver/hooks/base.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-06T04:31:28,374 copying torch_memory_saver/hooks/mode_preload.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-06T04:31:28,378 running build_ext 2025-10-06T04:31:28,816 building 'torch_memory_saver_hook_mode_preload' extension 2025-10-06T04:31:28,817 creating build/temp.linux-armv7l-cpython-311/csrc 2025-10-06T04:31:28,819 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPy_LIMITED_API=0x03090000 -DUSE_CUDA=1 -DTMS_HOOK_MODE_PRELOAD=1 -I/usr/local/cuda/include -I/usr/include/python3.11 -c csrc/api_forwarder.cpp -o build/temp.linux-armv7l-cpython-311/csrc/api_forwarder.o -std=c++17 -O3 2025-10-06T04:31:29,042 In file included from csrc/api_forwarder.h:3, 2025-10-06T04:31:29,042 from csrc/api_forwarder.cpp:2: 2025-10-06T04:31:29,043 csrc/macro.h:35:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-10-06T04:31:29,044 35 | #include 2025-10-06T04:31:29,044 | ^~~~~~~~~~~~~~~~~~~~ 2025-10-06T04:31:29,045 compilation terminated. 2025-10-06T04:31:29,047 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-10-06T04:31:29,196 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2025-10-06T04:31:29,209 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-10-06T04:31:29,209 exec(compile('"'"''"'"''"'"' 2025-10-06T04:31:29,209 # This is -- a caller that pip uses to run setup.py 2025-10-06T04:31:29,209 # 2025-10-06T04:31:29,209 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-10-06T04:31:29,209 # import from `distutils.core` to work with newer packaging standards. 2025-10-06T04:31:29,209 # - It provides a clear error message when setuptools is not installed. 2025-10-06T04:31:29,209 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-10-06T04:31:29,209 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-10-06T04:31:29,209 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-10-06T04:31:29,209 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-10-06T04:31:29,209 import os, sys, tokenize 2025-10-06T04:31:29,209 2025-10-06T04:31:29,209 try: 2025-10-06T04:31:29,209 import setuptools 2025-10-06T04:31:29,209 except ImportError as error: 2025-10-06T04:31:29,209 print( 2025-10-06T04:31:29,209 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-10-06T04:31:29,209 "the build environment.", 2025-10-06T04:31:29,209 file=sys.stderr, 2025-10-06T04:31:29,209 ) 2025-10-06T04:31:29,209 sys.exit(1) 2025-10-06T04:31:29,209 2025-10-06T04:31:29,209 __file__ = %r 2025-10-06T04:31:29,209 sys.argv[0] = __file__ 2025-10-06T04:31:29,209 2025-10-06T04:31:29,209 if os.path.exists(__file__): 2025-10-06T04:31:29,209 filename = __file__ 2025-10-06T04:31:29,209 with tokenize.open(__file__) as f: 2025-10-06T04:31:29,209 setup_py_code = f.read() 2025-10-06T04:31:29,209 else: 2025-10-06T04:31:29,209 filename = "" 2025-10-06T04:31:29,209 setup_py_code = "from setuptools import setup; setup()" 2025-10-06T04:31:29,209 2025-10-06T04:31:29,209 exec(compile(setup_py_code, filename, "exec")) 2025-10-06T04:31:29,209 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ok9neupr/torch-memory-saver_ff47c29d2431451a954b3f6cc85cd5e6/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-j_0p9fnc[/] 2025-10-06T04:31:29,210 [bold magenta]cwd[/]: /tmp/pip-wheel-ok9neupr/torch-memory-saver_ff47c29d2431451a954b3f6cc85cd5e6/ 2025-10-06T04:31:29,211 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-10-06T04:31:29,212 ERROR: Failed building wheel for torch-memory-saver 2025-10-06T04:31:29,213 Running setup.py clean for torch-memory-saver 2025-10-06T04:31:29,215 Running command python setup.py clean 2025-10-06T04:31:29,867 Detected platform: cuda 2025-10-06T04:31:30,076 running clean 2025-10-06T04:31:30,129 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-10-06T04:31:30,131 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-10-06T04:31:30,136 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-10-06T04:31:30,137 'build/scripts-3.11' does not exist -- can't clean it 2025-10-06T04:31:30,137 removing 'build' 2025-10-06T04:31:30,242 Failed to build torch-memory-saver 2025-10-06T04:31:30,243 ERROR: Failed to build one or more wheels 2025-10-06T04:31:30,245 Exception information: 2025-10-06T04:31:30,245 Traceback (most recent call last): 2025-10-06T04:31:30,245 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2025-10-06T04:31:30,245 status = run_func(*args) 2025-10-06T04:31:30,245 ^^^^^^^^^^^^^^^ 2025-10-06T04:31:30,245 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2025-10-06T04:31:30,245 return func(self, options, args) 2025-10-06T04:31:30,245 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-10-06T04:31:30,245 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2025-10-06T04:31:30,245 raise CommandError("Failed to build one or more wheels") 2025-10-06T04:31:30,245 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-10-06T04:31:30,248 Removed build tracker: '/tmp/pip-build-tracker-mj450cji'