pub struct NcclBuildArgs {
pub tag: Option<String>,
pub archs: Option<String>,
pub jobs: usize,
pub dry_run: bool,
}Expand description
Build NCCL from NVIDIA source for a heterogeneous-arch rig.
Fields§
§tag: Option<String>NCCL git tag to build (e.g. “v2.27.5-1”). Default: infer from the active libtorch’s bundled NCCL version string (the version we must match for cross-rank handshake).
archs: Option<String>Override CUDA architectures (semicolon-separated, e.g. “6.1;12.0”). Default: auto-detect from local GPUs.
jobs: usizeParallel compilation jobs.
dry_run: boolShow what would happen without building.
Trait Implementations§
Source§impl Debug for NcclBuildArgs
impl Debug for NcclBuildArgs
Source§impl FdlArgsTrait for NcclBuildArgs
impl FdlArgsTrait for NcclBuildArgs
Source§fn try_parse_from(args: &[String]) -> Result<Self, String>
fn try_parse_from(args: &[String]) -> Result<Self, String>
Parse from an explicit argv slice. First element is the program
name (ignored), following elements are flags/values/positionals.
Source§fn render_help() -> String
fn render_help() -> String
Render
--help to a string.Source§fn render_help_path(argv: &[String]) -> String
fn render_help_path(argv: &[String]) -> String
Render
--help for a specific argv path (program name first, then
the tokens typed). The default ignores the path and returns
Self::render_help — correct for a single struct, whose help is
context-free. Read moreAuto Trait Implementations§
impl Freeze for NcclBuildArgs
impl RefUnwindSafe for NcclBuildArgs
impl Send for NcclBuildArgs
impl Sync for NcclBuildArgs
impl Unpin for NcclBuildArgs
impl UnsafeUnpin for NcclBuildArgs
impl UnwindSafe for NcclBuildArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more