Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Dec 19, 2024
1 parent 11bd39d commit 9a9a342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .ci/tritonbench/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ fi
tritonbench_dir=$(dirname "$(readlink -f "$0")")/../..
cd ${tritonbench_dir}

# probe memory available
free -h

# Install Tritonbench and all its customized packages
# Test: only install fa3
python install.py --fa3
python install.py --all
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def install_fa3():
FA3_PATH = REPO_PATH.joinpath("submodules", "flash-attention", "hopper")
env = os.environ.copy()
# nvcc will now spawn cicc and will cost ~1G memory
env["MAX_JOBS"] = "4"
env["MAX_JOBS"] = "8"
cmd = [sys.executable, "setup.py", "install"]
subprocess.check_call(cmd, cwd=str(FA3_PATH.resolve()), env=env)

Expand Down

0 comments on commit 9a9a342

Please sign in to comment.