Skip to content

Commit

Permalink
Compile FBGEMM on H100 (#2298)
Browse files Browse the repository at this point in the history
Summary:
H100 requires a special `9.0a` arch list to gain full kernel compilation.

Pull Request resolved: #2298

Reviewed By: q10

Differential Revision: D58484593

Pulled By: xuzhao9

fbshipit-source-id: d58def67bcba27f0e58c79fac6d7329b267f3de2
  • Loading branch information
xuzhao9 authored and facebook-github-bot committed Jun 12, 2024
1 parent 217d8f8 commit c8d6c2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userbenchmark/triton/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
def install_fbgemm():
cmd = ["pip", "install", "-r", "requirements.txt"]
subprocess.check_call(cmd, cwd=str(FBGEMM_PATH.resolve()))
# Build target A100(8.0) or H100(9.0)
cmd = [sys.executable, "setup.py", "bdist_wheel", "--package_variant=genai", "-DTORCH_CUDA_ARCH_LIST=8.0;9.0"]
# Build target A100(8.0) or H100(9.0, 9.0a)
cmd = [sys.executable, "setup.py", "bdist_wheel", "--package_variant=genai", "-DTORCH_CUDA_ARCH_LIST=8.0;9.0;9.0a"]
subprocess.check_call(cmd, cwd=str(FBGEMM_PATH.resolve()))

def test_fbgemm():
Expand Down

0 comments on commit c8d6c2a

Please sign in to comment.