pub struct NcclCapabilities {
pub version: (i32, i32, i32),
pub has_fp8: bool,
pub has_nvls: bool,
pub has_sharp: bool,
}Expand description
Static description of the loaded NCCL library’s capabilities.
Fields§
§version: (i32, i32, i32)(major, minor, patch). (0, 0, 0) if NCCL isn’t loadable.
has_fp8: boolTrue iff nccl-fp8 feature is enabled and NCCL >= 2.20.
has_nvls: boolTrue iff nccl-nvls feature is enabled. Whether NVLS is
actually usable depends on topology — this flag indicates
only that the build path is compiled in.
has_sharp: boolSHARP support is reported via NCCL_NET_PLUGIN; this probe
reports false until we wire the plugin query.
Implementations§
Trait Implementations§
Source§impl Clone for NcclCapabilities
impl Clone for NcclCapabilities
Source§fn clone(&self) -> NcclCapabilities
fn clone(&self) -> NcclCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NcclCapabilities
impl Debug for NcclCapabilities
Source§impl Default for NcclCapabilities
impl Default for NcclCapabilities
Source§fn default() -> NcclCapabilities
fn default() -> NcclCapabilities
Returns the “default value” for a type. Read more
Source§impl PartialEq for NcclCapabilities
impl PartialEq for NcclCapabilities
impl Copy for NcclCapabilities
impl Eq for NcclCapabilities
impl StructuralPartialEq for NcclCapabilities
Auto Trait Implementations§
impl Freeze for NcclCapabilities
impl RefUnwindSafe for NcclCapabilities
impl Send for NcclCapabilities
impl Sync for NcclCapabilities
impl Unpin for NcclCapabilities
impl UnsafeUnpin for NcclCapabilities
impl UnwindSafe for NcclCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more