flash-attn安装

conda activate _________
python - <<'PY'
import sys, torch, importlib.metadata as md
print("python     :", sys.version.split()[0])
print("torch      :", torch.__version__)
print("torch cuda :", torch.version.cuda)
print("torch abi  :", "TRUE" if torch._C._GLIBCXX_USE_CXX11_ABI else "FALSE")
try:
    print("flash-attn :", md.version("flash-attn"))
except Exception as e:
    print("flash-attn : NOT INSTALLED ->", e)
PY
posted @ 2026-09-11 20:31  Azazеl  阅读(3)  评论(0)    收藏  举报