2025-10-12T04:27:17,390 Created temporary directory: /tmp/pip-ephem-wheel-cache-1k2ijpxy 2025-10-12T04:27:17,395 Created temporary directory: /tmp/pip-req-tracker-9x17lmk5 2025-10-12T04:27:17,395 Initialized build tracking at /tmp/pip-req-tracker-9x17lmk5 2025-10-12T04:27:17,396 Created build tracker: /tmp/pip-req-tracker-9x17lmk5 2025-10-12T04:27:17,396 Entered build tracker: /tmp/pip-req-tracker-9x17lmk5 2025-10-12T04:27:17,397 Created temporary directory: /tmp/pip-wheel-13hl1b1t 2025-10-12T04:27:17,443 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple 2025-10-12T04:27:17,447 2 location(s) to search for versions of torch-memory-saver: 2025-10-12T04:27:17,447 * https://pypi.org/simple/torch-memory-saver/ 2025-10-12T04:27:17,447 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T04:27:17,448 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-10-12T04:27:17,449 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-10-12T04:27:17,452 Found index url https://pypi.org/simple 2025-10-12T04:27:17,461 Starting new HTTPS connection (1): pypi.org:443 2025-10-12T04:27:17,634 https://pypi.org:443 "GET /simple/torch-memory-saver/ HTTP/1.1" 200 1988 2025-10-12T04:27:17,818 Found link https://files.pythonhosted.org/packages/cf/c3/b5ac2c268e2d9afc162670f3b5f273315ee1b62d5d93982744f07c2e7463/torch_memory_saver-0.0.1.tar.gz#sha256=644aa82717d81fa36a63efdcdcd51e19bad56ae7231e472dd2e60dd11337cdf0 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.1 2025-10-12T04:27:17,820 Found link https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz#sha256=2cd7e79dfeb371e5f94c9df5180f83bf7c21406c4fab2e0ebaace38ce74ac7d6 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.2 2025-10-12T04:27:17,822 Found link https://files.pythonhosted.org/packages/59/d8/7ccc88c02ebb2c3a8eb389ce7a4d701f9d53398b3d655d3307dbacac11f6/torch_memory_saver-0.0.3.tar.gz#sha256=89a820138f3f861c1171ff3c440bd7ec88018cd69d557ceada30f6046d0bda57 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.3 2025-10-12T04:27:17,823 Found link https://files.pythonhosted.org/packages/a4/4d/866d0d0edbe0a3004715e8daa3d436caddff1a5164812606e01a0ad3bc07/torch_memory_saver-0.0.4.tar.gz#sha256=52478c512687b820c6e82b065277e825ac9a91c4c574c2b7148e57f3d2680e04 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.4 2025-10-12T04:27:17,825 Found link https://files.pythonhosted.org/packages/1c/6c/3c49e9698c993dde605d32131fca0ca18ad69e7be06d314caff3aca67fe2/torch_memory_saver-0.0.5.tar.gz#sha256=6b0238bb49e47f44ef67f15e5873a6c06c4c0decb07e99a7db5442eca207cdcb (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.5 2025-10-12T04:27:17,825 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#sha256=8a5fb45b5e1f5bea9ce68b1fa184badc5c699d133f4f90af5eeb36d908d7ef4a (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-12T04:27:17,827 Found link https://files.pythonhosted.org/packages/b1/c4/8e05c4a2b625c7831f26ead7710c428bac5e651ea2d1ec35a6a875f0de2c/torch_memory_saver-0.0.6.tar.gz#sha256=df012df2fdda20a45c7f5d95e2488080c15fbcc88e1f98f703eea3c2ba026d4a (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.6 2025-10-12T04:27:17,827 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#sha256=9e1dd82ddfafe2ae757f2e12d82b2ed4f3925dc4184454b1cc9b89432e4317dc (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-12T04:27:17,829 Found link https://files.pythonhosted.org/packages/0a/4e/9ab4faae062750a7dd447ace9eb68ff2e44dd9fd09f79ec1e59990e7811f/torch_memory_saver-0.0.8.tar.gz#sha256=7d318e6e209b27d883e34d5efa4aaf7f31adf9974a71abd76a9508f8b543af01 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.8 2025-10-12T04:27:17,829 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#sha256=718c94902b2cded832b0f313e9268ac7caa7e979636e54c22388a21ac0ed3f57 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-12T04:27:17,831 Found link https://files.pythonhosted.org/packages/fb/e3/f38961fbc5872120fd76e9a893fbb39c90551766110afb3bdc1005a7f17e/torch_memory_saver-0.0.9rc1.tar.gz#sha256=beeee879c15109e742890be7d0d2fb964e70c1ac740903ab37ed7d2b21eb4f22 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9rc1 2025-10-12T04:27:17,832 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#sha256=71d48edcd6fa20030a997bada4d29b1d4e05b054fd94e750596439137d85a5c2 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-12T04:27:17,833 Found link https://files.pythonhosted.org/packages/6b/f9/bb08f7a6c70793246dad07e8c4ac86b8b9ed54630da06115f619974eefd8/torch_memory_saver-0.0.9rc2.tar.gz#sha256=671170cbfcd118b3c8841671f000366f249adfcd5638828dfe3f7eedf8c28f3e (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9rc2 2025-10-12T04:27:17,834 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#sha256=3da6aab8aa6195b161e85d56e52a7ce2f10dff4cea49209d5a5364e4761b7659 (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9) 2025-10-12T04:27:17,835 Found link https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz#sha256=043359bd66722fe0deb08b7e1e6562188eb79c1c728e40eb3371dffb5a63a1eb (from https://pypi.org/simple/torch-memory-saver/) (requires-python:>=3.9), version: 0.0.9rc3 2025-10-12T04:27:17,836 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T04:27:17,836 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-10-12T04:27:17,838 Found index url https://www.piwheels.org/simple 2025-10-12T04:27:17,843 Starting new HTTPS connection (1): www.piwheels.org:443 2025-10-12T04:27:17,966 https://www.piwheels.org:443 "GET /simple/torch-memory-saver/ HTTP/1.1" 200 151 2025-10-12T04:27:18,043 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-10-12T04:27:18,113 Collecting torch-memory-saver==0.0.9rc3 2025-10-12T04:27:18,116 Created temporary directory: /tmp/pip-unpack-0gk6vka9 2025-10-12T04:27:18,124 Starting new HTTPS connection (1): files.pythonhosted.org:443 2025-10-12T04:27:18,199 https://files.pythonhosted.org:443 "GET /packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz HTTP/1.1" 200 14217 2025-10-12T04:27:18,202 Downloading torch_memory_saver-0.0.9rc3.tar.gz (14 kB) 2025-10-12T04:27:18,345 Added torch-memory-saver==0.0.9rc3 from https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz#sha256=043359bd66722fe0deb08b7e1e6562188eb79c1c728e40eb3371dffb5a63a1eb to build tracker '/tmp/pip-req-tracker-9x17lmk5' 2025-10-12T04:27:18,346 Running setup.py (path:/tmp/pip-wheel-13hl1b1t/torch-memory-saver_2714a3ddfc99432a80abdf9209448963/setup.py) egg_info for package torch-memory-saver 2025-10-12T04:27:18,348 Created temporary directory: /tmp/pip-pip-egg-info-xrbaevzx 2025-10-12T04:27:18,348 Running command python setup.py egg_info 2025-10-12T04:27:20,546 Detected platform: cuda 2025-10-12T04:27:20,547 running egg_info 2025-10-12T04:27:20,619 creating /tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info 2025-10-12T04:27:20,620 writing /tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info/PKG-INFO 2025-10-12T04:27:20,626 writing dependency_links to /tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info/dependency_links.txt 2025-10-12T04:27:20,632 writing top-level names to /tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info/top_level.txt 2025-10-12T04:27:20,635 writing manifest file '/tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-12T04:27:20,839 reading manifest file '/tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-12T04:27:20,842 reading manifest template 'MANIFEST.in' 2025-10-12T04:27:20,846 adding license file 'LICENSE' 2025-10-12T04:27:20,855 writing manifest file '/tmp/pip-pip-egg-info-xrbaevzx/torch_memory_saver.egg-info/SOURCES.txt' 2025-10-12T04:27:21,013 Source in /tmp/pip-wheel-13hl1b1t/torch-memory-saver_2714a3ddfc99432a80abdf9209448963 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#sha256=043359bd66722fe0deb08b7e1e6562188eb79c1c728e40eb3371dffb5a63a1eb 2025-10-12T04:27:21,015 Removed torch-memory-saver==0.0.9rc3 from https://files.pythonhosted.org/packages/10/70/c6c255c5549c6bfa0c6b7478ac058cec1302e9234608564674b10e12123f/torch_memory_saver-0.0.9rc3.tar.gz#sha256=043359bd66722fe0deb08b7e1e6562188eb79c1c728e40eb3371dffb5a63a1eb from build tracker '/tmp/pip-req-tracker-9x17lmk5' 2025-10-12T04:27:21,027 Created temporary directory: /tmp/pip-unpack-4evjc1e0 2025-10-12T04:27:21,028 Building wheels for collected packages: torch-memory-saver 2025-10-12T04:27:21,036 Created temporary directory: /tmp/pip-wheel-k13jiq7n 2025-10-12T04:27:21,037 Building wheel for torch-memory-saver (setup.py): started 2025-10-12T04:27:21,037 Destination directory: /tmp/pip-wheel-k13jiq7n 2025-10-12T04:27:21,038 Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-13hl1b1t/torch-memory-saver_2714a3ddfc99432a80abdf9209448963/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-13hl1b1t/torch-memory-saver_2714a3ddfc99432a80abdf9209448963/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-k13jiq7n 2025-10-12T04:27:22,644 Detected platform: cuda 2025-10-12T04:27:23,042 running bdist_wheel 2025-10-12T04:27:23,303 running build 2025-10-12T04:27:23,304 running build_py 2025-10-12T04:27:23,373 creating build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-10-12T04:27:23,377 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-10-12T04:27:23,381 copying torch_memory_saver/testing_utils.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-10-12T04:27:23,385 copying torch_memory_saver/binary_wrapper.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-10-12T04:27:23,389 copying torch_memory_saver/utils.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-10-12T04:27:23,393 copying torch_memory_saver/entrypoint.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver 2025-10-12T04:27:23,399 creating build/lib.linux-armv7l-cpython-39/torch_memory_saver/hooks 2025-10-12T04:27:23,401 copying torch_memory_saver/hooks/__init__.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver/hooks 2025-10-12T04:27:23,405 copying torch_memory_saver/hooks/base.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver/hooks 2025-10-12T04:27:23,409 copying torch_memory_saver/hooks/mode_preload.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver/hooks 2025-10-12T04:27:23,413 copying torch_memory_saver/hooks/mode_torch.py -> build/lib.linux-armv7l-cpython-39/torch_memory_saver/hooks 2025-10-12T04:27:23,423 running build_ext 2025-10-12T04:27:24,539 building 'torch_memory_saver_hook_mode_preload' extension 2025-10-12T04:27:24,542 creating build/temp.linux-armv7l-cpython-39/csrc 2025-10-12T04:27:24,545 arm-linux-gnueabihf-g++ -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-eDAWto/python3.9-3.9.2=. -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.9 -c csrc/api_forwarder.cpp -o build/temp.linux-armv7l-cpython-39/csrc/api_forwarder.o -std=c++17 -O3 2025-10-12T04:27:25,194 In file included from csrc/api_forwarder.h:3, 2025-10-12T04:27:25,194 from csrc/api_forwarder.cpp:2: 2025-10-12T04:27:25,195 csrc/macro.h:46:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-10-12T04:27:25,195 46 | #include 2025-10-12T04:27:25,195 | ^~~~~~~~~~~~~~~~~~~~ 2025-10-12T04:27:25,196 compilation terminated. 2025-10-12T04:27:25,207 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-10-12T04:27:25,449 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-10-12T04:27:25,450 ERROR: Failed building wheel for torch-memory-saver 2025-10-12T04:27:25,452 Running setup.py clean for torch-memory-saver 2025-10-12T04:27:25,452 Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-13hl1b1t/torch-memory-saver_2714a3ddfc99432a80abdf9209448963/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-13hl1b1t/torch-memory-saver_2714a3ddfc99432a80abdf9209448963/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2025-10-12T04:27:27,054 Detected platform: cuda 2025-10-12T04:27:27,511 running clean 2025-10-12T04:27:27,635 removing 'build/temp.linux-armv7l-cpython-39' (and everything under it) 2025-10-12T04:27:27,638 removing 'build/lib.linux-armv7l-cpython-39' (and everything under it) 2025-10-12T04:27:27,647 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-10-12T04:27:27,647 'build/scripts-3.9' does not exist -- can't clean it 2025-10-12T04:27:27,648 removing 'build' 2025-10-12T04:27:27,800 Failed to build torch-memory-saver 2025-10-12T04:27:27,801 ERROR: Failed to build one or more wheels 2025-10-12T04:27:27,803 Exception information: 2025-10-12T04:27:27,803 Traceback (most recent call last): 2025-10-12T04:27:27,803 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 223, in _main 2025-10-12T04:27:27,803 status = self.run(options, args) 2025-10-12T04:27:27,803 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 180, in wrapper 2025-10-12T04:27:27,803 return func(self, options, args) 2025-10-12T04:27:27,803 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 194, in run 2025-10-12T04:27:27,803 raise CommandError( 2025-10-12T04:27:27,803 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-10-12T04:27:27,809 Removed build tracker: '/tmp/pip-req-tracker-9x17lmk5'