Repository Analysis

NVIDIA/nccl

Optimized primitives for collective multi-GPU communication

9.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NVIDIA/nccl, a C++ project with 4,924 GitHub stars. SynthScan v2.0 examined 167,947 lines of code across 666 source files, recording 1027 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 9.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

9.4
Adjusted Score
9.4
Raw Score
100%
Time Factor
2026-08-01
Last Push
4.9K
Stars
C++
Language
167.9K
Lines of Code
666
Files
1.0K
Pattern Hits
2026-08-02
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 35MEDIUM 204LOW 788

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1027 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators188 hits · 630 pts
SeverityFileLineSnippetContext
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py26 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py28 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py43 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py45 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py54 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py56 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py79 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py81 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py94 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py96 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py116 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py118 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py142 # =========================================================================COMMENT
MEDIUM…_point_to_point/01_ring_pattern/python/ring_pattern.py144 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py42 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py44 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py59 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py61 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py83 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py85 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py99 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py101 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py117 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py119 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py131 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py133 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py146 # =========================================================================COMMENT
MEDIUM…uffer_registration/01_allreduce/python/allreduce_ub.py148 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py26 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py28 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py39 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py41 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py50 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py52 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py72 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py74 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py86 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py88 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py107 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py109 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py125 # =========================================================================COMMENT
MEDIUM…amples/03_collectives/01_allreduce/python/allreduce.py127 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py26 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py28 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py51 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py53 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py62 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py64 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py89 # =========================================================================COMMENT
MEDIUM…ngle_process/python/multiple_devices_single_process.py91 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py40 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py42 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py57 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py59 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py82 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py84 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py98 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py100 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py112 # =========================================================================COMMENT
MEDIUM…e_per_process_mpi/python/one_device_per_process_mpi.py114 # =========================================================================COMMENT
128 more matches not shown…
Over-Commented Block442 hits · 370 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt141 endif()COMMENT
LOWplugins/tuner/example/plugin.c1/*************************************************************************COMMENT
LOWplugins/tuner/example/plugin.c21#define CONFIG_FIELD_ALGORITHM 3COMMENT
LOWplugins/tuner/example/nccl/tuner.h41#define NCCL_PROTO_UNDEF -1COMMENT
LOWplugins/tuner/example/nccl/tuner.h81COMMENT
LOWplugins/tuner/example/nccl/tuner.h101 // Gets info (algo, protocol, number of ctas and threads) for a given collective.COMMENT
LOWplugins/tuner/example/nccl/tuner.h141 // Inputs:COMMENT
LOWplugins/tuner/example/nccl/tuner.h161 // - numProto: number of protocols in collCostTableCOMMENT
LOWplugins/tuner/example/nccl/tuner.h181 // context: tuner context objectCOMMENT
LOWplugins/tuner/basic/nccl/tuner.h41#define NCCL_PROTO_UNDEF -1COMMENT
LOWplugins/tuner/basic/nccl/tuner.h61COMMENT
LOWplugins/net/CMakeLists.txt1# Since all the plugins generate binary with the same name, build only one of themCOMMENT
LOWplugins/net/README.md81 // Connect to a handle and return a sending comm object for that peer.COMMENT
LOWplugins/net/example/nccl/net.h21COMMENT
LOWplugins/net/example/nccl/net_v6.h21 int maxRecvs; // Maximum number of grouped receives.COMMENT
LOWplugins/net/example/nccl/net_v6.h41 ncclResult_t (*connect)(int dev, void* handle, void** sendComm);COMMENT
LOWplugins/net/example/nccl/net_v2.h21 // as data from the current GPU. Supported types should be composed withCOMMENT
LOWplugins/net/example/nccl/net_v8.h41 // This call must not block for the connection to be established, and insteadCOMMENT
LOWplugins/net/example/nccl/net_v10.h41 size_t maxCollBytes; // Max transfer size for collective operationsCOMMENT
LOWplugins/net/example/nccl/net_v10.h61 // If *sendDevComm points to a valid object, then NCCL is requesting device offload for this connectionCOMMENT
LOWplugins/net/example/nccl/net_v5.h21 // Create a receiving object and provide a handle to connect to it. TheCOMMENT
LOWplugins/net/example/nccl/net_v4.h41 ncclResult_t (*accept)(void* listenComm, void** recvComm);COMMENT
LOWplugins/net/example/nccl/net_v11.h61COMMENT
LOWplugins/net/example/nccl/net_v11.h81 // Finalize connection establishment after remote peer has called connect.COMMENT
LOWplugins/net/example/nccl/net_v7.h41 // should return successfully with sendComm == NULL with the expectation thatCOMMENT
LOWplugins/net/example/nccl/net_v12.h81 // it will be called again until sendComm != NULL.COMMENT
LOWplugins/net/example/nccl/net_v9.h41 // Return the number of adapters.COMMENT
LOWplugins/net/example/nccl/net_v9.h61 // Register/Deregister memory. Comm can be either a sendComm or a recvComm.COMMENT
LOWplugins/net/example/nccl/net_v3.h21 // Get various device properties.COMMENT
LOWplugins/profiler/README.md61 // InputCOMMENT
LOWplugins/profiler/README.md81 // stopEvent - stop/finalize an event inside and event setCOMMENT
LOWplugins/profiler/inspector/inspector_ring.h1#ifndef INSPECTOR_INSPECTOR_RING_H_COMMENT
LOWplugins/profiler/inspector/inspector.h281 struct inspectorCommInfoList liveComms;COMMENT
LOWplugins/profiler/inspector/nccl/profiler_v4.h81 struct {COMMENT
LOWplugins/profiler/inspector/nccl/profiler_v4.h101COMMENT
LOWplugins/profiler/inspector/nccl/profiler_v3.h81typedef struct {COMMENT
LOWplugins/profiler/inspector/nccl/profiler_v3.h101 // - eHandle: handle to event objectCOMMENT
LOWplugins/profiler/inspector/nccl/profiler_v2.h81 ncclResult_t (*init)(void** context, int* eActivationMask);COMMENT
LOWplugins/profiler/inspector/nccl/profiler_v1.h81 // InputCOMMENT
LOWplugins/profiler/inspector/nccl/profiler_v1.h101 // InputCOMMENT
LOWplugins/profiler/inspector/nccl/profiler_v5.h121 // - logfn : logger functionCOMMENT
LOWplugins/profiler/inspector/nccl/profiler_v5.h141 // - eHandle : handle to event object created through startEventCOMMENT
LOWplugins/profiler/example/event.h1/*************************************************************************COMMENT
LOWplugins/profiler/example/nccl/profiler_v4.h81COMMENT
LOWplugins/profiler/example/nccl/profiler_v4.h101 // - eDescr : pointer to ncclProfilerEventDescr_t objectCOMMENT
LOWplugins/profiler/example/nccl/profiler_v3.h81COMMENT
LOWplugins/profiler/example/nccl/profiler_v3.h101COMMENT
LOWplugins/profiler/example/nccl/profiler_v2.h81 // startEvent - initialize and start a new event for the supplied event descriptor inside the eventsetCOMMENT
LOWplugins/profiler/example/nccl/profiler_v1.h81 // - eActivationMask: bitmask of active events set by the pluginCOMMENT
LOWplugins/profiler/example/nccl/profiler_v5.h121 // - rank : rank identifier in communicatorCOMMENT
LOWplugins/profiler/example/nccl/profiler_v5.h141 // InputCOMMENT
LOWplugins/gin/example/nccl/gin_v13.h21typedef struct {COMMENT
LOWdocs/examples/common/include/utils.h1/*************************************************************************COMMENT
LOWcontrib/nccl_checkpoint/shim_core.h1#pragma onceCOMMENT
LOWcontrib/nccl_m2n/tests/CMakeLists.txt1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcontrib/nccl_m2n/tests/basic_api_test_core.h21 *COMMENT
LOWcontrib/nccl_m2n/tests/run_basic_api_tests.sh1#!/usr/bin/env bashCOMMENT
LOWcontrib/nccl_m2n/third_party/nlohmann/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOWcontrib/nccl_m2n/third_party/nlohmann/json.hpp41// SPDX-License-Identifier: MITCOMMENT
LOWcontrib/nccl_m2n/third_party/nlohmann/json.hpp61 #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PACOMMENT
382 more matches not shown…
Docstring Block Structure24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHbindings/nccl4py/nccl/core/communicator.py324Initializes a new NCCL communicator. Creates a communicator that connects multiple ranks. This is a colSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py352Initializes multiple NCCL communicators for single-process multi-GPU operations. Creates an array of NCCL commuSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py455Splits this communicator into sub-communicators based on color values. Ranks that pass the same ``color`` valueSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py507Creates a new communicator by removing specified ranks from this one. Ranks listed in ``exclude_ranks`` are excSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py586Grows the communicator by adding new ranks. Creates a new communicator that includes both existing ranks from STRING
HIGHbindings/nccl4py/nccl/core/communicator.py1584Registers a buffer with this communicator for zero-copy communication. Registered buffers can enable performancSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py1622Collectively registers a local buffer into an NCCL window. This is a collective call: every rank in the communiSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py1680Creates a PreMulSum custom reduction operator. Performs ``output = scalar * sum(inputs)`` and is useful for STRING
HIGHbindings/nccl4py/nccl/core/communicator.py1790Creates a device communicator for device-side NCCL operations. Device communicators enable direct GPU kernel acSTRING
HIGHbindings/nccl4py/nccl/core/communicator.py1889Queries communicator memory statistics. Args: stat: The memory statistic to query. ReturnsSTRING
HIGHbindings/nccl4py/nccl/core/resources.py241Returns the LSA multicast device pointer for this window. Returns a device pointer suitable for multicast operaSTRING
HIGHbindings/nccl4py/nccl/core/resources.py261Returns the LSA device pointer for a peer within the LSA team. Returns a device pointer to the peer's window buSTRING
HIGHbindings/nccl4py/nccl/core/resources.py280Returns a device pointer to a peer's window buffer by world rank. If the peer is not reachable via LSA, returnsSTRING
HIGHbindings/nccl4py/nccl/core/typing.py236Maps a NumPy dtype to its NCCL equivalent. Args: dtype: A NumPy dtype. Mapped first by name (for ``STRING
HIGHbindings/nccl4py/nccl/core/interop/cupy.py32Converts a CuPy dtype to NcclDataType. CuPy dtypes are NumPy dtype objects, so resolution is delegated to :py:mSTRING
HIGHbindings/nccl4py/nccl/core/interop/cupy.py67Allocates an NCCL-backed CuPy array on the current device. Args: shape: Shape of the array. dtype: STRING
HIGHbindings/nccl4py/nccl/core/interop/cupy.py98Creates an uninitialized CuPy array backed by NCCL-allocated memory. Returns an array filled with uninitialized datSTRING
HIGHbindings/nccl4py/nccl/core/interop/cupy.py150Resolves a CuPy array to its NCCL buffer descriptor. Args: array: CuPy array to resolve. Returns: STRING
HIGHbindings/nccl4py/nccl/core/interop/torch.py32Converts a PyTorch dtype to NcclDataType. torch.bool is mapped to UINT8 for convenience. float8_e4m3fn and floaSTRING
HIGHbindings/nccl4py/nccl/core/interop/torch.py84Parses a device specification into a CUDA device index. Args: device: Device specification (torch.device, iSTRING
HIGHbindings/nccl4py/nccl/core/interop/torch.py120Allocates an NCCL-backed PyTorch tensor. Args: shape: Shape of the tensor. dtype: PyTorch data typeSTRING
HIGHbindings/nccl4py/nccl/core/interop/torch.py166Creates an uninitialized PyTorch tensor backed by NCCL-allocated memory. Returns a tensor filled with uninitializedSTRING
HIGHbindings/nccl4py/nccl/core/interop/torch.py225Resolves a PyTorch tensor to its NCCL buffer descriptor. Args: tensor: PyTorch tensor to resolve. RetuSTRING
HIGHbindings/nccl4py/nccl/ep/interop/torch.py31Create a fresh NCCL communicator that mirrors *group*'s membership. Args: group: A torch ``ProcessGroup``; STRING
Unused Imports112 hits · 111 pts
SeverityFileLineSnippetContext
LOWplugins/tuner/example/scripts/optimize_config.py45CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py18CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py24CODE
LOWcontrib/nccl_checkpoint/gen_shim.py24CODE
LOWcontrib/nccl_checkpoint/gen_shim.py25CODE
LOW…nccl_checkpoint/python/nccl_checkpoint/nccl_wrapper.py6CODE
LOW…rib/nccl_checkpoint/python/nccl_checkpoint/__init__.py4CODE
LOW…rib/nccl_checkpoint/python/nccl_checkpoint/__init__.py5CODE
LOW…rib/nccl_checkpoint/python/nccl_checkpoint/__init__.py5CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py4CODE
LOWcontrib/nccl_checkpoint/python/tests/test_kv_store.py4CODE
LOWcontrib/nccl_ep/ep_test.py21CODE
LOWcontrib/nccl_ubx/setup.py4CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py3CODE
LOWcontrib/nccl_ubx/bench/ubx_bench/runner.py3CODE
LOWcontrib/nccl_ubx/bench/ubx_bench/configs.py3CODE
LOWcontrib/nccl_ubx/bench/ubx_bench/__main__.py7CODE
LOWcontrib/nccl_ubx/bench/ubx_bench/report.py3CODE
LOWcontrib/nccl_ubx/bench/ubx_bench/report.py7CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_reduce.py3CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_reduce.py10CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_gather.py3CODE
LOW…ubx/bench/ubx_bench/collectives/a2av_token_dispatch.py21CODE
LOW…trib/nccl_ubx/bench/ubx_bench/collectives/alltoallv.py3CODE
LOW…trib/nccl_ubx/bench/ubx_bench/collectives/alltoallv.py5CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_to_all.py3CODE
LOW…nccl_ubx/bench/ubx_bench/collectives/reduce_scatter.py3CODE
LOW…b/nccl_ubx/bench/ubx_bench/collectives/a2av_combine.py14CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/a2av_mxfp8.py3CODE
LOWcontrib/nccl_ubx/tests/conftest.py5CODE
LOWcontrib/nccl_ubx/tests/test_allocator_pool.py8CODE
LOWcontrib/nccl_ubx/tests/test_allocator_pool.py10CODE
LOWcontrib/nccl_ubx/tests/test_allocator_pool.py10CODE
LOW…nccl_ubx/tests/distributed/_workers/_run_a2av_mxfp8.py19CODE
LOW…sts/distributed/_workers/_run_alltoall_lamport_hang.py21CODE
LOWcontrib/nccl_ubx/ubx/_api_registry.py33CODE
LOWcontrib/nccl_ubx/ubx/_api_registry.py35CODE
LOWcontrib/nccl_ubx/ubx/fused.py8CODE
LOWcontrib/nccl_ubx/ubx/__init__.py20CODE
LOWcontrib/nccl_ubx/ubx/__init__.py21CODE
LOWcontrib/nccl_ubx/ubx/__init__.py22CODE
LOWcontrib/nccl_ubx/ubx/__init__.py22CODE
LOWcontrib/nccl_ubx/ubx/__init__.py22CODE
LOWcontrib/nccl_ubx/ubx/__init__.py23CODE
LOWcontrib/nccl_ubx/ubx/__init__.py24CODE
LOWcontrib/nccl_ubx/ubx/__init__.py25CODE
LOWcontrib/nccl_ubx/ubx/__init__.py25CODE
LOWcontrib/nccl_ubx/ubx/__init__.py25CODE
LOWcontrib/nccl_ubx/ubx/__init__.py25CODE
LOWcontrib/nccl_ubx/ubx/tensor.py3CODE
LOWcontrib/nccl_ubx/ubx/tensor.py9CODE
LOWcontrib/nccl_ubx/ubx/ops.py7CODE
LOWcontrib/nccl_ubx/ubx/ops.py15CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py13CODE
LOWcontrib/nccl_ubx/ubx/allocator.py11CODE
LOWbindings/nccl4py/nccl/__init__.py14CODE
LOWbindings/nccl4py/nccl/__init__.py15CODE
LOWbindings/nccl4py/nccl/__init__.py15CODE
LOWbindings/nccl4py/nccl/__init__.py15CODE
LOWbindings/nccl4py/nccl/__init__.py15CODE
52 more matches not shown…
Hyper-Verbose Identifiers88 hits · 89 pts
SeverityFileLineSnippetContext
LOWplugins/tuner/example/scripts/optimize_config.py104 def auto_determine_size_ranges(self, data: List[PerformanceData]) -> Dict[Tuple[int, int], List[Tuple[int, int]]]:CODE
LOWplugins/tuner/example/scripts/optimize_config.py262 def combine_sequential_ranges(self, configs: List[Dict]) -> List[Dict]:CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py46def get_log_files_and_output_dir():CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py127def microseconds_to_human_readable(microseconds):CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py206def create_per_node_parquet_files(files, output_dir):CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py244def generate_combined_scatter_plot(df, comm_type, coll_type, output_file, max_cols=3):CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py356def summarize_data_per_comm_coll_type(output_root, comm_type, coll_type, output_dir_name):CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py271def synchronize_multidevice_or_timeout(comms, timeout_s: float = 5.0) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py219def _expect_restore_unsafe_prepare_failure(request: pytest.FixtureRequest) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py324def _finalize_and_destroy_many(comms) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py350def test_empty_checkpointrestore(request: pytest.FixtureRequest, kvs_fixture, rank_info) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py469def test_restore_unsafe_window_user_ptr_prepare_fails(request: pytest.FixtureRequest, kvs_fixture, rank_info) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py493def test_restore_unsafe_custom_redop_prepare_fails(request: pytest.FixtureRequest, kvs_fixture, rank_info) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py510def test_restore_unsafe_dev_comm_prepare_fails(request: pytest.FixtureRequest, kvs_fixture, rank_info) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py583def test_even_ranks_two_gpus_same_process(request: pytest.FixtureRequest, kvs_fixture, comm_blocking: bool, rank_info) -CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py669def test_split_shared_resources_nocolor(request: pytest.FixtureRequest, kvs_fixture, comm_blocking: bool, rank_info) -> CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py702def test_shrink_shared_resources_excluded(request: pytest.FixtureRequest, kvs_fixture, comm_blocking: bool, rank_info) -CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py798def test_grow_preserves_parent(request: pytest.FixtureRequest, kvs_fixture, comm_blocking: bool, rank_info) -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_kv_store.py176def test_kv_set_get_round_trip() -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_kv_store.py184def test_kv_missing_key_timeout_is_quiet_until_timeout() -> None:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_kv_store.py196def test_kv_connect_timeout_is_reported_once() -> None:CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py16 def test_parse_size_case_insensitive(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py21 def test_bench_config_defaults(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py35 def test_size_sweep_multiplicative(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py41 def test_backends_to_test_all(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py46 def test_backends_to_test_single(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py51 def test_backends_to_test_comma_separated(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py60 def test_compute_bandwidth_allreduce(self):CODE
LOWcontrib/nccl_ubx/bench/tests/test_smoke.py66 def test_compute_bandwidth_zero_time(self):CODE
LOWcontrib/nccl_ubx/tests/conftest.py8def pytest_collection_modifyitems(config, items):CODE
LOWcontrib/nccl_ubx/tests/test_symm_tensor.py118 def test_view_size_mismatch_raises(self, mock_pool, cuda_device):CODE
LOWcontrib/nccl_ubx/tests/test_symm_tensor.py127 def test_view_multiple_minus_one_raises(self, mock_pool, cuda_device):CODE
LOWcontrib/nccl_ubx/tests/test_symm_tensor.py183 def test_wrong_pool_dtype_raises(self, cuda_device):CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py192def test_query_api_no_params_returns_ok():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py266def test_query_supported_hw_global_aggregate():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py277def test_query_supported_hw_per_api():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py285def test_query_supported_hw_unknown_api_returns_error():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py291def test_query_supported_hw_aggregate_is_immutable():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py309def test_replay_param_added_optional():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py319def test_replay_param_added_required():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py329def test_replay_param_removed():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py339def test_replay_param_renamed():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py391def test_replay_sm_min_changed():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py399def test_replay_api_removed_sets_removed_in():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py407def test_replay_api_renamed_carries_spec_to_new_name():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py447def test_query_api_advises_when_param_was_removed():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py136def test_get_version_matches_constant():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py140def test_api_log_is_a_list_of_events():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py213def test_query_api_unknown_name_returns_not_found(bogus_name):CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py221def test_query_api_unknown_param_returns_params_changed():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py238def test_query_api_multiple_unknown_params_listed_sorted():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py248def test_query_api_extra_optional_params_are_ok():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py352def test_replay_param_made_optional():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py362def test_replay_param_made_required():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py419def test_replay_description_changed():CODE
LOWcontrib/nccl_ubx/tests/test_api_registry.py429def test_replay_unknown_kind_is_ignored_forward_compat():CODE
LOWcontrib/nccl_ubx/tests/test_backend_detection.py27 def test_get_cuda_sm_version_no_crash(self):CODE
LOWcontrib/nccl_ubx/tests/test_routing.py131def test_max_tokens_per_rank_is_symmetric():CODE
LOWcontrib/nccl_ubx/tests/test_routing.py143def test_unrouted_entries_are_minus_one():CODE
LOWcontrib/nccl_ubx/tests/test_routing.py151def test_all_tokens_same_expert():CODE
28 more matches not shown…
Excessive Try-Catch Wrapping51 hits · 74 pts
SeverityFileLineSnippetContext
MEDIUMplugins/tuner/example/scripts/optimize_config.py179 print(f"Error: File {csv_file} not found")CODE
LOWplugins/tuner/example/scripts/optimize_config.py181 except Exception as e:CODE
MEDIUMplugins/tuner/example/scripts/optimize_config.py182 print(f"Error reading {csv_file}: {e}")CODE
MEDIUMplugins/tuner/example/scripts/optimize_config.py367 print(f"Error: Permission denied writing to {config_file}")CODE
MEDIUMplugins/tuner/example/scripts/optimize_config.py371 print(f"Error: Cannot create/write to {config_file}: {e}")CODE
LOWplugins/tuner/example/scripts/optimize_config.py374 except Exception as e:CODE
MEDIUMplugins/tuner/example/scripts/optimize_config.py409 print("Error: Invalid size ranges format. Use 'min1-max1,min2-max2,...'")CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py193 except Exception as e:CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py388 except Exception as e:CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py422 except Exception as e:STRING
MEDIUMcontrib/nccl_checkpoint/python/tests/test_unittest.py30def _pick_local_port() -> int:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py263 except Exception:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py174 except Exception as err:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py297 except Exception:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py338 except Exception:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py587 except Exception as err:CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py610 except Exception as err:CODE
MEDIUMcontrib/nccl_ep/ep_test.py189 print("Error: nRanks must be 2, 4 or multiple of 8 for this test")CODE
MEDIUMcontrib/nccl_ep/ep_test.py195 print("Error: -m is only applicable to HT mode (-a ht)")CODE
MEDIUMcontrib/nccl_ep/ep_test.py197 print("Error: -m (NCCL_EP_AUTO for max_dispatch_tokens_per_rank) is not yet supported.\n"CODE
MEDIUMcontrib/nccl_ep/ep_test.py210 print(f"Error: num_experts ({num_experts}) must be divisible by nRanks ({n_ranks})")CODE
MEDIUMcontrib/nccl_ep/ep_test.py214 print(f"Error: top_k ({top_k}) must be <= num_local_experts ({num_local_experts})")CODE
LOW…ubx/bench/ubx_bench/collectives/a2av_token_dispatch.py661 except Exception as e: # noqa: BLE001CODE
LOW…b/nccl_ubx/bench/ubx_bench/collectives/a2av_combine.py529 except Exception:CODE
LOW…/nccl_ubx/tests/distributed/_workers/_run_ubx_fused.py100 except Exception as e:CODE
LOW…/nccl_ubx/tests/distributed/_workers/_run_ubx_fused.py164 except Exception as e:CODE
LOW…/nccl_ubx/tests/distributed/_workers/_run_ubx_fused.py231 except Exception as e:CODE
LOW…/nccl_ubx/tests/distributed/_workers/_run_ubx_graph.py97 except Exception as e:CODE
LOW…/nccl_ubx/tests/distributed/_workers/_run_ubx_graph.py152 except Exception as e:CODE
LOW…ubx/tests/distributed/_workers/_run_ubx_convenience.py122 except Exception as e:CODE
LOW…rib/nccl_ubx/tests/distributed/_workers/_run_ubx_op.py132 except Exception as e:CODE
LOW…sts/distributed/_workers/_run_alltoall_lamport_hang.py183 except Exception as e:CODE
LOW…sts/distributed/_workers/_run_alltoall_lamport_hang.py198 except Exception as e:CODE
LOW…nccl_ubx/tests/distributed/_workers/_run_large_pool.py174 except Exception as e:CODE
LOW…nccl_ubx/tests/distributed/_workers/_run_large_pool.py186 except Exception as e:CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py32except Exception as _e: # pragma: no cover - depends on environmentCODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py59 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py76 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py327 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py333 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py342 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/_nccl_backend.py350 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/allocator.py186 except Exception as _e:CODE
LOWcontrib/nccl_ubx/ubx/allocator.py332 except Exception:CODE
LOWcontrib/nccl_ubx/ubx/allocator.py344 except Exception:CODE
MEDIUMcontrib/nccl_ubx/ubx/allocator.py341def __del__(self):CODE
LOWbindings/nccl4py/nccl/core/communicator.py1839 except Exception:CODE
LOWbindings/nccl4py/nccl/ep/tensor.py47 except Exception as e:CODE
LOWbindings/nccl4py/nccl/ep/interop/torch.py65 except Exception:CODE
LOWsrc/misc/generate_git_version.py34 except Exception:CODE
MEDIUMsrc/misc/generate_git_version.py30def run_git(cmd, fallback="unknown"):CODE
Deep Nesting40 hits · 38 pts
SeverityFileLineSnippetContext
LOWplugins/tuner/example/scripts/optimize_config.py104CODE
LOWplugins/tuner/example/scripts/optimize_config.py167CODE
LOWplugins/tuner/example/scripts/optimize_config.py206CODE
LOWplugins/tuner/example/scripts/optimize_config.py262CODE
LOW…er/inspector/exporter/example/perf_summary_exporter.py146CODE
LOWcontrib/nccl_checkpoint/gen_shim.py247CODE
LOWcontrib/nccl_checkpoint/gen_shim.py263CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py60CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py247CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py271CODE
LOWcontrib/nccl_checkpoint/python/tests/test_unittest.py583CODE
LOWcontrib/nccl_checkpoint/python/tests/test_kv_store.py82CODE
LOWcontrib/nccl_ep/ep_test.py162CODE
LOWcontrib/nccl_ubx/bench/ubx_bench/runner.py52CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_reduce.py75CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_gather.py14CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_gather.py78CODE
LOW…ubx/bench/ubx_bench/collectives/a2av_token_dispatch.py130CODE
LOW…ubx/bench/ubx_bench/collectives/a2av_token_dispatch.py240CODE
LOW…ubx/bench/ubx_bench/collectives/a2av_token_dispatch.py443CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_to_all.py14CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/all_to_all.py82CODE
LOW…nccl_ubx/bench/ubx_bench/collectives/reduce_scatter.py13CODE
LOW…b/nccl_ubx/bench/ubx_bench/collectives/a2av_combine.py48CODE
LOW…b/nccl_ubx/bench/ubx_bench/collectives/a2av_combine.py263CODE
LOW…rib/nccl_ubx/bench/ubx_bench/collectives/a2av_mxfp8.py32CODE
LOWcontrib/nccl_ubx/tests/test_routing.py94CODE
LOW…ib/nccl_ubx/tests/distributed/_workers/_run_combine.py97CODE
LOW…rib/nccl_ubx/tests/distributed/_workers/_run_ubx_op.py65CODE
LOW…cl_ubx/tests/distributed/_workers/_run_alltoall_e2e.py48CODE
LOW…sts/distributed/_workers/_run_alltoall_lamport_hang.py134CODE
LOWcontrib/nccl_ubx/ubx/_api_registry.py367CODE
LOWcontrib/nccl_ubx/ubx/tensor.py112CODE
LOWcontrib/nccl_ubx/ubx/allocator.py347CODE
LOWcontrib/nccl_ubx/ubx/allocator.py373CODE
LOWcontrib/nccl_ubx/ubx/allocator.py1013CODE
LOWbindings/nccl4py/nccl/core/communicator.py1675CODE
LOWbindings/nccl4py/nccl/core/interop/torch.py83CODE
LOWsrc/device/generate.py165CODE
LOWsrc/device/symmetric/generate.py99CODE
Cross-Language Confusion7 hits · 30 pts
SeverityFileLineSnippetContext
HIGHcontrib/nccl_checkpoint/python/tests/test_unittest.py276 event.record(cp.cuda.Stream.null)CODE
HIGHcontrib/nccl_checkpoint/python/tests/test_unittest.py249 event.record(cp.cuda.Stream.null)CODE
HIGH…ntrib/nccl_ubx/tests/distributed/test_ubx_fused_ops.py3These test the fused paths where gamma/residual_in are non-null,STRING
HIGH…/nccl_ubx/tests/distributed/_workers/_run_ubx_fused.py3Tests the fused paths where residual_in and/or gamma are non-null,STRING
HIGHbindings/nccl4py/nccl/core/communicator.py777 (0 if destroyed or null).STRING
HIGHbindings/nccl4py/nccl/core/communicator.py783 """Whether the communicator is valid (not destroyed or null)."""STRING
HIGHbindings/nccl4py/nccl/core/communicator.py1666 # But if status is Success and handle is still null, then we canCOMMENT
Modern Structural Boilerplate29 hits · 29 pts
SeverityFileLineSnippetContext
LOW…rib/nccl_checkpoint/python/nccl_checkpoint/__init__.py34__all__ = [CODE
LOWcontrib/nccl_ubx/ubx/__init__.py35__all__ = [CODE
LOWbindings/nccl4py/nccl/__init__.py17__all__ = [CODE
LOWbindings/nccl4py/nccl/_binding_helpers.py20__all__ = ["binding_dataclass"]CODE
LOWbindings/nccl4py/nccl/_show_versions.py28__all__ = ["LibraryInfo", "VersionInfo", "get_version", "show_versions"]CODE
LOWbindings/nccl4py/nccl/core/memory.py25__all__ = ["NcclMemoryResource", "get_memory_resource"]CODE
LOWbindings/nccl4py/nccl/core/constants.py15__all__ = [CODE
LOWbindings/nccl4py/nccl/core/__init__.py35__all__ = [CODE
LOWbindings/nccl4py/nccl/core/communicator.py59__all__ = [CODE
LOWbindings/nccl4py/nccl/core/utils.py36__all__ = [CODE
LOWbindings/nccl4py/nccl/core/buffer.py30__all__ = ["mem_alloc", "mem_free"]CODE
LOWbindings/nccl4py/nccl/core/group.py24__all__ = ["GroupSimInfo", "group_start", "group_end", "group"]CODE
LOWbindings/nccl4py/nccl/core/resources.py25__all__ = [CODE
LOWbindings/nccl4py/nccl/core/typing.py23__all__ = [CODE
LOWbindings/nccl4py/nccl/core/interop/cupy.py20__all__ = ["empty", "resolve_array"]CODE
LOWbindings/nccl4py/nccl/core/interop/torch.py20__all__ = ["empty", "resolve_tensor"]CODE
LOWbindings/nccl4py/nccl/core/device/cute/coop.py140__all__ = [CODE
LOWbindings/nccl4py/nccl/core/device/cute/comm.py225__all__ = [CODE
LOWbindings/nccl4py/nccl/core/device/cute/barrier.py363__all__ = [CODE
LOWbindings/nccl4py/nccl/core/device/cute/__init__.py43__all__ = [CODE
LOWbindings/nccl4py/nccl/core/device/cute/types.py52__all__ = [CODE
LOWbindings/nccl4py/nccl/core/device/cute/gin.py147__all__ = [CODE
LOWbindings/nccl4py/nccl/ep/enums.py16__all__ = ["Algorithm", "Layout", "PassDir"]CODE
LOWbindings/nccl4py/nccl/ep/handle.py30__all__ = [CODE
LOWbindings/nccl4py/nccl/ep/__init__.py54__all__ = [CODE
LOWbindings/nccl4py/nccl/ep/tensor.py20__all__ = ["Tensor"]CODE
LOWbindings/nccl4py/nccl/ep/group.py30__all__ = ["Group", "GroupConfig"]CODE
LOWbindings/nccl4py/nccl/ep/allocator.py74__all__ = ["AllocConfig", "AllocFn", "FreeFn"]CODE
LOWbindings/nccl4py/nccl/ep/interop/torch.py27__all__ = ["get_nccl_comm_from_group"]CODE
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…uffer_registration/01_allreduce/python/allreduce_ub.py0determine the local rank of this process on its physical node. uses mpi_comm_split_type with mpi_comm_type_shared to splSTRING
HIGH…e_per_process_mpi/python/one_device_per_process_mpi.py0determine the local rank of this process on its physical node. uses mpi_comm_split_type with mpi_comm_type_shared to splSTRING
HIGH…5_symmetric_memory/02_allgather/python/allgather_ce.py0determine the local rank of this process on its physical node. uses mpi_comm_split_type with mpi_comm_type_shared to splSTRING
HIGH…5_symmetric_memory/01_allreduce/python/allreduce_sm.py0determine the local rank of this process on its physical node. uses mpi_comm_split_type with mpi_comm_type_shared to splSTRING
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippetContext
LOWplugins/tuner/example/scripts/optimize_config.py298 # Check if ranges are adjacent or overlappingCOMMENT
LOWplugins/tuner/example/scripts/optimize_config.py337 # Check if file exists and has contentCOMMENT
LOW…er/inspector/exporter/example/perf_summary_exporter.py150 # Check if parquet file exists and is newer than source fileCOMMENT
LOW…er/inspector/exporter/example/perf_summary_exporter.py160 # Check if file is empty or too smallCOMMENT
LOW…er/inspector/exporter/example/perf_summary_exporter.py360 # Check if there are any parquet filesCOMMENT
LOW…er/inspector/exporter/example/perf_summary_exporter.py393 # Check if any valid files remainCOMMENT
LOWdocs/userguide/build_docs.sh19# Check if doc directory existsCOMMENT
LOWdocs/userguide/build_docs.sh25# Check if requirements.txt existsCOMMENT
LOWdocs/userguide/build_docs.sh92# Check if build was successfulCOMMENT
LOWcontrib/nccl_ubx/bench/ubx_bench/runner.py296 # Output results (rank 0 only)COMMENT
LOWbindings/nccl4py/examples/01_basic/01_allreduce.py45 # Assign GPU to each processCOMMENT
LOWbindings/nccl4py/examples/01_basic/02_send_recv.py51 # Assign GPU to each processCOMMENT
Structural Annotation Overuse9 hits · 16 pts
SeverityFileLineSnippetContext
LOW…er/inspector/exporter/example/perf_summary_exporter.py515 # Step 1: Summarize data per communication and collective typeCOMMENT
LOW…er/inspector/exporter/example/perf_summary_exporter.py518 # Step 2: Generate visualizations if data existsCOMMENT
LOWcontrib/nccl_ep/README.md236### Step 1: Build NCCL with Device API SupportCOMMENT
LOWcontrib/nccl_ep/README.md247### Step 2: Build NCCL EP Library and TestCOMMENT
LOW…ib/nccl_ubx/tests/distributed/_workers/_run_combine.py160 # Step 1: dispatch (bf16 wire) so expert_outputs are populated symmetrically.COMMENT
LOW…ib/nccl_ubx/tests/distributed/_workers/_run_combine.py171 # Step 2: combine.COMMENT
LOWsrc/include/nccl_device/impl/reduce_copy__impl.h418 // Step 1: Process scalar prefix to achieve alignment (if needed)COMMENT
LOWsrc/include/nccl_device/impl/reduce_copy__impl.h427 // Step 2: Process aligned bulk - match all_reduce.cuh strategy: check relative alignment and try pack sizesCOMMENT
LOWsrc/include/nccl_device/impl/reduce_copy__impl.h509 // Step 3: Scalar remainderCOMMENT
Verbosity Indicators8 hits · 15 pts
SeverityFileLineSnippetContext
LOW…er/inspector/exporter/example/perf_summary_exporter.py515 # Step 1: Summarize data per communication and collective typeCOMMENT
LOW…er/inspector/exporter/example/perf_summary_exporter.py518 # Step 2: Generate visualizations if data existsCOMMENT
LOW…ib/nccl_ubx/tests/distributed/_workers/_run_combine.py160 # Step 1: dispatch (bf16 wire) so expert_outputs are populated symmetrically.COMMENT
LOW…ib/nccl_ubx/tests/distributed/_workers/_run_combine.py171 # Step 2: combine.COMMENT
LOWsrc/include/nccl_device/impl/reduce_copy__impl.h418 // Step 1: Process scalar prefix to achieve alignment (if needed)COMMENT
LOWsrc/include/nccl_device/impl/reduce_copy__impl.h427 // Step 2: Process aligned bulk - match all_reduce.cuh strategy: check relative alignment and try pack sizesCOMMENT
LOWsrc/include/nccl_device/impl/reduce_copy__impl.h509 // Step 3: Scalar remainderCOMMENT
LOWsrc/include/nvtx3/nvtx3.hpp26/* This section handles the decision of whether to provide unversioned symbols.COMMENT
Self-Referential Comments3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMplugins/tuner/example/test/test_plugin.c569 fprintf(f, "# This file contains many configurations to test memory allocation\n");CODE
MEDIUMcontrib/nccl_ubx/tests/test_symm_tensor.py157 # Create a view — new SymmTensor at same offsetCOMMENT
MEDIUMbindings/nccl4py/nccl/core/communicator.py1776 # Create the custom reduction operatorCOMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWcontrib/nccl_ubx/tests/distributed/conftest.py93CODE
LOWcontrib/nccl_ubx/ubx/allocator.py476CODE
LOWcontrib/nccl_ubx/ubx/allocator.py523CODE
LOWcontrib/nccl_ubx/ubx/allocator.py570CODE
LOWbindings/nccl4py/nccl/core/device/cute/gin.py48CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcontrib/nccl_m2n/tests/run_basic_api_tests.sh8# Usage:COMMENT
LOWcontrib/nccl_ep/tests/run_tests.sh9# Usage:COMMENT
LOWmaint/run-clang-format.sh7# Usage:COMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbindings/nccl4py/nccl/core/communicator.py1667 # simply return None.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/include/collectives.h867 // Don't forget to receive at least once even if we don't send afterwardsCOMMENT