2023-06-08T01:15:06,622 Created temporary directory: /tmp/pip-build-tracker-1gd1ykoi 2023-06-08T01:15:06,625 Initialized build tracking at /tmp/pip-build-tracker-1gd1ykoi 2023-06-08T01:15:06,626 Created build tracker: /tmp/pip-build-tracker-1gd1ykoi 2023-06-08T01:15:06,626 Entered build tracker: /tmp/pip-build-tracker-1gd1ykoi 2023-06-08T01:15:06,627 Created temporary directory: /tmp/pip-wheel-v99v0lc8 2023-06-08T01:15:06,636 Created temporary directory: /tmp/pip-ephem-wheel-cache-5q78bw4r 2023-06-08T01:15:06,689 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-06-08T01:15:06,698 2 location(s) to search for versions of flash-attn-wheels: 2023-06-08T01:15:06,698 * https://pypi.org/simple/flash-attn-wheels/ 2023-06-08T01:15:06,698 * https://www.piwheels.org/simple/flash-attn-wheels/ 2023-06-08T01:15:06,699 Fetching project page and analyzing links: https://pypi.org/simple/flash-attn-wheels/ 2023-06-08T01:15:06,700 Getting page https://pypi.org/simple/flash-attn-wheels/ 2023-06-08T01:15:06,705 Found index url https://pypi.org/simple/ 2023-06-08T01:15:06,901 Fetched page https://pypi.org/simple/flash-attn-wheels/ as application/vnd.pypi.simple.v1+json 2023-06-08T01:15:06,905 Found link https://files.pythonhosted.org/packages/a7/0c/c5fcd891f0e60b68cd2cfec76e100e03daf8b013806de3c8fa459bd327d6/flash_attn_wheels-1.0.7.tar.gz (from https://pypi.org/simple/flash-attn-wheels/) (requires-python:>=3.7), version: 1.0.7 2023-06-08T01:15:06,906 Found link https://files.pythonhosted.org/packages/24/7f/f477dbc5d6f4a6f032dcc59752cdc6db509ed4f7e1fe32e453f5989c43c7/flash_attn_wheels-1.0.8.tar.gz (from https://pypi.org/simple/flash-attn-wheels/) (requires-python:>=3.7), version: 1.0.8 2023-06-08T01:15:06,908 Found link https://files.pythonhosted.org/packages/f9/2e/0ff829365bcffb2a215f1d5d95016b073c2dc90e359333c4a3e3b60d6698/flash_attn_wheels-1.0.9.tar.gz (from https://pypi.org/simple/flash-attn-wheels/) (requires-python:>=3.7), version: 1.0.9 2023-06-08T01:15:06,909 Fetching project page and analyzing links: https://www.piwheels.org/simple/flash-attn-wheels/ 2023-06-08T01:15:06,909 Getting page https://www.piwheels.org/simple/flash-attn-wheels/ 2023-06-08T01:15:06,912 Found index url https://www.piwheels.org/simple/ 2023-06-08T01:15:07,127 Fetched page https://www.piwheels.org/simple/flash-attn-wheels/ as text/html 2023-06-08T01:15:07,129 Skipping link: not a file: https://www.piwheels.org/simple/flash-attn-wheels/ 2023-06-08T01:15:07,130 Skipping link: not a file: https://pypi.org/simple/flash-attn-wheels/ 2023-06-08T01:15:07,163 Given no hashes to check 1 links for project 'flash-attn-wheels': discarding no candidates 2023-06-08T01:15:07,193 Collecting flash-attn-wheels==1.0.9 2023-06-08T01:15:07,198 Created temporary directory: /tmp/pip-unpack-kko2okkm 2023-06-08T01:15:07,372 Downloading flash_attn_wheels-1.0.9.tar.gz (210 kB) 2023-06-08T01:15:08,209 Added flash-attn-wheels==1.0.9 from https://files.pythonhosted.org/packages/f9/2e/0ff829365bcffb2a215f1d5d95016b073c2dc90e359333c4a3e3b60d6698/flash_attn_wheels-1.0.9.tar.gz to build tracker '/tmp/pip-build-tracker-1gd1ykoi' 2023-06-08T01:15:08,212 Running setup.py (path:/tmp/pip-wheel-v99v0lc8/flash-attn-wheels_f8a84b9d82f54ffd9dbd7ed2ad80627a/setup.py) egg_info for package flash-attn-wheels 2023-06-08T01:15:08,214 Created temporary directory: /tmp/pip-pip-egg-info-fp41n4_z 2023-06-08T01:15:08,214 Preparing metadata (setup.py): started 2023-06-08T01:15:08,217 Running command python setup.py egg_info 2023-06-08T01:15:09,368 Traceback (most recent call last): 2023-06-08T01:15:09,370 File "", line 36, in 2023-06-08T01:15:09,370 File "", line 34, in 2023-06-08T01:15:09,371 File "/tmp/pip-wheel-v99v0lc8/flash-attn-wheels_f8a84b9d82f54ffd9dbd7ed2ad80627a/setup.py", line 16, in 2023-06-08T01:15:09,371 import torch 2023-06-08T01:15:09,372 ModuleNotFoundError: No module named 'torch' 2023-06-08T01:15:09,468 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-06-08T01:15:09,511 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-06-08T01:15:09,511 exec(compile('"'"''"'"''"'"' 2023-06-08T01:15:09,511 # This is -- a caller that pip uses to run setup.py 2023-06-08T01:15:09,511 # 2023-06-08T01:15:09,511 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-06-08T01:15:09,511 # import from `distutils.core` to work with newer packaging standards. 2023-06-08T01:15:09,511 # - It provides a clear error message when setuptools is not installed. 2023-06-08T01:15:09,511 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-06-08T01:15:09,511 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-06-08T01:15:09,511 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-06-08T01:15:09,511 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-06-08T01:15:09,511 import os, sys, tokenize 2023-06-08T01:15:09,511 2023-06-08T01:15:09,511 try: 2023-06-08T01:15:09,511 import setuptools 2023-06-08T01:15:09,511 except ImportError as error: 2023-06-08T01:15:09,511 print( 2023-06-08T01:15:09,511 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-06-08T01:15:09,511 "the build environment.", 2023-06-08T01:15:09,511 file=sys.stderr, 2023-06-08T01:15:09,511 ) 2023-06-08T01:15:09,511 sys.exit(1) 2023-06-08T01:15:09,511 2023-06-08T01:15:09,511 __file__ = %r 2023-06-08T01:15:09,511 sys.argv[0] = __file__ 2023-06-08T01:15:09,511 2023-06-08T01:15:09,511 if os.path.exists(__file__): 2023-06-08T01:15:09,511 filename = __file__ 2023-06-08T01:15:09,511 with tokenize.open(__file__) as f: 2023-06-08T01:15:09,511 setup_py_code = f.read() 2023-06-08T01:15:09,511 else: 2023-06-08T01:15:09,511 filename = "" 2023-06-08T01:15:09,511 setup_py_code = "from setuptools import setup; setup()" 2023-06-08T01:15:09,511 2023-06-08T01:15:09,511 exec(compile(setup_py_code, filename, "exec")) 2023-06-08T01:15:09,511 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-v99v0lc8/flash-attn-wheels_f8a84b9d82f54ffd9dbd7ed2ad80627a/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-fp41n4_z[/] 2023-06-08T01:15:09,512 [bold magenta]cwd[/]: /tmp/pip-wheel-v99v0lc8/flash-attn-wheels_f8a84b9d82f54ffd9dbd7ed2ad80627a/ 2023-06-08T01:15:09,513 Preparing metadata (setup.py): finished with status 'error' 2023-06-08T01:15:09,516 ERROR: [present-rich] metadata generation failed 2023-06-08T01:15:09,530 Exception information: 2023-06-08T01:15:09,530 Traceback (most recent call last): 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 68, in generate_metadata 2023-06-08T01:15:09,530 spinner=spinner, 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-06-08T01:15:09,530 raise error 2023-06-08T01:15:09,530 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-06-08T01:15:09,530 2023-06-08T01:15:09,530 The above exception was the direct cause of the following exception: 2023-06-08T01:15:09,530 2023-06-08T01:15:09,530 Traceback (most recent call last): 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper 2023-06-08T01:15:09,530 status = run_func(*args) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-06-08T01:15:09,530 return func(self, options, args) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-06-08T01:15:09,530 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 93, in resolve 2023-06-08T01:15:09,530 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-06-08T01:15:09,530 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-06-08T01:15:09,530 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-06-08T01:15:09,530 if not criterion.candidates: 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-06-08T01:15:09,530 return bool(self._sequence) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-06-08T01:15:09,530 return any(self) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-06-08T01:15:09,530 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-06-08T01:15:09,530 candidate = func() 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2023-06-08T01:15:09,530 version=version, 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 299, in __init__ 2023-06-08T01:15:09,530 version=version, 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-06-08T01:15:09,530 self.dist = self._prepare() 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-06-08T01:15:09,530 dist = self._prepare_distribution() 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-06-08T01:15:09,530 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement 2023-06-08T01:15:09,530 return self._prepare_linked_requirement(req, parallel_builds) 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 636, in _prepare_linked_requirement 2023-06-08T01:15:09,530 self.check_build_deps, 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 70, in _get_prepared_distribution 2023-06-08T01:15:09,530 finder, build_isolation, check_build_deps 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-06-08T01:15:09,530 self.req.prepare_metadata() 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 566, in prepare_metadata 2023-06-08T01:15:09,530 details=details, 2023-06-08T01:15:09,530 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-06-08T01:15:09,530 raise MetadataGenerationFailed(package_details=details) from error 2023-06-08T01:15:09,530 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-06-08T01:15:09,554 Removed flash-attn-wheels==1.0.9 from https://files.pythonhosted.org/packages/f9/2e/0ff829365bcffb2a215f1d5d95016b073c2dc90e359333c4a3e3b60d6698/flash_attn_wheels-1.0.9.tar.gz from build tracker '/tmp/pip-build-tracker-1gd1ykoi' 2023-06-08T01:15:09,555 Removed build tracker: '/tmp/pip-build-tracker-1gd1ykoi'