[stderr]
/home/xiaohong/LTX-2/.venv/lib/python3.12/site-packages/setuptools/dist.py:332:
InformationOnly: Normalizing '3.0.0.b1' to '3.0.0b1'
self.metadata.version = self._normalize_version(self.metadata.version)
/home/xiaohong/LTX-2/.venv/lib/python3.12/site-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of
a SPDX license expression:
License :: OSI Approved :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
W0114 07:08:01.022000 1591534 torch/utils/cpp_extension.py:531] There
are no /usr/bin/g++-11 version bounds defined for CUDA version 13.0
error: could not create 'flash_attn_3/_C.abi3.so': No such file or
directory
hint: This usually indicates a problem with the package or the build
environment.
DEBUG Released lock at /home/xiaohong/LTX-2/.venv/.lock
DEBUG Released lock at /home/xiaohong/.cache/uv/.lock
I also was able to reproduce your error. Before running your commands, I created the directory first.
For me, I was working out of a NGC PyTorch container where my working directory was /workspace/flash-attention/hopper (via the flash-attention repo). I did mkdir -p flash_attn_3and it worked for me!
Please try that fix and let me know if you have any other questions or concerns!