2025-09-15T02:38:33,695 Created temporary directory: /tmp/pip-build-tracker-iqzs61ik 2025-09-15T02:38:33,696 Initialized build tracking at /tmp/pip-build-tracker-iqzs61ik 2025-09-15T02:38:33,696 Created build tracker: /tmp/pip-build-tracker-iqzs61ik 2025-09-15T02:38:33,696 Entered build tracker: /tmp/pip-build-tracker-iqzs61ik 2025-09-15T02:38:33,696 Created temporary directory: /tmp/pip-wheel-ulf54qs5 2025-09-15T02:38:33,699 Created temporary directory: /tmp/pip-ephem-wheel-cache-mcjah3kr 2025-09-15T02:38:33,759 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-15T02:38:33,761 2 location(s) to search for versions of torch-memory-saver: 2025-09-15T02:38:33,761 * https://pypi.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,761 * https://www.piwheels.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,762 Fetching project page and analyzing links: https://pypi.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,762 Getting page https://pypi.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,763 Found index url https://pypi.org/simple/ 2025-09-15T02:38:33,832 Fetched page https://pypi.org/simple/torch-memory-saver/ as application/vnd.pypi.simple.v1+json 2025-09-15T02:38:33,834 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-09-15T02:38:33,835 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-09-15T02:38:33,835 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-09-15T02:38:33,835 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-09-15T02:38:33,835 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-09-15T02:38:33,836 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-09-15T02:38:33,836 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-09-15T02:38:33,836 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-09-15T02:38:33,836 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-09-15T02:38:33,837 Fetching project page and analyzing links: https://www.piwheels.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,837 Getting page https://www.piwheels.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,838 Found index url https://www.piwheels.org/simple/ 2025-09-15T02:38:33,930 Fetched page https://www.piwheels.org/simple/torch-memory-saver/ as text/html 2025-09-15T02:38:33,931 Skipping link: not a file: https://www.piwheels.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,931 Skipping link: not a file: https://pypi.org/simple/torch-memory-saver/ 2025-09-15T02:38:33,953 Given no hashes to check 1 links for project 'torch-memory-saver': discarding no candidates 2025-09-15T02:38:33,954 Collecting torch-memory-saver==0.0.1 2025-09-15T02:38:33,956 Created temporary directory: /tmp/pip-unpack-ae2qg7y3 2025-09-15T02:38:34,094 Downloading torch_memory_saver-0.0.1.tar.gz (4.9 kB) 2025-09-15T02:38:34,114 Added torch-memory-saver==0.0.1 from https://files.pythonhosted.org/packages/cf/c3/b5ac2c268e2d9afc162670f3b5f273315ee1b62d5d93982744f07c2e7463/torch_memory_saver-0.0.1.tar.gz to build tracker '/tmp/pip-build-tracker-iqzs61ik' 2025-09-15T02:38:34,116 Running setup.py (path:/tmp/pip-wheel-ulf54qs5/torch-memory-saver_19dae053f5b340d286cac8089a75883f/setup.py) egg_info for package torch-memory-saver 2025-09-15T02:38:34,117 Created temporary directory: /tmp/pip-pip-egg-info-1yc99enb 2025-09-15T02:38:34,117 Preparing metadata (setup.py): started 2025-09-15T02:38:34,118 Running command python setup.py egg_info 2025-09-15T02:38:34,643 Traceback (most recent call last): 2025-09-15T02:38:34,645 File "", line 2, in 2025-09-15T02:38:34,645 exec(compile(''' 2025-09-15T02:38:34,645 ~~~~^^^^^^^^^^^^ 2025-09-15T02:38:34,645 # This is -- a caller that pip uses to run setup.py 2025-09-15T02:38:34,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,645 ...<32 lines>... 2025-09-15T02:38:34,645 exec(compile(setup_py_code, filename, "exec")) 2025-09-15T02:38:34,645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,646 ''' % ('/tmp/pip-wheel-ulf54qs5/torch-memory-saver_19dae053f5b340d286cac8089a75883f/setup.py',), "", "exec")) 2025-09-15T02:38:34,646 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,646 File "", line 35, in 2025-09-15T02:38:34,646 File "/tmp/pip-wheel-ulf54qs5/torch-memory-saver_19dae053f5b340d286cac8089a75883f/setup.py", line 2, in 2025-09-15T02:38:34,646 from torch.utils import cpp_extension 2025-09-15T02:38:34,646 ModuleNotFoundError: No module named 'torch' 2025-09-15T02:38:34,729 ERROR: python setup.py egg_info exited with 1 2025-09-15T02:38:34,741 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-15T02:38:34,741 exec(compile('"'"''"'"''"'"' 2025-09-15T02:38:34,741 # This is -- a caller that pip uses to run setup.py 2025-09-15T02:38:34,741 # 2025-09-15T02:38:34,741 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-15T02:38:34,741 # import from `distutils.core` to work with newer packaging standards. 2025-09-15T02:38:34,741 # - It provides a clear error message when setuptools is not installed. 2025-09-15T02:38:34,741 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-15T02:38:34,741 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-15T02:38:34,741 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-15T02:38:34,741 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-15T02:38:34,741 import os, sys, tokenize, traceback 2025-09-15T02:38:34,741 2025-09-15T02:38:34,741 try: 2025-09-15T02:38:34,741 import setuptools 2025-09-15T02:38:34,741 except ImportError: 2025-09-15T02:38:34,741 print( 2025-09-15T02:38:34,741 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-15T02:38:34,741 "the build environment with exception:", 2025-09-15T02:38:34,741 file=sys.stderr, 2025-09-15T02:38:34,741 ) 2025-09-15T02:38:34,741 traceback.print_exc() 2025-09-15T02:38:34,741 sys.exit(1) 2025-09-15T02:38:34,741 2025-09-15T02:38:34,741 __file__ = %r 2025-09-15T02:38:34,741 sys.argv[0] = __file__ 2025-09-15T02:38:34,741 2025-09-15T02:38:34,741 if os.path.exists(__file__): 2025-09-15T02:38:34,741 filename = __file__ 2025-09-15T02:38:34,741 with tokenize.open(__file__) as f: 2025-09-15T02:38:34,741 setup_py_code = f.read() 2025-09-15T02:38:34,741 else: 2025-09-15T02:38:34,741 filename = "" 2025-09-15T02:38:34,741 setup_py_code = "from setuptools import setup; setup()" 2025-09-15T02:38:34,741 2025-09-15T02:38:34,741 exec(compile(setup_py_code, filename, "exec")) 2025-09-15T02:38:34,741 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ulf54qs5/torch-memory-saver_19dae053f5b340d286cac8089a75883f/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-1yc99enb[/] 2025-09-15T02:38:34,741 [bold magenta]cwd[/]: /tmp/pip-wheel-ulf54qs5/torch-memory-saver_19dae053f5b340d286cac8089a75883f/ 2025-09-15T02:38:34,742 Preparing metadata (setup.py): finished with status 'error' 2025-09-15T02:38:34,742 ERROR: metadata generation failed 2025-09-15T02:38:34,747 Exception information: 2025-09-15T02:38:34,747 Traceback (most recent call last): 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-15T02:38:34,747 call_subprocess( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 args, 2025-09-15T02:38:34,747 ^^^^^ 2025-09-15T02:38:34,747 ...<2 lines>... 2025-09-15T02:38:34,747 spinner=spinner, 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-15T02:38:34,747 raise error 2025-09-15T02:38:34,747 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-15T02:38:34,747 2025-09-15T02:38:34,747 The above exception was the direct cause of the following exception: 2025-09-15T02:38:34,747 2025-09-15T02:38:34,747 Traceback (most recent call last): 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-15T02:38:34,747 status = _inner_run() 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-15T02:38:34,747 return self.run(options, args) 2025-09-15T02:38:34,747 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-15T02:38:34,747 return func(self, options, args) 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-15T02:38:34,747 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-15T02:38:34,747 result = self._result = resolver.resolve( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-15T02:38:34,747 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-15T02:38:34,747 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-15T02:38:34,747 if not criterion.candidates: 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-15T02:38:34,747 return bool(self._sequence) 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-15T02:38:34,747 self._bool = any(self) 2025-09-15T02:38:34,747 ~~~^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-15T02:38:34,747 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-15T02:38:34,747 ^^^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-15T02:38:34,747 candidate = func() 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-15T02:38:34,747 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 link, template, name, version 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-15T02:38:34,747 self._link_candidate_cache[link] = LinkCandidate( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 link, 2025-09-15T02:38:34,747 ^^^^^ 2025-09-15T02:38:34,747 ...<3 lines>... 2025-09-15T02:38:34,747 version=version, 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-15T02:38:34,747 super().__init__( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 link=link, 2025-09-15T02:38:34,747 ^^^^^^^^^^ 2025-09-15T02:38:34,747 ...<4 lines>... 2025-09-15T02:38:34,747 version=version, 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-15T02:38:34,747 self.dist = self._prepare() 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-15T02:38:34,747 dist = self._prepare_distribution() 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-15T02:38:34,747 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-15T02:38:34,747 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-15T02:38:34,747 dist = _get_prepared_distribution( 2025-09-15T02:38:34,747 req, 2025-09-15T02:38:34,747 ...<3 lines>... 2025-09-15T02:38:34,747 self.check_build_deps, 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-15T02:38:34,747 abstract_dist.prepare_distribution_metadata( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 finder, build_isolation, check_build_deps 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-15T02:38:34,747 self.req.prepare_metadata() 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-15T02:38:34,747 self.metadata_directory = generate_metadata_legacy( 2025-09-15T02:38:34,747 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-15T02:38:34,747 build_env=self.build_env, 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ...<3 lines>... 2025-09-15T02:38:34,747 details=details, 2025-09-15T02:38:34,747 ^^^^^^^^^^^^^^^^ 2025-09-15T02:38:34,747 ) 2025-09-15T02:38:34,747 ^ 2025-09-15T02:38:34,747 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-15T02:38:34,747 raise MetadataGenerationFailed(package_details=details) from error 2025-09-15T02:38:34,747 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-15T02:38:34,771 Removed torch-memory-saver==0.0.1 from https://files.pythonhosted.org/packages/cf/c3/b5ac2c268e2d9afc162670f3b5f273315ee1b62d5d93982744f07c2e7463/torch_memory_saver-0.0.1.tar.gz from build tracker '/tmp/pip-build-tracker-iqzs61ik' 2025-09-15T02:38:34,772 Removed build tracker: '/tmp/pip-build-tracker-iqzs61ik'