Skip to content

Commit

Permalink
Try with single thread
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Dec 19, 2024
1 parent b92d6b9 commit 9d08747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/flash_attn/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ def install_fa3():
env = os.environ.copy()
# nvcc will spawn cicc process and will cost ~1G memory
env["MAX_JOBS"] = "8"
env["NVCC_THREADS"] = "2"
env["NVCC_THREADS"] = "1"
cmd = [sys.executable, "setup.py", "install"]
subprocess.check_call(cmd, cwd=str(FA3_PATH.resolve()), env=env)

0 comments on commit 9d08747

Please sign in to comment.