2024-02-10T17:33:13,065 Created temporary directory: /tmp/pip-build-tracker-g7wl1vt7 2024-02-10T17:33:13,066 Initialized build tracking at /tmp/pip-build-tracker-g7wl1vt7 2024-02-10T17:33:13,066 Created build tracker: /tmp/pip-build-tracker-g7wl1vt7 2024-02-10T17:33:13,066 Entered build tracker: /tmp/pip-build-tracker-g7wl1vt7 2024-02-10T17:33:13,067 Created temporary directory: /tmp/pip-wheel-rf9sylhv 2024-02-10T17:33:13,071 Created temporary directory: /tmp/pip-ephem-wheel-cache-smyflzk6 2024-02-10T17:33:13,097 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2024-02-10T17:33:13,101 2 location(s) to search for versions of flash-attn: 2024-02-10T17:33:13,101 * https://pypi.org/simple/flash-attn/ 2024-02-10T17:33:13,101 * https://www.piwheels.org/simple/flash-attn/ 2024-02-10T17:33:13,102 Fetching project page and analyzing links: https://pypi.org/simple/flash-attn/ 2024-02-10T17:33:13,102 Getting page https://pypi.org/simple/flash-attn/ 2024-02-10T17:33:13,104 Found index url https://pypi.org/simple/ 2024-02-10T17:33:13,154 Fetched page https://pypi.org/simple/flash-attn/ as application/vnd.pypi.simple.v1+json 2024-02-10T17:33:13,165 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 2024-02-10T17:33:13,166 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 2024-02-10T17:33:13,167 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 2024-02-10T17:33:13,167 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 2024-02-10T17:33:13,168 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 2024-02-10T17:33:13,168 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 2024-02-10T17:33:13,169 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 2024-02-10T17:33:13,169 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 2024-02-10T17:33:13,170 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 2024-02-10T17:33:13,170 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 2024-02-10T17:33:13,171 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 2024-02-10T17:33:13,172 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 2024-02-10T17:33:13,172 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 2024-02-10T17:33:13,173 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 2024-02-10T17:33:13,173 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 2024-02-10T17:33:13,174 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 2024-02-10T17:33:13,174 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 2024-02-10T17:33:13,175 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 2024-02-10T17:33:13,175 Found link https://files.pythonhosted.org/packages/2b/8f/4f33f2c0538980a0c21fb9fc79288b8a553cba5328d6e7923d3af1630842/flash_attn-1.0.8.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.8 2024-02-10T17:33:13,176 Found link https://files.pythonhosted.org/packages/96/9c/0550790c1f94bb223abd67cdeaece462c0ac56b5cf2cf84080a593e57987/flash_attn-1.0.9.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 1.0.9 2024-02-10T17:33:13,177 Found link https://files.pythonhosted.org/packages/a4/52/868536dd609c42071c2b9aeda8ceb11cf7186508ff568021beaa7dab09a8/flash_attn-2.0.0.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.0.post1 2024-02-10T17:33:13,177 Found link https://files.pythonhosted.org/packages/8a/fc/2aaa1def50b35e29abf44fbdfbb301aeb34b02e7e9724cac2eb95d5b22f4/flash_attn-2.0.1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.1 2024-02-10T17:33:13,178 Found link https://files.pythonhosted.org/packages/98/58/da22da6184dca61d2c2f372bb6b261b2d09fae2aff7e4180748a94e8183b/flash_attn-2.0.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.2 2024-02-10T17:33:13,178 Found link https://files.pythonhosted.org/packages/25/3d/c3aac97d522c41efb3140a2b2a66f12809e6282727ec61687837da9c13cc/flash_attn-2.0.3.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.3 2024-02-10T17:33:13,179 Found link https://files.pythonhosted.org/packages/81/29/7b1efb88be914d74d984848fb6cf3afcb7777f9120a989954d988bd37382/flash_attn-2.0.4.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.4 2024-02-10T17:33:13,179 Found link https://files.pythonhosted.org/packages/53/84/c81d5ed33dedc7a963f1d7260302b90912fe634735989703dce74e8646ab/flash_attn-2.0.5.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.5 2024-02-10T17:33:13,180 Found link https://files.pythonhosted.org/packages/76/8d/354f4691676267243587bb8f672ca85ee3a7877fdb252ca700be533f07dd/flash_attn-2.0.6.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.6 2024-02-10T17:33:13,180 Found link https://files.pythonhosted.org/packages/58/81/e48445d7dda2db0c8e05669f24de2b2cdd78569da52f4f757a7c3d71630f/flash_attn-2.0.6.post2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.6.post2 2024-02-10T17:33:13,181 Found link https://files.pythonhosted.org/packages/05/da/f9efbfd9d8e0997c43297ab400eed067647580f5d33cef1dc911738cd641/flash_attn-2.0.7.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.7 2024-02-10T17:33:13,181 Found link https://files.pythonhosted.org/packages/89/6f/5871a94c3752a605b3491fa53ea79eebdd7504d3cedbd44b57c9fe0c0830/flash_attn-2.0.8.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.8 2024-02-10T17:33:13,182 Found link https://files.pythonhosted.org/packages/c3/b7/2d2e1280f12ef4c18cadcda1557f8fbd5a78af72d6b07dbdb4154086daf1/flash_attn-2.0.9.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.0.9 2024-02-10T17:33:13,183 Found link https://files.pythonhosted.org/packages/1f/6b/0e855eacf133ed50c69c47007b053f6f5d7d246f2a7e70a029835db6327a/flash_attn-2.1.0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.1.0 2024-02-10T17:33:13,183 Found link https://files.pythonhosted.org/packages/fb/2e/050d6778e547c6b5e00e828eb14d37361f472f28fdf351bfa8ce0c4c0f86/flash_attn-2.1.1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.1.1 2024-02-10T17:33:13,184 Found link https://files.pythonhosted.org/packages/e1/4f/a1af29578bbfad861b1a6a6149bd3c5bec8819274f6e176e5cda49350438/flash_attn-2.1.2.post3.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.1.2.post3 2024-02-10T17:33:13,184 Found link https://files.pythonhosted.org/packages/42/5a/0ffb8271ad4a09b16da2cf84f5d4133346332100cf312ee1fb61f404ea20/flash_attn-2.2.0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.0 2024-02-10T17:33:13,185 Found link https://files.pythonhosted.org/packages/58/85/87a593a7cca09963ed2e126b0ae5ff604c4a13040966ecc8a6f6966b6521/flash_attn-2.2.1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.1 2024-02-10T17:33:13,185 Found link https://files.pythonhosted.org/packages/35/e0/1c5a45aadf04b30bbdf482a9ccb57aadef2bc2d0ce4d2df8a5545de1406d/flash_attn-2.2.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.2 2024-02-10T17:33:13,186 Found link https://files.pythonhosted.org/packages/06/e9/63bb6ff4bf0daa9d7c5a8313dcb609cddd1d14262bc17856195230938ff7/flash_attn-2.2.3.post2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.3.post2 2024-02-10T17:33:13,186 Found link https://files.pythonhosted.org/packages/d6/d2/e4c141a71850228e6a3eb079ebe2284fe9630870bfc44d649703377622f8/flash_attn-2.2.4.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.4 2024-02-10T17:33:13,187 Found link https://files.pythonhosted.org/packages/98/37/7ffb02e256a651a512d7c04e649cb224bdf308affa7738297d8ce064d439/flash_attn-2.2.4.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.4.post1 2024-02-10T17:33:13,187 Found link https://files.pythonhosted.org/packages/e6/f6/362df2a546a8fa6b19e490786641849844b0192c47aac7337549db0871ef/flash_attn-2.2.5.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.2.5 2024-02-10T17:33:13,188 Found link https://files.pythonhosted.org/packages/94/0d/29750f4dc66fc5345eb26cc1206a8fe70b73da76be1c175e1928151f7ff5/flash_attn-2.3.0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.0 2024-02-10T17:33:13,188 Found link https://files.pythonhosted.org/packages/99/dd/1a676d8ff943482e1f39dbed29648f48931227ab135271afed0de63cf8f2/flash_attn-2.3.1.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.1.post1 2024-02-10T17:33:13,189 Found link https://files.pythonhosted.org/packages/92/7e/b3441b15faf8404bac4e1fd0f0a9562b154392a3e93e53676cbe565b9139/flash_attn-2.3.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.2 2024-02-10T17:33:13,190 Found link https://files.pythonhosted.org/packages/fa/d5/8285a20ed850824c9c0917dff851571f0b18402db8a52c20b7486d4d70d7/flash_attn-2.3.3.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.3 2024-02-10T17:33:13,190 Found link https://files.pythonhosted.org/packages/f0/98/f8a51e5239e54694767d3a9c73c1f53e7ac07c55e29611a21c607b35acb0/flash_attn-2.3.4.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.4 2024-02-10T17:33:13,191 Found link https://files.pythonhosted.org/packages/26/19/a8883f2bb5f915355581e1c715126c792c59bc2de619f151dcf858ea7caf/flash_attn-2.3.5.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.5 2024-02-10T17:33:13,191 Found link https://files.pythonhosted.org/packages/3c/49/95b86adfc0d90676dcb07fcbef47c71997e6e7c9e71fda51598a962d9148/flash_attn-2.3.6.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.3.6 2024-02-10T17:33:13,192 Found link https://files.pythonhosted.org/packages/f5/83/a9630a1954b90bba3d0e78bc8e089f3dbda763d98c80a2c42c9bae7a8fd3/flash_attn-2.4.0.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.4.0.post1 2024-02-10T17:33:13,192 Found link https://files.pythonhosted.org/packages/c9/96/9a9b1366d9c4e7b463d04a11a49a55ba6c541226c7288cc907ac819ea726/flash_attn-2.4.1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.4.1 2024-02-10T17:33:13,193 Found link https://files.pythonhosted.org/packages/4e/2f/a8d5495cd020e70474095107f0519a11fdff81a2a6cc15755feb1e19b027/flash_attn-2.4.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.4.2 2024-02-10T17:33:13,194 Found link https://files.pythonhosted.org/packages/92/95/b6c58e6747917f6f49c7555dd4a6eb39d31015f43c9300c45a3920006a6e/flash_attn-2.4.3.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.4.3.post1 2024-02-10T17:33:13,194 Found link https://files.pythonhosted.org/packages/9a/af/cab63e9729610f8ed2959bef8829d97d0c7b032ffe8ad349e461b42bd265/flash_attn-2.5.0.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.5.0 2024-02-10T17:33:13,195 Found link https://files.pythonhosted.org/packages/aa/08/307abdfc467390f61c2dd478ad5eaf377b6bc04ab44a17744b4c56207c88/flash_attn-2.5.1.post1.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.5.1.post1 2024-02-10T17:33:13,195 Found link https://files.pythonhosted.org/packages/fc/ed/f106dfd805c71769c3c4c201541cc7c69c0f0facf6ed05d98e16fad7c6cc/flash_attn-2.5.2.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.5.2 2024-02-10T17:33:13,196 Found link https://files.pythonhosted.org/packages/b9/ec/953adfbd9d95b0e9385d3946b81c0446ae723f70fafcb0b5c40e10f5d7f2/flash_attn-2.5.3.tar.gz (from https://pypi.org/simple/flash-attn/) (requires-python:>=3.7), version: 2.5.3 2024-02-10T17:33:13,196 Fetching project page and analyzing links: https://www.piwheels.org/simple/flash-attn/ 2024-02-10T17:33:13,196 Getting page https://www.piwheels.org/simple/flash-attn/ 2024-02-10T17:33:13,197 Found index url https://www.piwheels.org/simple/ 2024-02-10T17:33:13,269 Fetched page https://www.piwheels.org/simple/flash-attn/ as text/html 2024-02-10T17:33:13,270 Skipping link: not a file: https://www.piwheels.org/simple/flash-attn/ 2024-02-10T17:33:13,270 Skipping link: not a file: https://pypi.org/simple/flash-attn/ 2024-02-10T17:33:13,295 Given no hashes to check 1 links for project 'flash-attn': discarding no candidates 2024-02-10T17:33:13,313 Collecting flash-attn==2.5.3 2024-02-10T17:33:13,315 Created temporary directory: /tmp/pip-unpack-tz0kfc00 2024-02-10T17:33:13,377 Downloading flash_attn-2.5.3.tar.gz (2.5 MB) 2024-02-10T17:33:18,005 Added flash-attn==2.5.3 from https://files.pythonhosted.org/packages/b9/ec/953adfbd9d95b0e9385d3946b81c0446ae723f70fafcb0b5c40e10f5d7f2/flash_attn-2.5.3.tar.gz to build tracker '/tmp/pip-build-tracker-g7wl1vt7' 2024-02-10T17:33:18,007 Running setup.py (path:/tmp/pip-wheel-rf9sylhv/flash-attn_a33c3c54d3d94250a615d749b2071237/setup.py) egg_info for package flash-attn 2024-02-10T17:33:18,008 Created temporary directory: /tmp/pip-pip-egg-info-buablyk5 2024-02-10T17:33:18,008 Preparing metadata (setup.py): started 2024-02-10T17:33:18,009 Running command python setup.py egg_info 2024-02-10T17:33:18,684 Traceback (most recent call last): 2024-02-10T17:33:18,685 File "", line 2, in 2024-02-10T17:33:18,685 File "", line 34, in 2024-02-10T17:33:18,685 File "/tmp/pip-wheel-rf9sylhv/flash-attn_a33c3c54d3d94250a615d749b2071237/setup.py", line 19, in 2024-02-10T17:33:18,685 import torch 2024-02-10T17:33:18,686 ModuleNotFoundError: No module named 'torch' 2024-02-10T17:33:18,746 ERROR: python setup.py egg_info exited with 1 2024-02-10T17:33:18,763 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2024-02-10T17:33:18,763 exec(compile('"'"''"'"''"'"' 2024-02-10T17:33:18,763 # This is -- a caller that pip uses to run setup.py 2024-02-10T17:33:18,763 # 2024-02-10T17:33:18,763 # - It imports setuptools before invoking setup.py, to enable projects that directly 2024-02-10T17:33:18,763 # import from `distutils.core` to work with newer packaging standards. 2024-02-10T17:33:18,763 # - It provides a clear error message when setuptools is not installed. 2024-02-10T17:33:18,763 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2024-02-10T17:33:18,763 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2024-02-10T17:33:18,763 # manifest_maker: standard file '"'"'-c'"'"' not found". 2024-02-10T17:33:18,763 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2024-02-10T17:33:18,763 import os, sys, tokenize 2024-02-10T17:33:18,763 2024-02-10T17:33:18,763 try: 2024-02-10T17:33:18,763 import setuptools 2024-02-10T17:33:18,763 except ImportError as error: 2024-02-10T17:33:18,763 print( 2024-02-10T17:33:18,763 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2024-02-10T17:33:18,763 "the build environment.", 2024-02-10T17:33:18,763 file=sys.stderr, 2024-02-10T17:33:18,763 ) 2024-02-10T17:33:18,763 sys.exit(1) 2024-02-10T17:33:18,763 2024-02-10T17:33:18,763 __file__ = %r 2024-02-10T17:33:18,763 sys.argv[0] = __file__ 2024-02-10T17:33:18,763 2024-02-10T17:33:18,763 if os.path.exists(__file__): 2024-02-10T17:33:18,763 filename = __file__ 2024-02-10T17:33:18,763 with tokenize.open(__file__) as f: 2024-02-10T17:33:18,763 setup_py_code = f.read() 2024-02-10T17:33:18,763 else: 2024-02-10T17:33:18,763 filename = "" 2024-02-10T17:33:18,763 setup_py_code = "from setuptools import setup; setup()" 2024-02-10T17:33:18,763 2024-02-10T17:33:18,763 exec(compile(setup_py_code, filename, "exec")) 2024-02-10T17:33:18,763 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-rf9sylhv/flash-attn_a33c3c54d3d94250a615d749b2071237/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-buablyk5[/] 2024-02-10T17:33:18,763 [bold magenta]cwd[/]: /tmp/pip-wheel-rf9sylhv/flash-attn_a33c3c54d3d94250a615d749b2071237/ 2024-02-10T17:33:18,763 Preparing metadata (setup.py): finished with status 'error' 2024-02-10T17:33:18,764 ERROR: metadata generation failed 2024-02-10T17:33:18,770 Exception information: 2024-02-10T17:33:18,770 Traceback (most recent call last): 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2024-02-10T17:33:18,770 call_subprocess( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2024-02-10T17:33:18,770 raise error 2024-02-10T17:33:18,770 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2024-02-10T17:33:18,770 2024-02-10T17:33:18,770 The above exception was the direct cause of the following exception: 2024-02-10T17:33:18,770 2024-02-10T17:33:18,770 Traceback (most recent call last): 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2024-02-10T17:33:18,770 status = run_func(*args) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper 2024-02-10T17:33:18,770 return func(self, options, args) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 147, in run 2024-02-10T17:33:18,770 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve 2024-02-10T17:33:18,770 result = self._result = resolver.resolve( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2024-02-10T17:33:18,770 state = resolution.resolve(requirements, max_rounds=max_rounds) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2024-02-10T17:33:18,770 self._add_to_criteria(self.state.criteria, r, parent=None) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2024-02-10T17:33:18,770 if not criterion.candidates: 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2024-02-10T17:33:18,770 return bool(self._sequence) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2024-02-10T17:33:18,770 return any(self) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2024-02-10T17:33:18,770 return (c for c in iterator if id(c) not in self._incompatible_ids) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2024-02-10T17:33:18,770 candidate = func() 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link 2024-02-10T17:33:18,770 self._link_candidate_cache[link] = LinkCandidate( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2024-02-10T17:33:18,770 super().__init__( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2024-02-10T17:33:18,770 self.dist = self._prepare() 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2024-02-10T17:33:18,770 dist = self._prepare_distribution() 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2024-02-10T17:33:18,770 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement 2024-02-10T17:33:18,770 return self._prepare_linked_requirement(req, parallel_builds) 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement 2024-02-10T17:33:18,770 dist = _get_prepared_distribution( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2024-02-10T17:33:18,770 abstract_dist.prepare_distribution_metadata( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata 2024-02-10T17:33:18,770 self.req.prepare_metadata() 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 583, in prepare_metadata 2024-02-10T17:33:18,770 self.metadata_directory = generate_metadata_legacy( 2024-02-10T17:33:18,770 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2024-02-10T17:33:18,770 raise MetadataGenerationFailed(package_details=details) from error 2024-02-10T17:33:18,770 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2024-02-10T17:33:18,779 Removed flash-attn==2.5.3 from https://files.pythonhosted.org/packages/b9/ec/953adfbd9d95b0e9385d3946b81c0446ae723f70fafcb0b5c40e10f5d7f2/flash_attn-2.5.3.tar.gz from build tracker '/tmp/pip-build-tracker-g7wl1vt7' 2024-02-10T17:33:18,780 Removed build tracker: '/tmp/pip-build-tracker-g7wl1vt7'