2023-05-30T21:46:54,579 Created temporary directory: /tmp/pip-build-tracker-1xghauw4 2023-05-30T21:46:54,580 Initialized build tracking at /tmp/pip-build-tracker-1xghauw4 2023-05-30T21:46:54,580 Created build tracker: /tmp/pip-build-tracker-1xghauw4 2023-05-30T21:46:54,581 Entered build tracker: /tmp/pip-build-tracker-1xghauw4 2023-05-30T21:46:54,581 Created temporary directory: /tmp/pip-wheel-yrslbr6f 2023-05-30T21:46:54,584 Created temporary directory: /tmp/pip-ephem-wheel-cache-a_wyadrd 2023-05-30T21:46:54,607 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T21:46:54,610 2 location(s) to search for versions of flash-attn: 2023-05-30T21:46:54,610 * https://pypi.org/simple/flash-attn/ 2023-05-30T21:46:54,610 * https://www.piwheels.org/simple/flash-attn/ 2023-05-30T21:46:54,611 Fetching project page and analyzing links: https://pypi.org/simple/flash-attn/ 2023-05-30T21:46:54,611 Getting page https://pypi.org/simple/flash-attn/ 2023-05-30T21:46:54,613 Found index url https://pypi.org/simple/ 2023-05-30T21:46:54,665 Fetched page https://pypi.org/simple/flash-attn/ as application/vnd.pypi.simple.v1+json 2023-05-30T21:46:54,670 Found link https://files.pythonhosted.org/packages/76/b2/296d07c9eae70b8b8e71938ebb753e052286947c59c4d9f75d12e8941afc/flash_attn-0.2.0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.0 2023-05-30T21:46:54,670 Found link https://files.pythonhosted.org/packages/f3/6a/4c0bfde34ed78d5d4e1f23917f8405cd7e2cc5560827d3fb023e88b2c6fa/flash_attn-0.2.1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.1 2023-05-30T21:46:54,671 Found link https://files.pythonhosted.org/packages/4a/96/2ad062b5ff5cfe64c2c557cfef54eaefc49831301fdae2cc6a34b2a169f0/flash_attn-0.2.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.2 2023-05-30T21:46:54,671 Found link https://files.pythonhosted.org/packages/db/64/de6ecd80b6658d8008772e41838822828e714c8faa52fc8c19db8c4ca8cd/flash_attn-0.2.3.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.3 2023-05-30T21:46:54,672 Found link https://files.pythonhosted.org/packages/07/79/fa7825f1a64aa7ba88299ba3aa5148f45eef748e9fb6d862c73bbf0769b0/flash_attn-0.2.4.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.4 2023-05-30T21:46:54,673 Found link https://files.pythonhosted.org/packages/8d/29/c476efe31ea15d574fa952ff935d879dd2e40d2c0afc13fe5e4d54ca8de9/flash_attn-0.2.5.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.5 2023-05-30T21:46:54,673 Found link https://files.pythonhosted.org/packages/a0/d5/eaeea25b49a3e3d746c87e2f9b44045ed65c928829c7a9ac855b513fde3a/flash_attn-0.2.6.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.6.post1 2023-05-30T21:46:54,674 Found link https://files.pythonhosted.org/packages/86/84/db179a480ae31b1093d07ce44452d2a0d8bdf98fd45985f2b68a42e2a364/flash_attn-0.2.7.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.7 2023-05-30T21:46:54,674 Found link https://files.pythonhosted.org/packages/07/ca/2d8a5fc64b0b4bcc1b98b1ff7f37d8a0661234bc74e94bac5f67551896f8/flash_attn-0.2.8.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 0.2.8 2023-05-30T21:46:54,675 Found link https://files.pythonhosted.org/packages/1d/a3/c0c75c46b9277c57e085bae24000d9914254952f77a4129776b4f412817a/flash_attn-1.0.0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.0 2023-05-30T21:46:54,675 Found link https://files.pythonhosted.org/packages/da/91/deec91e54d7876b73c5ad37004fa0d7cd6eb1e816b355252f0b7fdfe8d51/flash_attn-1.0.1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.1 2023-05-30T21:46:54,676 Found link https://files.pythonhosted.org/packages/b2/e9/2d689d1fe3585c0167265eed3239f4e26bb4f2c691037a960724a919cde2/flash_attn-1.0.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.2 2023-05-30T21:46:54,677 Found link https://files.pythonhosted.org/packages/39/17/e85eac59710421e1bc01eb93a12d37867f3a03c96cfb375997cc18f235b4/flash_attn-1.0.3.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.3 2023-05-30T21:46:54,677 Found link https://files.pythonhosted.org/packages/e6/ae/7bb436c59cf87da603f16f5dee5beeadd18b2b2331e49db012ac34e617ff/flash_attn-1.0.3.post0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.3.post0 2023-05-30T21:46:54,678 Found link https://files.pythonhosted.org/packages/25/0f/80f16a741e328342ed4e9b3c010ec87f0ef939a71154b7b8bd22d70a0bb8/flash_attn-1.0.4.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.4 2023-05-30T21:46:54,678 Found link https://files.pythonhosted.org/packages/f0/b1/5e8d517b76f6efce8ba2a47f8b4e7e463a3ea0c1b3677c738fb819888369/flash_attn-1.0.5.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.5 2023-05-30T21:46:54,679 Found link https://files.pythonhosted.org/packages/59/12/b17409e6abbf4d2b450842be6f83842c83611af90f8009f4924c1e2211ed/flash_attn-1.0.6.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.6 2023-05-30T21:46:54,679 Found link https://files.pythonhosted.org/packages/14/61/3d89d15877e8c4bfa7aba4a23a01905123ce4b59a068b136f44d118bb5eb/flash_attn-1.0.7.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.7 2023-05-30T21:46:54,680 Fetching project page and analyzing links: https://www.piwheels.org/simple/flash-attn/ 2023-05-30T21:46:54,680 Getting page https://www.piwheels.org/simple/flash-attn/ 2023-05-30T21:46:54,681 Found index url https://www.piwheels.org/simple/ 2023-05-30T21:46:54,860 Fetched page https://www.piwheels.org/simple/flash-attn/ as text/html 2023-05-30T21:46:54,860 Skipping link: not a file: https://www.piwheels.org/simple/flash-attn/ 2023-05-30T21:46:54,861 Skipping link: not a file: https://pypi.org/simple/flash-attn/ 2023-05-30T21:46:54,880 Given no hashes to check 1 links for project 'flash-attn': discarding no candidates 2023-05-30T21:46:54,897 Collecting flash-attn==1.0.7 2023-05-30T21:46:54,899 Created temporary directory: /tmp/pip-unpack-_lprfq9x 2023-05-30T21:46:54,946 Downloading flash_attn-1.0.7.tar.gz (2.0 MB) 2023-05-30T21:46:59,182 Added flash-attn==1.0.7 from https://files.pythonhosted.org/packages/14/61/3d89d15877e8c4bfa7aba4a23a01905123ce4b59a068b136f44d118bb5eb/flash_attn-1.0.7.tar.gz to build tracker '/tmp/pip-build-tracker-1xghauw4' 2023-05-30T21:46:59,187 Created temporary directory: /tmp/pip-build-env-603l2kdt 2023-05-30T21:46:59,198 Installing build dependencies: started 2023-05-30T21:46:59,199 Running command pip subprocess to install build dependencies 2023-05-30T21:47:00,390 Using pip 23.1.2 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2023-05-30T21:47:00,743 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-05-30T21:47:01,220 Collecting ninja 2023-05-30T21:47:01,245 Using cached https://www.piwheels.org/simple/ninja/ninja-1.11.1-cp39-cp39-linux_armv7l.whl (132 kB) 2023-05-30T21:47:01,426 Collecting packaging 2023-05-30T21:47:01,443 Using cached https://www.piwheels.org/simple/packaging/packaging-23.1-py3-none-any.whl (48 kB) 2023-05-30T21:47:02,888 Collecting setuptools 2023-05-30T21:47:02,976 Using cached https://www.piwheels.org/simple/setuptools/setuptools-67.8.0-py3-none-any.whl (1.1 MB) 2023-05-30T21:47:03,234 Collecting wheel 2023-05-30T21:47:03,252 Using cached https://www.piwheels.org/simple/wheel/wheel-0.40.0-py3-none-any.whl (64 kB) 2023-05-30T21:47:04,953 Installing collected packages: ninja, wheel, setuptools, packaging 2023-05-30T21:47:05,011 Creating /tmp/pip-build-env-603l2kdt/overlay/bin 2023-05-30T21:47:05,013 changing mode of /tmp/pip-build-env-603l2kdt/overlay/bin/ninja to 755 2023-05-30T21:47:05,240 changing mode of /tmp/pip-build-env-603l2kdt/overlay/bin/wheel to 755 2023-05-30T21:47:07,469 Successfully installed ninja-1.11.1 packaging-23.1 setuptools-67.8.0 wheel-0.40.0 2023-05-30T21:47:07,739 Installing build dependencies: finished with status 'done' 2023-05-30T21:47:07,744 Getting requirements to build wheel: started 2023-05-30T21:47:07,745 Running command Getting requirements to build wheel 2023-05-30T21:47:08,235 Traceback (most recent call last): 2023-05-30T21:47:08,236 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 2023-05-30T21:47:08,237 main() 2023-05-30T21:47:08,237 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main 2023-05-30T21:47:08,238 json_out['return_val'] = hook(**hook_input['kwargs']) 2023-05-30T21:47:08,239 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel 2023-05-30T21:47:08,240 return hook(config_settings) 2023-05-30T21:47:08,240 File "/tmp/pip-build-env-603l2kdt/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel 2023-05-30T21:47:08,242 return self._get_build_requires(config_settings, requirements=['wheel']) 2023-05-30T21:47:08,242 File "/tmp/pip-build-env-603l2kdt/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires 2023-05-30T21:47:08,243 self.run_setup() 2023-05-30T21:47:08,244 File "/tmp/pip-build-env-603l2kdt/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 338, in run_setup 2023-05-30T21:47:08,245 exec(code, locals()) 2023-05-30T21:47:08,246 File "", line 13, in 2023-05-30T21:47:08,248 ModuleNotFoundError: No module named 'torch' 2023-05-30T21:47:08,299 ERROR: [present-rich] Getting requirements to build wheel exited with 1 2023-05-30T21:47:08,315 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpadmejdst[/] 2023-05-30T21:47:08,316 [bold magenta]cwd[/]: /tmp/pip-wheel-yrslbr6f/flash-attn_da12b96e4a8246db90cd56b18cbdd6b9 2023-05-30T21:47:08,316 Getting requirements to build wheel: finished with status 'error' 2023-05-30T21:47:08,318 ERROR: [present-rich] Getting requirements to build wheel exited with 1 2023-05-30T21:47:08,325 Exception information: 2023-05-30T21:47:08,325 Traceback (most recent call last): 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper 2023-05-30T21:47:08,325 status = run_func(*args) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-05-30T21:47:08,325 return func(self, options, args) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-05-30T21:47:08,325 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-05-30T21:47:08,325 result = self._result = resolver.resolve( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-05-30T21:47:08,325 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-05-30T21:47:08,325 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-05-30T21:47:08,325 if not criterion.candidates: 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-05-30T21:47:08,325 return bool(self._sequence) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-05-30T21:47:08,325 return any(self) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-05-30T21:47:08,325 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-05-30T21:47:08,325 candidate = func() 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-05-30T21:47:08,325 self._link_candidate_cache[link] = LinkCandidate( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-05-30T21:47:08,325 super().__init__( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-05-30T21:47:08,325 self.dist = self._prepare() 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-05-30T21:47:08,325 dist = self._prepare_distribution() 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-05-30T21:47:08,325 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement 2023-05-30T21:47:08,325 return self._prepare_linked_requirement(req, parallel_builds) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 631, in _prepare_linked_requirement 2023-05-30T21:47:08,325 dist = _get_prepared_distribution( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-05-30T21:47:08,325 abstract_dist.prepare_distribution_metadata( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 48, in prepare_distribution_metadata 2023-05-30T21:47:08,325 self._install_build_reqs(finder) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 118, in _install_build_reqs 2023-05-30T21:47:08,325 build_reqs = self._get_build_requires_wheel() 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/distributions/sdist.py", line 95, in _get_build_requires_wheel 2023-05-30T21:47:08,325 return backend.get_requires_for_build_wheel() 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/misc.py", line 692, in get_requires_for_build_wheel 2023-05-30T21:47:08,325 return super().get_requires_for_build_wheel(config_settings=cs) 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_impl.py", line 166, in get_requires_for_build_wheel 2023-05-30T21:47:08,325 return self._call_hook('get_requires_for_build_wheel', { 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311, in _call_hook 2023-05-30T21:47:08,325 self._subprocess_runner( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 252, in runner 2023-05-30T21:47:08,325 call_subprocess( 2023-05-30T21:47:08,325 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-05-30T21:47:08,325 raise error 2023-05-30T21:47:08,325 pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1 2023-05-30T21:47:08,336 Removed flash-attn==1.0.7 from https://files.pythonhosted.org/packages/14/61/3d89d15877e8c4bfa7aba4a23a01905123ce4b59a068b136f44d118bb5eb/flash_attn-1.0.7.tar.gz from build tracker '/tmp/pip-build-tracker-1xghauw4' 2023-05-30T21:47:08,337 Removed build tracker: '/tmp/pip-build-tracker-1xghauw4'