2025-10-18T03:04:02,524 Created temporary directory: /tmp/pip-ephem-wheel-cache-8hpdgovk 2025-10-18T03:04:02,526 Created temporary directory: /tmp/pip-build-tracker-0eetp0_w 2025-10-18T03:04:02,527 Initialized build tracking at /tmp/pip-build-tracker-0eetp0_w 2025-10-18T03:04:02,527 Created build tracker: /tmp/pip-build-tracker-0eetp0_w 2025-10-18T03:04:02,528 Entered build tracker: /tmp/pip-build-tracker-0eetp0_w 2025-10-18T03:04:02,529 Created temporary directory: /tmp/pip-wheel-7wkuuici 2025-10-18T03:04:02,532 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-18T03:04:02,534 Created temporary directory: /tmp/pip-ephem-wheel-cache-6abggqli 2025-10-18T03:04:02,556 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-10-18T03:04:02,559 2 location(s) to search for versions of torch-memory-saver: 2025-10-18T03:04:02,559 * https://pypi.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,559 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,560 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,561 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,562 Found index url https://pypi.org/simple 2025-10-18T03:04:02,771 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-10-18T03:04:02,775 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-18T03:04:02,777 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-18T03:04:02,778 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-18T03:04:02,779 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-18T03:04:02,780 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-18T03:04:02,781 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-18T03:04:02,782 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-18T03:04:02,783 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-18T03:04:02,783 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-18T03:04:02,784 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-18T03:04:02,785 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-18T03:04:02,786 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-18T03:04:02,787 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-18T03:04:02,787 Skipping link: No binaries permitted for torch-memory-saver: https://files.pythonhosted.org/packages/47/2c/ce78a9534cd48defa757e22b731ae872de4cbfc0c0e29cbba6757e5214af/torch_memory_saver-0.0.9rc3-cp39-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-18T03:04:02,788 Found link https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9rc3 2025-10-18T03:04:02,789 Skipping link: No binaries permitted for torch-memory-saver: https://files.pythonhosted.org/packages/3a/35/b22df9e730d8444d62445a594421992781c7fad271325d41656d8a32d103/torch_memory_saver-0.0.9-cp39-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-18T03:04:02,790 Found link https://files.pythonhosted.org/packages/28/6c/21dfda5d31afb71f52cedff52370acbb8290485b3f0fee6816a15a3d08f1/torch_memory_saver-0.0.9.tar.gz (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9 2025-10-18T03:04:02,791 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,792 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,793 Found index url https://www.piwheels.org/simple 2025-10-18T03:04:02,950 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-10-18T03:04:02,951 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,952 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-10-18T03:04:02,972 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-10-18T03:04:02,990 Collecting torch-memory-saver==0.0.9 2025-10-18T03:04:02,992 Created temporary directory: /tmp/pip-unpack-npg2ugii 2025-10-18T03:04:03,201 Downloading torch_memory_saver-0.0.9.tar.gz (14 kB) 2025-10-18T03:04:03,261 Added torch-memory-saver==0.0.9 from https://files.pythonhosted.org/packages/28/6c/21dfda5d31afb71f52cedff52370acbb8290485b3f0fee6816a15a3d08f1/torch_memory_saver-0.0.9.tar.gz to build tracker '/tmp/pip-build-tracker-0eetp0_w' 2025-10-18T03:04:03,263 Running setup.py (path:/tmp/pip-wheel-7wkuuici/torch-memory-saver_a550cbc30480483fb3c1638d0f3fd5f5/setup.py) egg_info for package torch-memory-saver 2025-10-18T03:04:03,264 Created temporary directory: /tmp/pip-pip-egg-info-tdmoezfp 2025-10-18T03:04:03,265 Preparing metadata (setup.py): started 2025-10-18T03:04:03,266 Running command python setup.py egg_info 2025-10-18T03:04:04,113 Detected platform: cuda 2025-10-18T03:04:04,113 running egg_info 2025-10-18T03:04:04,142 creating /tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info 2025-10-18T03:04:04,143 writing /tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info/PKG-INFO 2025-10-18T03:04:04,146 writing dependency_links to /tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info/dependency_links.txt 2025-10-18T03:04:04,148 writing top-level names to /tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info/top_level.txt 2025-10-18T03:04:04,149 writing manifest file '/tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-18T03:04:04,238 reading manifest file '/tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-18T03:04:04,239 reading manifest template 'MANIFEST.in' 2025-10-18T03:04:04,241 adding license file 'LICENSE' 2025-10-18T03:04:04,244 writing manifest file '/tmp/pip-pip-egg-info-tdmoezfp/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-18T03:04:04,349 Preparing metadata (setup.py): finished with status 'done' 2025-10-18T03:04:04,352 Source in /tmp/pip-wheel-7wkuuici/torch-memory-saver_a550cbc30480483fb3c1638d0f3fd5f5 has version 0.0.9, which satisfies requirement torch-memory-saver==0.0.9 from https://files.pythonhosted.org/packages/28/6c/21dfda5d31afb71f52cedff52370acbb8290485b3f0fee6816a15a3d08f1/torch_memory_saver-0.0.9.tar.gz 2025-10-18T03:04:04,353 Removed torch-memory-saver==0.0.9 from https://files.pythonhosted.org/packages/28/6c/21dfda5d31afb71f52cedff52370acbb8290485b3f0fee6816a15a3d08f1/torch_memory_saver-0.0.9.tar.gz from build tracker '/tmp/pip-build-tracker-0eetp0_w' 2025-10-18T03:04:04,358 Created temporary directory: /tmp/pip-unpack-ak5l72i2 2025-10-18T03:04:04,359 Building wheels for collected packages: torch-memory-saver 2025-10-18T03:04:04,363 Created temporary directory: /tmp/pip-wheel-8nyvyn8a 2025-10-18T03:04:04,364 Building wheel for torch-memory-saver (setup.py): started 2025-10-18T03:04:04,365 Destination directory: /tmp/pip-wheel-8nyvyn8a 2025-10-18T03:04:04,366 Running command python setup.py bdist_wheel 2025-10-18T03:04:05,010 Detected platform: cuda 2025-10-18T03:04:05,186 running bdist_wheel 2025-10-18T03:04:05,293 running build 2025-10-18T03:04:05,293 running build_py 2025-10-18T03:04:05,323 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-18T03:04:05,326 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-18T03:04:05,328 copying torch_memory_saver/entrypoint.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-18T03:04:05,330 copying torch_memory_saver/testing_utils.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-18T03:04:05,332 copying torch_memory_saver/utils.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-18T03:04:05,334 copying torch_memory_saver/binary_wrapper.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-18T03:04:05,336 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-18T03:04:05,337 copying torch_memory_saver/hooks/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-18T03:04:05,339 copying torch_memory_saver/hooks/mode_torch.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-18T03:04:05,341 copying torch_memory_saver/hooks/base.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-18T03:04:05,343 copying torch_memory_saver/hooks/mode_preload.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-18T03:04:05,347 running build_ext 2025-10-18T03:04:05,784 building 'torch_memory_saver_hook_mode_preload' extension 2025-10-18T03:04:05,786 creating build/temp.linux-armv7l-cpython-311/csrc 2025-10-18T03:04:05,788 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-18T03:04:06,003 In file included from csrc/api_forwarder.h:3, 2025-10-18T03:04:06,004 from csrc/api_forwarder.cpp:2: 2025-10-18T03:04:06,005 csrc/macro.h:46:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-10-18T03:04:06,006 46 | #include 2025-10-18T03:04:06,007 | ^~~~~~~~~~~~~~~~~~~~ 2025-10-18T03:04:06,008 compilation terminated. 2025-10-18T03:04:06,009 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-10-18T03:04:06,156 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2025-10-18T03:04:06,170 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-10-18T03:04:06,170 exec(compile('"'"''"'"''"'"' 2025-10-18T03:04:06,170 # This is -- a caller that pip uses to run setup.py 2025-10-18T03:04:06,170 # 2025-10-18T03:04:06,170 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-10-18T03:04:06,170 # import from `distutils.core` to work with newer packaging standards. 2025-10-18T03:04:06,170 # - It provides a clear error message when setuptools is not installed. 2025-10-18T03:04:06,170 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-10-18T03:04:06,170 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-10-18T03:04:06,170 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-10-18T03:04:06,170 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-10-18T03:04:06,170 import os, sys, tokenize 2025-10-18T03:04:06,170 2025-10-18T03:04:06,170 try: 2025-10-18T03:04:06,170 import setuptools 2025-10-18T03:04:06,170 except ImportError as error: 2025-10-18T03:04:06,170 print( 2025-10-18T03:04:06,170 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-10-18T03:04:06,170 "the build environment.", 2025-10-18T03:04:06,170 file=sys.stderr, 2025-10-18T03:04:06,170 ) 2025-10-18T03:04:06,170 sys.exit(1) 2025-10-18T03:04:06,170 2025-10-18T03:04:06,170 __file__ = %r 2025-10-18T03:04:06,170 sys.argv[0] = __file__ 2025-10-18T03:04:06,170 2025-10-18T03:04:06,170 if os.path.exists(__file__): 2025-10-18T03:04:06,170 filename = __file__ 2025-10-18T03:04:06,170 with tokenize.open(__file__) as f: 2025-10-18T03:04:06,170 setup_py_code = f.read() 2025-10-18T03:04:06,170 else: 2025-10-18T03:04:06,170 filename = "" 2025-10-18T03:04:06,170 setup_py_code = "from setuptools import setup; setup()" 2025-10-18T03:04:06,170 2025-10-18T03:04:06,170 exec(compile(setup_py_code, filename, "exec")) 2025-10-18T03:04:06,170 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-7wkuuici/torch-memory-saver_a550cbc30480483fb3c1638d0f3fd5f5/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-8nyvyn8a[/] 2025-10-18T03:04:06,170 [bold magenta]cwd[/]: /tmp/pip-wheel-7wkuuici/torch-memory-saver_a550cbc30480483fb3c1638d0f3fd5f5/ 2025-10-18T03:04:06,171 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-10-18T03:04:06,172 ERROR: Failed building wheel for torch-memory-saver 2025-10-18T03:04:06,173 Running setup.py clean for torch-memory-saver 2025-10-18T03:04:06,174 Running command python setup.py clean 2025-10-18T03:04:06,813 Detected platform: cuda 2025-10-18T03:04:07,011 running clean 2025-10-18T03:04:07,062 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-10-18T03:04:07,064 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-10-18T03:04:07,069 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-10-18T03:04:07,070 'build/scripts-3.11' does not exist -- can't clean it 2025-10-18T03:04:07,071 removing 'build' 2025-10-18T03:04:07,175 Failed to build torch-memory-saver 2025-10-18T03:04:07,176 ERROR: Failed to build one or more wheels 2025-10-18T03:04:07,178 Exception information: 2025-10-18T03:04:07,178 Traceback (most recent call last): 2025-10-18T03:04:07,178 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2025-10-18T03:04:07,178 status = run_func(*args) 2025-10-18T03:04:07,178 ^^^^^^^^^^^^^^^ 2025-10-18T03:04:07,178 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2025-10-18T03:04:07,178 return func(self, options, args) 2025-10-18T03:04:07,178 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-10-18T03:04:07,178 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2025-10-18T03:04:07,178 raise CommandError("Failed to build one or more wheels") 2025-10-18T03:04:07,178 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-10-18T03:04:07,181 Removed build tracker: '/tmp/pip-build-tracker-0eetp0_w'