Skip to content

Commit

Permalink
Compile fa3 first
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Dec 20, 2024
1 parent e3d7dda commit 3a1abf7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,16 @@ def setup_hip(args: argparse.Namespace):
# checkout submodules
checkout_submodules(REPO_PATH)
# install submodules
if args.fa3 or args.all:
logger.info("[tritonbench] installing fa3...")
from tools.flash_attn.install import install_fa3
install_fa3()
if args.fbgemm or args.all:
logger.info("[tritonbench] installing FBGEMM...")
install_fbgemm()
if args.fa2 or args.all:
logger.info("[tritonbench] installing fa2 from source...")
install_fa2(compile=True)
if args.fa3 or args.all:
logger.info("[tritonbench] installing fa3...")
from tools.flash_attn.install import install_fa3

install_fa3()
if args.colfax:
logger.info("[tritonbench] installing colfax cutlass-kernels...")
from tools.cutlass_kernels.install import install_colfax_cutlass
Expand Down

0 comments on commit 3a1abf7

Please sign in to comment.