2024-12-31T05:17:57,883 Created temporary directory: /tmp/pip-build-tracker-21bz3sdp 2024-12-31T05:17:57,885 Initialized build tracking at /tmp/pip-build-tracker-21bz3sdp 2024-12-31T05:17:57,885 Created build tracker: /tmp/pip-build-tracker-21bz3sdp 2024-12-31T05:17:57,886 Entered build tracker: /tmp/pip-build-tracker-21bz3sdp 2024-12-31T05:17:57,887 Created temporary directory: /tmp/pip-wheel-0_1sw4oa 2024-12-31T05:17:57,891 Created temporary directory: /tmp/pip-ephem-wheel-cache-j_2hzl7r 2024-12-31T05:17:57,959 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-12-31T05:17:57,961 2 location(s) to search for versions of torch-memory-saver: 2024-12-31T05:17:57,961 * https://pypi.org/simple/torch-memory-saver/ 2024-12-31T05:17:57,961 * https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T05:17:57,962 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2024-12-31T05:17:57,963 Getting page https://pypi.org/simple/torch-memory-saver/ 2024-12-31T05:17:57,965 Found index url https://pypi.org/simple/ 2024-12-31T05:17:58,197 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2024-12-31T05:17:58,199 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 2024-12-31T05:17:58,200 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 2024-12-31T05:17:58,201 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T05:17:58,202 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T05:17:58,204 Found index url https://www.piwheels.org/simple/ 2024-12-31T05:17:59,840 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2024-12-31T05:17:59,844 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2024-12-31T05:17:59,846 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2024-12-31T05:17:59,882 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2024-12-31T05:17:59,888 Collecting torch-memory-saver==0.0.2 2024-12-31T05:17:59,892 Created temporary directory: /tmp/pip-unpack-mrsweykl 2024-12-31T05:18:00,153 Downloading torch_memory_saver-0.0.2.tar.gz (5.2 kB) 2024-12-31T05:18:00,194 Added torch-memory-saver==0.0.2 from https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz to build tracker '/tmp/pip-build-tracker-21bz3sdp' 2024-12-31T05:18:00,198 Running setup.py (path:/tmp/pip-wheel-0_1sw4oa/torch-memory-saver_9d0b4dde239849079dc1260df5b99105/setup.py) egg_info for package torch-memory-saver 2024-12-31T05:18:00,199 Created temporary directory: /tmp/pip-pip-egg-info-96z2q6zj 2024-12-31T05:18:00,200 Preparing metadata (setup.py): started 2024-12-31T05:18:00,202 Running command python setup.py egg_info 2024-12-31T05:18:01,386 running egg_info 2024-12-31T05:18:01,417 creating /tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info 2024-12-31T05:18:01,419 writing /tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info/PKG-INFO 2024-12-31T05:18:01,422 writing dependency_links to /tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info/dependency_links.txt 2024-12-31T05:18:01,425 writing top-level names to /tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info/top_level.txt 2024-12-31T05:18:01,427 writing manifest file '/tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info/SOURCES.txt' 2024-12-31T05:18:01,540 reading manifest file '/tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info/SOURCES.txt' 2024-12-31T05:18:01,542 adding license file 'LICENSE' 2024-12-31T05:18:01,545 writing manifest file '/tmp/pip-pip-egg-info-96z2q6zj/torch_memory_saver.egg-info/SOURCES.txt' 2024-12-31T05:18:01,654 Preparing metadata (setup.py): finished with status 'done' 2024-12-31T05:18:01,658 Source in /tmp/pip-wheel-0_1sw4oa/torch-memory-saver_9d0b4dde239849079dc1260df5b99105 has version 0.0.2, which satisfies requirement torch-memory-saver==0.0.2 from https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz 2024-12-31T05:18:01,658 Removed torch-memory-saver==0.0.2 from https://files.pythonhosted.org/packages/74/f0/bee01ef23957d523c34a5aea1ce35c20e0006758c3f443b4f8a478b5c468/torch_memory_saver-0.0.2.tar.gz from build tracker '/tmp/pip-build-tracker-21bz3sdp' 2024-12-31T05:18:01,663 Created temporary directory: /tmp/pip-unpack-6co5hn87 2024-12-31T05:18:01,664 Created temporary directory: /tmp/pip-unpack-ytevskif 2024-12-31T05:18:01,665 Building wheels for collected packages: torch-memory-saver 2024-12-31T05:18:01,669 Created temporary directory: /tmp/pip-wheel-sdiiqe3g 2024-12-31T05:18:01,669 Building wheel for torch-memory-saver (setup.py): started 2024-12-31T05:18:01,671 Destination directory: /tmp/pip-wheel-sdiiqe3g 2024-12-31T05:18:01,671 Running command python setup.py bdist_wheel 2024-12-31T05:18:02,744 running bdist_wheel 2024-12-31T05:18:02,884 running build 2024-12-31T05:18:02,885 running build_py 2024-12-31T05:18:02,916 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2024-12-31T05:18:02,919 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2024-12-31T05:18:02,924 running build_ext 2024-12-31T05:18:03,398 building 'torch_memory_saver_cpp' extension 2024-12-31T05:18:03,399 creating build/temp.linux-armv7l-cpython-311/csrc 2024-12-31T05:18:03,401 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -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 2024-12-31T05:18:03,515 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2024-12-31T05:18:03,516 2 | #include 2024-12-31T05:18:03,517 | ^~~~~~~~~~~~~~~~~~~~ 2024-12-31T05:18:03,517 compilation terminated. 2024-12-31T05:18:03,519 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2024-12-31T05:18:03,661 ERROR: python setup.py bdist_wheel exited with 1 2024-12-31T05:18:03,676 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2024-12-31T05:18:03,676 exec(compile('"'"''"'"''"'"' 2024-12-31T05:18:03,676 # This is -- a caller that pip uses to run setup.py 2024-12-31T05:18:03,676 # 2024-12-31T05:18:03,676 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-12-31T05:18:03,676 # import from `distutils.core` to work with newer packaging standards. 2024-12-31T05:18:03,676 # - It provides a clear error message when setuptools is not installed. 2024-12-31T05:18:03,676 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-12-31T05:18:03,676 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-12-31T05:18:03,676 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-12-31T05:18:03,676 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-12-31T05:18:03,676 import os, sys, tokenize 2024-12-31T05:18:03,676 2024-12-31T05:18:03,676 try: 2024-12-31T05:18:03,676 import setuptools 2024-12-31T05:18:03,676 except ImportError as error: 2024-12-31T05:18:03,676 print( 2024-12-31T05:18:03,676 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-12-31T05:18:03,676 "the build environment.", 2024-12-31T05:18:03,676 file=sys.stderr, 2024-12-31T05:18:03,676 ) 2024-12-31T05:18:03,676 sys.exit(1) 2024-12-31T05:18:03,676 2024-12-31T05:18:03,676 __file__ = %r 2024-12-31T05:18:03,676 sys.argv[0] = __file__ 2024-12-31T05:18:03,676 2024-12-31T05:18:03,676 if os.path.exists(__file__): 2024-12-31T05:18:03,676 filename = __file__ 2024-12-31T05:18:03,676 with tokenize.open(__file__) as f: 2024-12-31T05:18:03,676 setup_py_code = f.read() 2024-12-31T05:18:03,676 else: 2024-12-31T05:18:03,676 filename = "" 2024-12-31T05:18:03,676 setup_py_code = "from setuptools import setup; setup()" 2024-12-31T05:18:03,676 2024-12-31T05:18:03,676 exec(compile(setup_py_code, filename, "exec")) 2024-12-31T05:18:03,676 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-0_1sw4oa/torch-memory-saver_9d0b4dde239849079dc1260df5b99105/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-sdiiqe3g[/] 2024-12-31T05:18:03,678 [bold magenta]cwd[/]: /tmp/pip-wheel-0_1sw4oa/torch-memory-saver_9d0b4dde239849079dc1260df5b99105/ 2024-12-31T05:18:03,682 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2024-12-31T05:18:03,685 ERROR: Failed building wheel for torch-memory-saver 2024-12-31T05:18:03,687 Running setup.py clean for torch-memory-saver 2024-12-31T05:18:03,690 Running command python setup.py clean 2024-12-31T05:18:05,236 running clean 2024-12-31T05:18:05,299 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2024-12-31T05:18:05,310 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2024-12-31T05:18:05,323 'build/bdist.linux-armv7l' does not exist -- can't clean it 2024-12-31T05:18:05,324 'build/scripts-3.11' does not exist -- can't clean it 2024-12-31T05:18:05,325 removing 'build' 2024-12-31T05:18:05,435 Failed to build torch-memory-saver 2024-12-31T05:18:05,437 ERROR: Failed to build one or more wheels 2024-12-31T05:18:05,439 Exception information: 2024-12-31T05:18:05,439 Traceback (most recent call last): 2024-12-31T05:18:05,439 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2024-12-31T05:18:05,439 status = _inner_run() 2024-12-31T05:18:05,439 ^^^^^^^^^^^^ 2024-12-31T05:18:05,439 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2024-12-31T05:18:05,439 return self.run(options, args) 2024-12-31T05:18:05,439 ^^^^^^^^^^^^^^^^^^^^^^^ 2024-12-31T05:18:05,439 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 67, in wrapper 2024-12-31T05:18:05,439 return func(self, options, args) 2024-12-31T05:18:05,439 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-12-31T05:18:05,439 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2024-12-31T05:18:05,439 raise CommandError("Failed to build one or more wheels") 2024-12-31T05:18:05,439 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2024-12-31T05:18:05,448 Removed build tracker: '/tmp/pip-build-tracker-21bz3sdp'