2025-10-12T02:14:58,414 Created temporary directory: /tmp/pip-ephem-wheel-cache-muxfmhlk 2025-10-12T02:14:58,416 Created temporary directory: /tmp/pip-build-tracker-cny64p0a 2025-10-12T02:14:58,417 Initialized build tracking at /tmp/pip-build-tracker-cny64p0a 2025-10-12T02:14:58,417 Created build tracker: /tmp/pip-build-tracker-cny64p0a 2025-10-12T02:14:58,418 Entered build tracker: /tmp/pip-build-tracker-cny64p0a 2025-10-12T02:14:58,419 Created temporary directory: /tmp/pip-wheel-e1g1feez 2025-10-12T02:14:58,422 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-12T02:14:58,424 Created temporary directory: /tmp/pip-ephem-wheel-cache-2kt1lbyf 2025-10-12T02:14:58,445 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-10-12T02:14:58,449 2 location(s) to search for versions of torch-memory-saver: 2025-10-12T02:14:58,449 * https://pypi.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,449 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,450 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,450 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,452 Found index url https://pypi.org/simple 2025-10-12T02:14:58,665 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-10-12T02:14:58,669 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-12T02:14:58,671 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-12T02:14:58,672 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-12T02:14:58,673 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-12T02:14:58,674 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-12T02:14:58,675 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-12T02:14:58,676 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-12T02:14:58,676 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-12T02:14:58,677 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-12T02:14:58,678 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-12T02:14:58,679 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-12T02:14:58,680 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-12T02:14:58,681 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-12T02:14:58,681 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-12T02:14:58,682 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-12T02:14:58,683 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,684 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,685 Found index url https://www.piwheels.org/simple 2025-10-12T02:14:58,842 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-10-12T02:14:58,843 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,844 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-10-12T02:14:58,864 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-10-12T02:14:58,882 Collecting torch-memory-saver==0.0.9rc3 2025-10-12T02:14:58,884 Created temporary directory: /tmp/pip-unpack-9abqjmcl 2025-10-12T02:14:59,093 Downloading torch_memory_saver-0.0.9rc3.tar.gz (14 kB) 2025-10-12T02:14:59,155 Added torch-memory-saver==0.0.9rc3 from https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz to build tracker '/tmp/pip-build-tracker-cny64p0a' 2025-10-12T02:14:59,156 Running setup.py (path:/tmp/pip-wheel-e1g1feez/torch-memory-saver_9c0699378a2f45f897d77c479394f620/setup.py) egg_info for package torch-memory-saver 2025-10-12T02:14:59,157 Created temporary directory: /tmp/pip-pip-egg-info-l3nsv3iy 2025-10-12T02:14:59,158 Preparing metadata (setup.py): started 2025-10-12T02:14:59,159 Running command python setup.py egg_info 2025-10-12T02:15:00,023 Detected platform: cuda 2025-10-12T02:15:00,023 running egg_info 2025-10-12T02:15:00,052 creating /tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info 2025-10-12T02:15:00,053 writing /tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info/PKG-INFO 2025-10-12T02:15:00,057 writing dependency_links to /tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info/dependency_links.txt 2025-10-12T02:15:00,059 writing top-level names to /tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info/top_level.txt 2025-10-12T02:15:00,060 writing manifest file '/tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-12T02:15:00,149 reading manifest file '/tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-12T02:15:00,150 reading manifest template 'MANIFEST.in' 2025-10-12T02:15:00,152 adding license file 'LICENSE' 2025-10-12T02:15:00,155 writing manifest file '/tmp/pip-pip-egg-info-l3nsv3iy/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-12T02:15:00,258 Preparing metadata (setup.py): finished with status 'done' 2025-10-12T02:15:00,262 Source in /tmp/pip-wheel-e1g1feez/torch-memory-saver_9c0699378a2f45f897d77c479394f620 has version 0.0.9rc3, which satisfies requirement torch-memory-saver==0.0.9rc3 from https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz 2025-10-12T02:15:00,263 Removed torch-memory-saver==0.0.9rc3 from https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz from build tracker '/tmp/pip-build-tracker-cny64p0a' 2025-10-12T02:15:00,267 Created temporary directory: /tmp/pip-unpack-pt2_pr02 2025-10-12T02:15:00,268 Building wheels for collected packages: torch-memory-saver 2025-10-12T02:15:00,272 Created temporary directory: /tmp/pip-wheel-5jodms0y 2025-10-12T02:15:00,273 Building wheel for torch-memory-saver (setup.py): started 2025-10-12T02:15:00,274 Destination directory: /tmp/pip-wheel-5jodms0y 2025-10-12T02:15:00,274 Running command python setup.py bdist_wheel 2025-10-12T02:15:00,913 Detected platform: cuda 2025-10-12T02:15:01,086 running bdist_wheel 2025-10-12T02:15:01,193 running build 2025-10-12T02:15:01,194 running build_py 2025-10-12T02:15:01,223 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-12T02:15:01,225 copying torch_memory_saver/entrypoint.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-12T02:15:01,228 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-12T02:15:01,229 copying torch_memory_saver/binary_wrapper.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-12T02:15:01,231 copying torch_memory_saver/testing_utils.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-12T02:15:01,233 copying torch_memory_saver/utils.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-10-12T02:15:01,236 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-12T02:15:01,237 copying torch_memory_saver/hooks/mode_torch.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-12T02:15:01,239 copying torch_memory_saver/hooks/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-12T02:15:01,240 copying torch_memory_saver/hooks/mode_preload.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-12T02:15:01,242 copying torch_memory_saver/hooks/base.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver/hooks 2025-10-12T02:15:01,245 running build_ext 2025-10-12T02:15:01,660 building 'torch_memory_saver_hook_mode_preload' extension 2025-10-12T02:15:01,661 creating build/temp.linux-armv7l-cpython-311/csrc 2025-10-12T02:15:01,663 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-12T02:15:01,995 In file included from csrc/api_forwarder.h:3, 2025-10-12T02:15:01,996 from csrc/api_forwarder.cpp:2: 2025-10-12T02:15:01,997 csrc/macro.h:46:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-10-12T02:15:01,997 46 | #include 2025-10-12T02:15:01,998 | ^~~~~~~~~~~~~~~~~~~~ 2025-10-12T02:15:01,999 compilation terminated. 2025-10-12T02:15:02,000 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-10-12T02:15:02,143 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2025-10-12T02:15:02,156 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-10-12T02:15:02,156 exec(compile('"'"''"'"''"'"' 2025-10-12T02:15:02,156 # This is -- a caller that pip uses to run setup.py 2025-10-12T02:15:02,156 # 2025-10-12T02:15:02,156 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-10-12T02:15:02,156 # import from `distutils.core` to work with newer packaging standards. 2025-10-12T02:15:02,156 # - It provides a clear error message when setuptools is not installed. 2025-10-12T02:15:02,156 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-10-12T02:15:02,156 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-10-12T02:15:02,156 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-10-12T02:15:02,156 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-10-12T02:15:02,156 import os, sys, tokenize 2025-10-12T02:15:02,156 2025-10-12T02:15:02,156 try: 2025-10-12T02:15:02,156 import setuptools 2025-10-12T02:15:02,156 except ImportError as error: 2025-10-12T02:15:02,156 print( 2025-10-12T02:15:02,156 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2025-10-12T02:15:02,156 "the build environment.", 2025-10-12T02:15:02,156 file=sys.stderr, 2025-10-12T02:15:02,156 ) 2025-10-12T02:15:02,156 sys.exit(1) 2025-10-12T02:15:02,156 2025-10-12T02:15:02,156 __file__ = %r 2025-10-12T02:15:02,156 sys.argv[0] = __file__ 2025-10-12T02:15:02,156 2025-10-12T02:15:02,156 if os.path.exists(__file__): 2025-10-12T02:15:02,156 filename = __file__ 2025-10-12T02:15:02,156 with tokenize.open(__file__) as f: 2025-10-12T02:15:02,156 setup_py_code = f.read() 2025-10-12T02:15:02,156 else: 2025-10-12T02:15:02,156 filename = "" 2025-10-12T02:15:02,156 setup_py_code = "from setuptools import setup; setup()" 2025-10-12T02:15:02,156 2025-10-12T02:15:02,156 exec(compile(setup_py_code, filename, "exec")) 2025-10-12T02:15:02,156 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-e1g1feez/torch-memory-saver_9c0699378a2f45f897d77c479394f620/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-5jodms0y[/] 2025-10-12T02:15:02,156 [bold magenta]cwd[/]: /tmp/pip-wheel-e1g1feez/torch-memory-saver_9c0699378a2f45f897d77c479394f620/ 2025-10-12T02:15:02,157 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-10-12T02:15:02,158 ERROR: Failed building wheel for torch-memory-saver 2025-10-12T02:15:02,159 Running setup.py clean for torch-memory-saver 2025-10-12T02:15:02,160 Running command python setup.py clean 2025-10-12T02:15:02,833 Detected platform: cuda 2025-10-12T02:15:03,037 running clean 2025-10-12T02:15:03,089 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-10-12T02:15:03,090 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-10-12T02:15:03,094 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-10-12T02:15:03,094 'build/scripts-3.11' does not exist -- can't clean it 2025-10-12T02:15:03,095 removing 'build' 2025-10-12T02:15:03,198 Failed to build torch-memory-saver 2025-10-12T02:15:03,199 ERROR: Failed to build one or more wheels 2025-10-12T02:15:03,200 Exception information: 2025-10-12T02:15:03,200 Traceback (most recent call last): 2025-10-12T02:15:03,200 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2025-10-12T02:15:03,200 status = run_func(*args) 2025-10-12T02:15:03,200 ^^^^^^^^^^^^^^^ 2025-10-12T02:15:03,200 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2025-10-12T02:15:03,200 return func(self, options, args) 2025-10-12T02:15:03,200 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-10-12T02:15:03,200 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2025-10-12T02:15:03,200 raise CommandError("Failed to build one or more wheels") 2025-10-12T02:15:03,200 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-10-12T02:15:03,204 Removed build tracker: '/tmp/pip-build-tracker-cny64p0a'