Skip to content

Commit f0f41ba

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 88c6bea commit f0f41ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build_tools/jax.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def setup_jax_extension(
102102
cxx_flags.append("-g0")
103103

104104
if bool(int(os.getenv("NVTE_UB_WITH_MPI", "0"))):
105-
assert os.getenv("MPI_HOME") is not None, (
106-
"MPI_HOME=/path/to/mpi must be set when compiling with NVTE_UB_WITH_MPI=1!"
107-
)
105+
assert (
106+
os.getenv("MPI_HOME") is not None
107+
), "MPI_HOME=/path/to/mpi must be set when compiling with NVTE_UB_WITH_MPI=1!"
108108
mpi_path = Path(os.getenv("MPI_HOME"))
109109
include_dirs.append(mpi_path / "include")
110110
cxx_flags.append("-DNVTE_UB_WITH_MPI")

0 commit comments

Comments
 (0)