Build Fix: Avoid invalid make -j 0 in NCCL EP submodule build#3243
Conversation
Signed-off-by: Phuong Nguyen <phuonguyen@nvidia.com>
|
/te-ci L0 |
jberchtold-nvidia
left a comment
There was a problem hiding this comment.
LGTM pending CI, thanks!
Greptile SummaryThis PR fixes a build failure in the NCCL EP submodule build step where
Confidence Score: 5/5Safe to merge — a minimal, targeted fix to a build-time subprocess invocation with no runtime or API surface changes. The change is a single-line fix that replaces an invalid No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[build_nccl_ep_submodule] --> B[get_max_jobs_for_parallel_build]
B --> C{NVTE_BUILD_MAX_JOBS\nor MAX_JOBS\nor --parallel=N set?}
C -- Yes --> D[nproc = N]
C -- No --> E[nproc = 0]
D --> F{nproc truthy?}
E --> F
F -- Yes, nproc > 0 --> G[make_jobs = '-jN']
F -- No, nproc == 0 --> H[make_jobs = '-j' unlimited]
G --> I["make -jN -C nccl_ep lib"]
H --> J["make -j -C nccl_ep lib"]
Reviews (2): Last reviewed commit: "Merge branch 'main' into ep_jax" | Re-trigger Greptile |
Description
Avoid invalid make -j 0 in NCCL EP submodule build
Type of change
Checklist: