2025-06-12T04:57:53,835 Created temporary directory: /tmp/pip-build-tracker-8p6h3awx 2025-06-12T04:57:53,836 Initialized build tracking at /tmp/pip-build-tracker-8p6h3awx 2025-06-12T04:57:53,837 Created build tracker: /tmp/pip-build-tracker-8p6h3awx 2025-06-12T04:57:53,837 Entered build tracker: /tmp/pip-build-tracker-8p6h3awx 2025-06-12T04:57:53,838 Created temporary directory: /tmp/pip-wheel-pxsen63w 2025-06-12T04:57:53,842 Created temporary directory: /tmp/pip-ephem-wheel-cache-vwg8g427 2025-06-12T04:57:53,895 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-06-12T04:57:53,897 2 location(s) to search for versions of torch-memory-saver: 2025-06-12T04:57:53,897 * https://pypi.org/simple/torch-memory-saver/ 2025-06-12T04:57:53,897 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-06-12T04:57:53,898 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-06-12T04:57:53,899 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-06-12T04:57:53,901 Found index url https://pypi.org/simple/ 2025-06-12T04:57:54,127 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-06-12T04:57:54,130 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-06-12T04:57:54,131 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-06-12T04:57:54,131 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-06-12T04:57:54,132 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-06-12T04:57:54,133 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-06-12T04:57:54,134 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-06-12T04:57:54,134 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-06-12T04:57:54,135 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-06-12T04:57:54,136 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-06-12T04:57:54,137 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-06-12T04:57:54,137 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-06-12T04:57:54,139 Found index url https://www.piwheels.org/simple/ 2025-06-12T04:57:54,301 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)'))': /simple/torch-memory-saver/ 2025-06-12T04:57:54,960 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)'))': /simple/torch-memory-saver/ 2025-06-12T04:57:56,119 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)'))': /simple/torch-memory-saver/ 2025-06-12T04:57:58,276 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)'))': /simple/torch-memory-saver/ 2025-06-12T04:58:02,432 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)'))': /simple/torch-memory-saver/ 2025-06-12T04:58:02,599 Could not fetch URL https://www.piwheels.org/simple/torch-memory-saver/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='www.piwheels.org', port=443): Max retries exceeded with url: /simple/torch-memory-saver/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)'))) - skipping 2025-06-12T04:58:02,600 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-06-12T04:58:02,601 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-06-12T04:58:02,620 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-06-12T04:58:02,621 Collecting torch-memory-saver==0.0.8 2025-06-12T04:58:02,624 Created temporary directory: /tmp/pip-unpack-yjibnq2e 2025-06-12T04:58:02,852 Downloading torch_memory_saver-0.0.8.tar.gz (6.4 kB) 2025-06-12T04:58:02,881 Added torch-memory-saver==0.0.8 from https://files.pythonhosted.org/packages/0a/4e/9ab4faae062750a7dd447ace9eb68ff2e44dd9fd09f79ec1e59990e7811f/torch_memory_saver-0.0.8.tar.gz to build tracker '/tmp/pip-build-tracker-8p6h3awx' 2025-06-12T04:58:02,884 Running setup.py (path:/tmp/pip-wheel-pxsen63w/torch-memory-saver_11ac856a28494a858e7ad00924bf386f/setup.py) egg_info for package torch-memory-saver 2025-06-12T04:58:02,885 Created temporary directory: /tmp/pip-pip-egg-info-4dyeakdf 2025-06-12T04:58:02,885 Preparing metadata (setup.py): started 2025-06-12T04:58:02,887 Running command python setup.py egg_info 2025-06-12T04:58:03,798 running egg_info 2025-06-12T04:58:03,829 creating /tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info 2025-06-12T04:58:03,830 writing /tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info/PKG-INFO 2025-06-12T04:58:03,833 writing dependency_links to /tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info/dependency_links.txt 2025-06-12T04:58:03,836 writing top-level names to /tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info/top_level.txt 2025-06-12T04:58:03,837 writing manifest file '/tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info/SOURCES.txt' 2025-06-12T04:58:03,955 reading manifest file '/tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info/SOURCES.txt' 2025-06-12T04:58:03,957 adding license file 'LICENSE' 2025-06-12T04:58:03,959 writing manifest file '/tmp/pip-pip-egg-info-4dyeakdf/torch_memory_saver.egg-info/SOURCES.txt' 2025-06-12T04:58:04,071 Preparing metadata (setup.py): finished with status 'done' 2025-06-12T04:58:04,075 Source in /tmp/pip-wheel-pxsen63w/torch-memory-saver_11ac856a28494a858e7ad00924bf386f has version 0.0.8, which satisfies requirement torch-memory-saver==0.0.8 from https://files.pythonhosted.org/packages/0a/4e/9ab4faae062750a7dd447ace9eb68ff2e44dd9fd09f79ec1e59990e7811f/torch_memory_saver-0.0.8.tar.gz 2025-06-12T04:58:04,076 Removed torch-memory-saver==0.0.8 from https://files.pythonhosted.org/packages/0a/4e/9ab4faae062750a7dd447ace9eb68ff2e44dd9fd09f79ec1e59990e7811f/torch_memory_saver-0.0.8.tar.gz from build tracker '/tmp/pip-build-tracker-8p6h3awx' 2025-06-12T04:58:04,081 Created temporary directory: /tmp/pip-unpack-2_t_2961 2025-06-12T04:58:04,083 Created temporary directory: /tmp/pip-unpack-kk6wwllm 2025-06-12T04:58:04,083 Building wheels for collected packages: torch-memory-saver 2025-06-12T04:58:04,087 Created temporary directory: /tmp/pip-wheel-l79caapq 2025-06-12T04:58:04,088 DEPRECATION: Building 'torch-memory-saver' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'torch-memory-saver'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-06-12T04:58:04,090 Building wheel for torch-memory-saver (setup.py): started 2025-06-12T04:58:04,091 Destination directory: /tmp/pip-wheel-l79caapq 2025-06-12T04:58:04,091 Running command python setup.py bdist_wheel 2025-06-12T04:58:04,939 running bdist_wheel 2025-06-12T04:58:05,078 running build 2025-06-12T04:58:05,079 running build_py 2025-06-12T04:58:05,110 creating build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-06-12T04:58:05,112 copying torch_memory_saver/__init__.py -> build/lib.linux-armv7l-cpython-311/torch_memory_saver 2025-06-12T04:58:05,116 running build_ext 2025-06-12T04:58:05,664 building 'torch_memory_saver_cpp' extension 2025-06-12T04:58:05,665 creating build/temp.linux-armv7l-cpython-311/csrc 2025-06-12T04:58:05,666 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 -I/usr/local/cuda/include -I/usr/include/python3.11 -c csrc/torch_memory_saver.cpp -o build/temp.linux-armv7l-cpython-311/csrc/torch_memory_saver.o 2025-06-12T04:58:05,742 csrc/torch_memory_saver.cpp:2:10: fatal error: cuda_runtime_api.h: No such file or directory 2025-06-12T04:58:05,742 2 | #include 2025-06-12T04:58:05,743 | ^~~~~~~~~~~~~~~~~~~~ 2025-06-12T04:58:05,743 compilation terminated. 2025-06-12T04:58:05,747 error: command '/usr/bin/arm-linux-gnueabihf-g++' failed with exit code 1 2025-06-12T04:58:05,884 ERROR: python setup.py bdist_wheel exited with 1 2025-06-12T04:58:05,898 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-06-12T04:58:05,898 exec(compile('"'"''"'"''"'"' 2025-06-12T04:58:05,898 # This is -- a caller that pip uses to run setup.py 2025-06-12T04:58:05,898 # 2025-06-12T04:58:05,898 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-06-12T04:58:05,898 # import from `distutils.core` to work with newer packaging standards. 2025-06-12T04:58:05,898 # - It provides a clear error message when setuptools is not installed. 2025-06-12T04:58:05,898 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-06-12T04:58:05,898 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-06-12T04:58:05,898 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-06-12T04:58:05,898 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-06-12T04:58:05,898 import os, sys, tokenize, traceback 2025-06-12T04:58:05,898 2025-06-12T04:58:05,898 try: 2025-06-12T04:58:05,898 import setuptools 2025-06-12T04:58:05,898 except ImportError: 2025-06-12T04:58:05,898 print( 2025-06-12T04:58:05,898 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-06-12T04:58:05,898 "the build environment with exception:", 2025-06-12T04:58:05,898 file=sys.stderr, 2025-06-12T04:58:05,898 ) 2025-06-12T04:58:05,898 traceback.print_exc() 2025-06-12T04:58:05,898 sys.exit(1) 2025-06-12T04:58:05,898 2025-06-12T04:58:05,898 __file__ = %r 2025-06-12T04:58:05,898 sys.argv[0] = __file__ 2025-06-12T04:58:05,898 2025-06-12T04:58:05,898 if os.path.exists(__file__): 2025-06-12T04:58:05,898 filename = __file__ 2025-06-12T04:58:05,898 with tokenize.open(__file__) as f: 2025-06-12T04:58:05,898 setup_py_code = f.read() 2025-06-12T04:58:05,898 else: 2025-06-12T04:58:05,898 filename = "" 2025-06-12T04:58:05,898 setup_py_code = "from setuptools import setup; setup()" 2025-06-12T04:58:05,898 2025-06-12T04:58:05,898 exec(compile(setup_py_code, filename, "exec")) 2025-06-12T04:58:05,898 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-pxsen63w/torch-memory-saver_11ac856a28494a858e7ad00924bf386f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-l79caapq[/] 2025-06-12T04:58:05,898 [bold magenta]cwd[/]: /tmp/pip-wheel-pxsen63w/torch-memory-saver_11ac856a28494a858e7ad00924bf386f/ 2025-06-12T04:58:05,899 Building wheel for torch-memory-saver (setup.py): finished with status 'error' 2025-06-12T04:58:05,900 ERROR: Failed building wheel for torch-memory-saver 2025-06-12T04:58:05,902 Running setup.py clean for torch-memory-saver 2025-06-12T04:58:05,903 Running command python setup.py clean 2025-06-12T04:58:06,772 running clean 2025-06-12T04:58:06,827 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2025-06-12T04:58:06,828 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2025-06-12T04:58:06,830 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-06-12T04:58:06,831 'build/scripts-3.11' does not exist -- can't clean it 2025-06-12T04:58:06,832 removing 'build' 2025-06-12T04:58:06,942 Failed to build torch-memory-saver 2025-06-12T04:58:06,943 ERROR: Failed to build one or more wheels 2025-06-12T04:58:06,944 Exception information: 2025-06-12T04:58:06,944 Traceback (most recent call last): 2025-06-12T04:58:06,944 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper 2025-06-12T04:58:06,944 status = _inner_run() 2025-06-12T04:58:06,944 ^^^^^^^^^^^^ 2025-06-12T04:58:06,944 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run 2025-06-12T04:58:06,944 return self.run(options, args) 2025-06-12T04:58:06,944 ^^^^^^^^^^^^^^^^^^^^^^^ 2025-06-12T04:58:06,944 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 71, in wrapper 2025-06-12T04:58:06,944 return func(self, options, args) 2025-06-12T04:58:06,944 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-06-12T04:58:06,944 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 179, in run 2025-06-12T04:58:06,944 raise CommandError("Failed to build one or more wheels") 2025-06-12T04:58:06,944 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-06-12T04:58:06,948 Removed build tracker: '/tmp/pip-build-tracker-8p6h3awx'