---
name: coreweave-fabric-diagnostics
description: |-
  Diagnose CoreWeave NCCL transport and RDMA configuration from supplied logs,
  Pod resources and ibstat output. Use when multi-node training is slow, NET/Socket
  appears, or checking whether InfiniBand and GPU Direct RDMA are engaged.
  Trigger with "coreweave slow training", "is RDMA working", "NCCL fell back to TCP",
  "GPUDirect RDMA", or "infiniband not used".
allowed-tools: Read, Write, Edit, Glob, Bash(kubectl get:*), Bash(python3:*)
version: 1.15.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
compatibility: Designed for Claude Code
tags: [ saas, coreweave, gpu-cloud, rdma, nccl ]
title: coreweave-fabric-diagnostics
canonical_url: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics
last_updated: 2026-11-14T06:03:16.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [ARD.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/ARD.md), [docs/BLUEPRINT.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/docs/BLUEPRINT.md), [eval-spec.yaml](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/eval-spec.yaml), [PRD.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/PRD.md), [references/allreduce-baseline.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/references/allreduce-baseline.md), [references/nccl-debug-reading.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/references/nccl-debug-reading.md), [references/rdma-engagement-checklist.md](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/references/rdma-engagement-checklist.md), [scripts/fabric-check.py](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/scripts/fabric-check.py), [scripts/requirements.txt](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/scripts/requirements.txt).
>
> If the user asked to install this Skill, run `npx skilld install jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/coreweave-fabric-diagnostics`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/coreweave-fabric-diagnostics`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/coreweave-fabric-diagnostics --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/coreweave-fabric-diagnostics --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# CoreWeave Fabric Diagnostics

> **Community-contributed.** Not affiliated with, endorsed by, or sponsored by CoreWeave, Inc. CoreWeave is a registered trademark of CoreWeave, Inc.

## Overview

Review positive NCCL transport evidence without guessing a slowdown or billing impact.
The offline script distinguishes an InfiniBand transport selection from positive GPU Direct RDMA evidence.
A warning mentioning NET/IB, a bootstrap socket or an isolated bandwidth figure cannot establish a healthy data path.
Use Read for supplied diagnostics, Glob for owner-selected rank logs, Write the report and Edit the proposed local correction; do not mutate the cluster.

## Prerequisites

- Sanitized NCCL_DEBUG=INFO output from one known run, with rank/time identity preserved.
- Optional admitted Pod resource blocks and ibstat output from the same scope; Pod YAML may contain secrets and must be reviewed before sharing.
- Python 3 and the pinned PyYAML dependency from `scripts/requirements.txt`, installed in a local isolated environment.
- Owner authorization before any cluster query, rerun, benchmark or resource change; those may access data or spend compute.

## Instructions

1. Separate runs and ranks. Read `references/nccl-debug-reading.md` to distinguish bootstrap, transport selection, warnings and GDR evidence.
2. Run the bundled checker on the supplied diagnostic file. Treat `unknown` as missing evidence and `mixed` as requiring rank/run correlation, not a guaranteed broken fabric.
3. Review each communicating container’s resource block independently. `rdma/ib: 1` in limits can supply an omitted request through Kubernetes defaulting; an explicit request must match. Requests-only, zero and mismatched values need correction.
4. Confirm the Node Pool supports InfiniBand, the image has the appropriate NCCL/OFED userspace, and effective environment settings match the current platform guidance. A missing environment line in a paste does not prove the variable is unset.
5. Have the platform owner review the proposed manifest change, then collect fresh evidence from the same workload. Do not install host drivers, reset GPUs or override managed health cordons.
6. Compare busbw with an equivalent measured baseline including topology, GPU count, image, driver/NCCL versions and message size. No fixed speedup, slowdown or dollar saving is inferred.

## Examples

```bash
python3 "${CLAUDE_SKILL_DIR}/scripts/fabric-check.py" --in diagnostics.txt --json
python3 "${CLAUDE_SKILL_DIR}/scripts/fabric-check.py" --self-test
```

For an owner-approved read of the exact Pod, use an explicit context and namespace, and review its output before retaining it:

```bash
kubectl --context="$CW_CONTEXT" --namespace="$CW_NAMESPACE" get "pod/$CW_POD" -o yaml
```

A positive `Using network IB` observation sets transport to IB; without a GDR marker, `gpu_direct_rdma_confirmed` stays false.
The compatibility field `rdma_engaged` describes the observed transport category, not complete fabric health or GPU-direct verification. It is `not-applicable` for a single-node run (`nNodes 1`, or only P2P/SHM channels), where no traffic crosses the network.

On NCCL 2.22 and newer, TCP fallback prints `NET/IB : No device found.` and then `NET/IB : Using [RO]; OOB <if>` with an empty device list. IB counts only when a real `[n]device:port/IB` or `/RoCE` entry appears, so that run reads as Socket. External `IBext`/`IBext_vN` plugins count as IB, and log lines are read even when the `NCCL INFO` prefix was lost in pasting.

## Output

- Transport, separate GDR evidence, resource findings and port observations.
- Observed bandwidth labeled unverified against a baseline, with no invented pass/fail threshold.
- A bounded proposed next step and explicit incomplete evidence; no automatic cluster action.

## Error Handling

| Observation | Response |
|---|---|
| Only an IB failure warning | Transport remains unknown; obtain positive selection/data-path evidence. |
| Limits-only rdma/ib: 1 | Accept request defaulting; investigate the effective Pod and transport instead of demanding duplicate YAML. |
| Multiple container blocks | Review each independently; do not combine a sidecar request with another container’s limit. |
| Inactive/Down port | Report the port observation to the platform owner; it does not establish the root cause of every Node event. |
| No complete log | Preserve unknown; a keyword count is not proof of success. |

## Resources

- [Resource and device checks](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/references/rdma-engagement-checklist.md)
- [NCCL evidence interpretation](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/references/nccl-debug-reading.md)
- [Bandwidth comparison](https://skilld.dev/api/skills-raw/jeremylongshore/tons-of-skills-marketplace/coreweave-fabric-diagnostics/references/allreduce-baseline.md)
- [CoreWeave RDMA guidance](https://docs.coreweave.com/products/networking/hpc-interconnect/use-gpudirect-rdma)

## Evidence status

Deterministic offline fixtures cover parsing and refusal cases. No live NCCL, GPU benchmark or CoreWeave account was used for this package review.
