Nvshmem Configure Nic Pe Mapping
NVIDIAOfficialCreated by NVIDIA NVSHMEM Team
- Skill
- Workflow
- Software development
- Apache-2.0
- Medium risk
- Has scripts
From the skill’s files
Taken from the skill’s own files (its description, section headings and stated usage). Not an AutoGineer summary, and not written by the author as one.
Recommend NVSHMEM NIC-to-PE mappings and environment exports. Use for HCA selection, multi-NIC configuration, or topology-based mapping diagnostics. Produce a reproducible recommendation from the target node's actual GPU/NIC topology. Do not promise a performance improvement; present the mapping as a topology-informed starting point that must be validated.
What it does
- Purpose
- Requirements
- Inputs
- Scripts
- Read the Required References
- Instructions
When to use it
- Use for HCA selection, multi-NIC configuration, or topology-based mapping diagnostics.
Advantages
The skill’s files do not state this.
Usage examples
- “My 4 local PEs are bound to GPUs 0–3. Given this target-node collector output and NVSHMEM 3.8.0 IBRC, recommend the closest balanced InfiniBand port mapping and exact exports.”
- The agent follows the skill's steps for this request, as the skill's files describe.
- “We have 2 PEs and 5 active Ethernet/RoCE ports. Use this PE-to-GPU binding and initialization log to show the supported subset and multi-NIC alternatives without selecting one silently.”
- The agent follows the skill's steps for this request, as the skill's files describe.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/nvidia/nvshmem-configure-nic-pe-mapping/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip nvshmem-configure-nic-pe-mapping.zip -d .agents/skills
Documentation by NVIDIA NVSHMEM Team
Tune NVSHMEM NIC-to-PE Mapping
Purpose
Produce a reproducible recommendation from the target node's actual GPU/NIC topology. Do not promise a performance improvement; present the mapping as a topology-informed starting point that must be validated.
Requirements
Use an allocated target compute node with visible GPUs and RDMA devices; do not use login-node topology as evidence.
Make
nvidia-smiand/sys/class/infinibandreadable on that node. If/sysis unavailable, makeibv_devinfoavailable or provide equivalent per-port evidence.Provide the NVSHMEM installation prefix, make
nvshmem-infoavailable on the target node, or supply the installed NVSHMEM version explicitly.Use the bundled read-only collector when possible. It requires no API keys, credentials, package installation, or writable filesystem access.
Inputs
Resolve every required input before emitting exact exports. If values from different sources conflict, identify the conflict and request clarification rather than selecting a value silently.
Required inputs
NVSHMEM version: Prefer the user-confirmed installed version; otherwise use the collector's
[nvshmem-version]output, thennvshmem-info -non the target node. Retain the complete reported version after normalizing a leadingv.Remote transport: Prefer the explicitly selected transport for the target run; otherwise use the target node's NVSHMEM initialization log. Do not infer a transport from topology; request a log when automatic selection is ambiguous.
Local PE count: Prefer observed per-rank logs, then launcher configuration, then an explicit user-provided count. Confirm that all evidence describes the same node allocation.
Ordered local
PE -> GPU index or PCI BDFbinding: Prefer observed per-rank binding logs, then launcher binding configuration, then an explicit user mapping. UseCUDA_VISIBLE_DEVICESonly when its rank order is explicitly established.Target-node GPU/NIC and HCA-port topology: Prefer the newest complete output from
scripts/collect-nic-topology.shon the target node. Otherwise use the listednvidia-smicommands plus per-port/sys/class/infinibandoribv_devinfoevidence. Include GPU and NIC PCI BDFs, port state, and link layer.
Optional inputs
Requested link layer: Use the user's explicit InfiniBand or Ethernet/RoCE preference. If absent, choose from observed active ports as described in step 5.
Excess-port policy: Use the user's explicit request to select a closest subset or use multiple NICs per PE. If absent, present supported alternatives conditionally and make no selection.
Current official documentation or citations: Obtain only when the user requests them or the version/transport matrix is insufficient. Use
$nvshmem-docsfor that check.
Scripts
| Script | Use | Invocation |
|---|---|---|
scripts/collect-nic-topology.sh | Collect read-only NVSHMEM version, GPU PCI, GPU/NIC topology, and RDMA-port evidence. It emits all evidence to stdout and may exit nonzero after producing useful partial output. | Resolve the script from this skill directory and invoke run_script("scripts/collect-nic-topology.sh", "--prefix", "/absolute/nvshmem/prefix") when the prefix is known, or omit --prefix to use environment/PATH discovery. |
Read the Required References
Read references/version-transport-matrix.md before interpreting or emitting any mapping variable.
Read references/topology-and-output.md before ranking NICs or formatting a recommendation.
Treat the bundled NVSHMEM 3.8 or later BLOCK contract as authoritative within its recorded transport scope. Do not invoke
$nvshmem-docsmerely to revalidate behavior that this contract resolves, including for releases later than 3.8.
Instructions
1. Resolve the NVSHMEM Version and Transport
Obtain the version from the user first. Otherwise use the collector's [nvshmem-version] evidence or run nvshmem-info -n when it is already available on the target node. Normalize a leading v and retain the complete reported version.
Classify the release as:
3.7 or earlier;
3.8 or later.
Do not assume latest or silently treat an unknown version as 3.8. If the version remains unknown, request the installed version before continuing.
Determine the selected remote transport: IBRC, IBDevX, IBGDA, GPUNetIO, UCX, or libfabric. If automatic selection makes the transport ambiguous, ask for the relevant initialization log or the intended transport.
2. Resolve Documentation Uncertainty
Use references/version-transport-matrix.md as the default authority for mapping behavior. Do not invoke $nvshmem-docs when the matrix or the bundled NVSHMEM 3.8 or later BLOCK contract resolves the version, transport, feature gate, and required mapping controls, including for a release later than 3.8.
Invoke the sibling $nvshmem-docs skill at ../nvshmem-docs/SKILL.md only when the matrix and bundled contract are insufficient or conflicting, exact feature-version applicability remains unclear, or the user explicitly requests live official documentation or citations. Follow that skill's version and citation workflow.
If a documentation check is needed but the sibling skill, an HTTPS retrieval tool, or the live official pages are unavailable:
continue from the matrix only when it resolves the needed behavior;
otherwise withhold final exports and identify the unresolved behavior;
label
Documentation freshness: unverifiedonly when a documentation check was attempted;state which official routes could not be checked; and
never invent a behavior that the matrix does not establish.
When a documentation check is performed, report the exact documentation edition consulted and any remaining uncertainty. Otherwise identify the applicable matrix section as the basis for the recommendation.
3. Collect Topology Evidence
When already running on the target compute node, tell the user that the skill is running a read-only collector. Before its first invocation in the current checkout, inspect the complete bundled collector script. Run only that inspected file; if it is unavailable or incomplete, do not execute it. Then run:
run_script("scripts/collect-nic-topology.sh")When the NVSHMEM installation prefix is known, pass its absolute path explicitly:
run_script("scripts/collect-nic-topology.sh", "--prefix", "/opt/nvshmem")Replace the example path with the absolute prefix. Without --prefix, discovery uses NVSHMEM_PREFIX, then nvshmem-info on PATH. Prefix libraries are scoped to that query. Exit 2 indicates incomplete evidence.
When not on the target node, ask the user for the collector's complete output from the target node. If the script is unavailable remotely, request all of:
nvshmem-info -n
nvidia-smi --query-gpu=index,pci.bus_id,name --format=csv,noheader
nvidia-smi topo -mAlso request, for every candidate HCA port, its HCA name, port number, PCI BDF, state, and link layer from /sys/class/infiniband or ibv_devinfo.
Do not run a collector from a login node and treat that topology as compute-node evidence.
4. Establish PE Placement
Obtain the number of local PEs per node. Assume nodes are homogeneous only after stating that assumption.
Obtain the ordered local PE -> GPU index or PCI BDF binding from explicit user input, launcher configuration, CUDA_VISIBLE_DEVICES, or per-rank logs. Do not infer a local PE's GPU solely from PE count or the order displayed by nvidia-smi topo -m.
If the binding is ambiguous, request it before producing an exact closest-NIC mapping. A conditional table is acceptable, but final exports are not. Do not bypass the missing binding by duplicating every usable NIC for every PE; that adds non-closest paths and is a different multi-port policy. Consider such an all-ports assignment only after the user explicitly requests it and accepts the distance tradeoff.
5. Filter and Rank Candidate Ports
Treat an HCA port, not merely an HCA device, as the selectable NIC unit.
Exclude inactive or physically down ports and record why each was excluded.
Partition active ports by link layer. Do not mix InfiniBand with Ethernet/RoCE by default.
Honor an explicitly requested link layer. Otherwise choose the larger active partition; prefer InfiniBand on an exact tie. Ask the user if that default conflicts with their fabric or provider intent.
Rank each bound GPU-to-port pair by
PIX < PXB < PHB < NODE < SYSfromnvidia-smi topo -m.Break equal-distance choices by lower assigned-port load, then canonical
hca:portorder.Share a port when fewer usable ports than PEs makes sharing necessary, while preserving distance first and balance second.
6. Resolve Excess NICs Explicitly
When usable NIC ports outnumber local PEs, stop before final exports and ask whether to:
select the closest balanced subset; or
use multiple NICs per PE.
Offer option 2 only when the resolved version and transport support it according to the matrix. Explain whether multi-NIC requires automatic distance assignment or supports an explicit BLOCK mapping. If the user does not answer, show both supported alternatives as conditional recommendations and do not choose silently.
If the user asked to use all NICs but the resolved version/transport does not support multi-NIC, explain the restriction and request approval to use the closest subset. Do not treat the unsupported request as implicit approval for a subset, and do not emit final exports until the user confirms it. When only the subset is supported, present that single supported choice for confirmation instead of offering a disabled multi-NIC option.
7. Synthesize Exactly One Selection Mechanism
Prefer NVSHMEM_HCA_PE_MAPPING for exact assignments. Use NVSHMEM_HCA_LIST only when selecting an eligible set and accepting transport-canonical ordering. Never set both variables.
Apply the version/transport rules in the matrix exactly:
For 3.7 and earlier, preserve one expanded mapping slot per PE for explicit IB mappings. Use automatic distance assignment for supported multi-NIC paths.
For 3.8 or later, apply the bundled BLOCK contract: set
NVSHMEM_ENABLE_NIC_PE_MAPPING=1for explicit assignments andNVSHMEM_ENABLE_MULTI_PORT=1whenever recommending more than one NIC per PE.For UCX and libfabric, explain the provider-controlled boundary and do not fabricate common-HCA exact mappings.
Build NVSHMEM_HCA_PE_MAPPING with explicit hca:port:count entries. Expand every count before explaining which slots each PE receives. Preserve duplicates when intentional sharing is required.
Keep a mapping-only export block limited to NIC-assignment controls. Do not add NVSHMEM_REMOTE_TRANSPORT or provider/launcher settings merely because the transport is known; include them only when the user separately asks to select the transport and the matrix, or documentation when needed, verifies the value.
8. Return the Recommendation
Execute the Output Contract in order; that reference is the single authority for output fields, formatting, withholding messages, and validation guidance.
Treat its Mapping and Exact Exports sections as mandatory gates. Do not return until each gate is either completed or explicitly withheld for the reason allowed by the contract. Do not duplicate or paraphrase the contract in this file.
Examples
“My 4 local PEs are bound to GPUs 0–3. Given this target-node collector output and NVSHMEM 3.8.0 IBRC, recommend the closest balanced InfiniBand port mapping and exact exports.”
“Interpret this
nvidia-smi topo -mand per-port state/link-layer output. NVSHMEM is 3.7 with IBGDA; identify whether multiple NICs per PE are supported and what extra evidence is needed before emitting exports.”“We have 2 PEs and 5 active Ethernet/RoCE ports. Use this PE-to-GPU binding and initialization log to show the supported subset and multi-NIC alternatives without selecting one silently.”
Troubleshooting
| Symptom | Response |
|---|---|
The collector reports status=partial, an unknown NVSHMEM version, missing GPUs, or no HCA ports. | Re-run it on an allocated target compute node with the intended NVSHMEM installation and NVIDIA/RDMA device visibility. Paste the complete labeled output; a nonzero exit may still contain usable evidence. |
| No exact mapping can be produced. | Obtain the NVSHMEM version, resolved remote transport, local PE-to-GPU binding, and active-port evidence. Give only conditional guidance until all are available. |
| Ports have mixed link layers or a requested port is inactive. | Exclude inactive ports and select one link-layer partition unless the user explicitly requests another supported fabric. |
| NVSHMEM behavior is unclear for the selected version or transport. | Check the version/transport matrix first, then invoke $nvshmem-docs only if it remains insufficient or the user requires current official citations. |
| Logs select unexpected ports after applying the mapping. | Verify the export block, PE binding, selected transport, and provider constraints; compare against the unforced automatic configuration before changing other settings. |
Limitations
Limit recommendations to the observed target-node topology and port state; repeat evidence collection after hardware, fabric, launcher, or binding changes.
Treat topology proximity as a selection heuristic, not a performance guarantee; validate with a representative workload.
Do not produce an exact mapping until the NVSHMEM version, transport, local PE-to-GPU binding, and usable-port evidence are resolved.
For UCX and libfabric, remain within the provider-controlled boundary and do not fabricate common-HCA mapping settings.
Guardrails
Do not select inactive ports or silently mix link layers.
Do not assume that a numerically matching GPU and NIC index implies proximity.
Do not turn an unknown PE-to-GPU binding into an all-ports-per-PE mapping.
Do not emit 3.8-or-later BLOCK behavior for 3.7 or earlier.
Do not emit legacy IBGDA multi-port controls as the primary 3.8-or-later control.
Do not generate provider-native UCX or libfabric settings; explain them without inventing values.
Do not overwrite user files or change the system while collecting evidence.
<!-- ci trigger -->
Files
- ATTRIBUTION.mdAdded by AutoGineer967 B
- BENCHMARK.md10.7 KiB
- LICENSELicence file added by AutoGineer11.2 KiB
- SKILL.md14.7 KiB
- evals/evals.json15.9 KiB
- evals/files/ambiguous-two-gpu-two-ib.txt448 B
- evals/files/four-gpu-four-ib.txt1.1 KiB
- evals/files/four-gpu-two-ib.txt618 B
- evals/files/mixed-link-inactive.txt829 B
- evals/files/two-gpu-five-ib.txt817 B
- evals/files/two-gpu-four-ib.txt840 B
- references/topology-and-output.md11.0 KiB
- references/version-transport-matrix.md11.1 KiB
- scripts/collect-nic-topology.shScript8.2 KiB
- skill-card.md3.9 KiB
- skill.oms.sig6.7 KiB
references/version-transport-matrix.md
NVSHMEM NIC Mapping Version and Transport Matrix
Contents
Precedence and terms
Environment-variable roles
NVSHMEM 3.7 and earlier
NVSHMEM 3.8 or later BLOCK contract
Export patterns
Evidence matrix
Precedence and Terms
This reference bundles the NVSHMEM 3.8 or later BLOCK contract for common IB paths. The contract's transport scope is defined in its section below. Never return an NVSHMEM environment-variable assignment, export block, or conditional example unless the complete installed NVSHMEM version is identified.
Apply evidence in this order:
Apply the bundled NVSHMEM 3.8 or later BLOCK contract within its recorded transport scope.
Use this bundled matrix for every version- and transport-specific behavior it resolves.
Do not invoke
$nvshmem-docsmerely to revalidate behavior resolved by the bundled contract, including for a release later than 3.8. Invoke it only when the contract and matrix are insufficient or conflicting, or the user explicitly requests live official evidence.Do not invent behavior that neither the contract, matrix, nor a requested documentation check establishes.
Use these terms consistently:
Port: one selectable HCA port, identified as
hca:port.Expanded slot: one logical entry after expanding every
hca:port:countitem inNVSHMEM_HCA_PE_MAPPING.N: number of local processing elements (PEs) on a node.
E: number of eligible HCA-list ports or expanded mapping slots, depending on the variable.
P: zero-based local PE index,
0 <= P < N.Automatic assignment:
NVSHMEM_ENABLE_NIC_PE_MAPPING=0; the transport's topology-distance path chooses devices.Explicit assignment:
NVSHMEM_ENABLE_NIC_PE_MAPPING=1; list or mapping semantics apply.
Environment-Variable Roles
| Variable | Role | Guardrail |
|---|---|---|
NVSHMEM_HCA_PE_MAPPING | Ordered hca:port:count mapping; counts expand into logical slots | Prefer for exact assignments |
NVSHMEM_HCA_LIST | Eligible HCA-port set | Use only when canonical transport ordering is acceptable |
NVSHMEM_ENABLE_NIC_PE_MAPPING | Select explicit (1) versus automatic distance (0) assignment | Required as 1 by the 3.8-or-later contract for explicit recommendations |
NVSHMEM_ENABLE_MULTI_PORT | Common 3.8-or-later multi-port control | Set explicitly to 1 for every multi-NIC recommendation under the contract |
NVSHMEM_IBGDA_ENABLE_MULTI_PORT | Legacy IBGDA-specific multi-port control | Use only for 3.7-or-earlier IBGDA; treat as a deprecated alias under the 3.8-or-later contract |
NVSHMEM_LIBFABRIC_MAX_NIC_PER_PE | Limits libfabric NICs per PE | Does not create a common-HCA exact mapping |
Never set both NVSHMEM_HCA_LIST and NVSHMEM_HCA_PE_MAPPING. In the 3.7 implementation, HCA_LIST wins their conflict with a warning, which makes a combined recommendation misleading.
The common HCA parser has historically imposed bounded list sizes. Avoid compressed counts that obscure the intended slots, keep recommendations small, and require runtime-log verification for unusually large mappings.
NVSHMEM 3.7 and Earlier
Common Explicit Selection
For common IB explicit mapping, expand the mapping and select exactly one slot per local PE:
selected_slot(P) = P mod EAn exact one-NIC-per-PE recommendation therefore needs an expanded sequence in local-PE order. Example for four local PEs:
export NVSHMEM_ENABLE_NIC_PE_MAPPING=1
export NVSHMEM_HCA_PE_MAPPING='mlx5_0:1:1,mlx5_1:1:1,mlx5_2:1:1,mlx5_3:1:1'Counts are expanded before the modulo. For example, mlx5_0:1:2,mlx5_1:1:2 expands to [mlx5_0:1, mlx5_0:1, mlx5_1:1, mlx5_1:1].
Automatic distance assignment can return multiple closest devices, but each transport decides how many it consumes.
Apply feature-introduction gates before the table: official release notes introduce IBGDA multi-port in the 2.11 family, libfabric multi-NIC in the 3.6 family (published in 3.6.5), and GPUNetIO in 3.7. Do not offer one of those paths for an older release merely because it appears in the <=3.7 table. Consult $nvshmem-docs only when the exact release applicability remains unclear.
Transport Rules
| Transport | Exact explicit mapping in <=3.7 | Multiple NICs per PE in <=3.7 | Recommendation rule |
|---|---|---|---|
| IBRC | One expanded slot per PE | No | Emit a one-slot explicit mapping or use automatic single-device selection |
| IBDevX | One expanded slot per PE | No | Emit a one-slot explicit mapping or use automatic single-device selection |
| IBGDA | One expanded slot per PE | Yes, only through automatic distance assignment with NVSHMEM_IBGDA_ENABLE_MULTI_PORT=1 | Do not claim explicit multi-NIC assignment; do not set HCA_PE_MAPPING for the automatic multi-port case |
| GPUNetIO | One expanded slot per PE | Yes, through automatic selection | Explicit mapping remains single-slot; use automatic assignment for multiple selected NICs |
| libfabric | Common HCA mapping does not provide an exact provider-domain assignment | Yes, provider/automatic selection limited by NVSHMEM_LIBFABRIC_MAX_NIC_PER_PE | Explain provider control; optionally recommend only the documented max-NIC count |
| UCX | Common HCA mapping is not used | UCX manages device selection internally; 3.7 source does not establish common multi-NIC mapping | Explain the UCX boundary and do not generate HCA or provider-native selection variables |
For 3.7 IBGDA automatic multi-port:
export NVSHMEM_ENABLE_NIC_PE_MAPPING=0
export NVSHMEM_IBGDA_ENABLE_MULTI_PORT=1Do not add NVSHMEM_HCA_PE_MAPPING or NVSHMEM_HCA_LIST to that block. Report that automatic topology selection, not an exact user slot list, chooses the NICs.
For 3.7 GPUNetIO automatic multi-NIC selection:
export NVSHMEM_ENABLE_NIC_PE_MAPPING=0Do not invent a GPUNetIO multi-port environment variable.
IBGDA implementations cap the number of devices per PE; the 3.7 source cap is 15. Treat this as an implementation limit, not a target. Use fewer NICs unless measurements justify more.
NVSHMEM 3.8 or later BLOCK contract
The contract covers the common IB path for IBRC, IBDevX, IBGDA, and GPUNetIO. It does not override provider-native UCX or libfabric selection.
Enable explicit selection with:
export NVSHMEM_ENABLE_NIC_PE_MAPPING=1For any recommendation assigning more than one port to a PE, also set:
export NVSHMEM_ENABLE_MULTI_PORT=1NVSHMEM_HCA_PE_MAPPING
Expand hca:port:count into E logical slots.
When E <= N, preserve the historical one-slot behavior:
PE P receives slot P mod EThis includes shared-NIC cases when fewer slots than PEs exist.
When E > N, distribute contiguous BLOCK ranges with any remainder assigned to the lowest local PEs:
base = floor(E / N)
rem = E mod N
start = P * base + min(P, rem)
count = base + (1 if P < rem else 0)
slots = [start, start + count)Example: five expanded slots across two PEs produce:
PE 0 -> slots 0,1,2
PE 1 -> slots 3,4Preserve the sequence exactly: group the closest intended ports for PE 0 first, followed by those for PE 1, and so on. If a port is intentionally shared, repeat it in the expanded sequence and explain the duplicate.
NVSHMEM_HCA_LIST
HCA_LIST selects eligible HCA ports, but their effective order is the transport's canonical device order rather than an arbitrary exact PE sequence.
For explicit multi-port assignment when E >= N:
Compute
usable = E - (E mod N).Drop the trailing
E - usablecanonical slots when the remainder is nonzero.Warn about every dropped port.
Give each PE the contiguous block of
usable / Nslots.
Example: five canonical eligible ports across two PEs use the first four; each PE receives two, and the fifth is excluded as a trailing slot.
When E < N, do not reduce the list to zero. Preserve one-slot modulo behavior, allowing an HCA port to be shared by several PEs.
Use HCA_LIST only when the user wants set-based filtering and accepts this canonical ordering plus trailing-slot rule. Use HCA_PE_MAPPING for exact topology assignments and uneven remainder distribution.
Multi-Port Disabled
When multi-port is disabled, preserve a single selected slot per PE even if more candidates are available. Never present a multi-slot BLOCK table without NVSHMEM_ENABLE_MULTI_PORT=1.
Export Patterns
3.8 or Later Exact One Port Per PE
export NVSHMEM_ENABLE_NIC_PE_MAPPING=1
export NVSHMEM_HCA_PE_MAPPING='<PE-ordered hca:port:1 entries>'3.8 or Later Exact Multiple Ports Per PE
export NVSHMEM_ENABLE_NIC_PE_MAPPING=1
export NVSHMEM_ENABLE_MULTI_PORT=1
export NVSHMEM_HCA_PE_MAPPING='<PE-blocked hca:port:1 entries>'3.8 or Later Eligible Set
export NVSHMEM_ENABLE_NIC_PE_MAPPING=1
export NVSHMEM_ENABLE_MULTI_PORT=1
export NVSHMEM_HCA_LIST='<eligible hca:port entries>'Before using the eligible-set pattern, show the canonical sequence and any trailing removal. Omit NVSHMEM_ENABLE_MULTI_PORT only when the resulting interpretation is intentionally one port per PE.
Do not place NVSHMEM_HCA_LIST and NVSHMEM_HCA_PE_MAPPING in the same export block. Do not quote multiple conditional alternatives as though they should all be exported together.
Evidence Matrix
| Evidence | What it establishes | Applicability |
|---|---|---|
| Official environment-variable reference | Live names, descriptions, and defaults for documented runtime settings | Consult through $nvshmem-docs only to resolve uncertainty; the latest route alone does not prove an older edition |
| NVSHMEM 2.11.0 release notes | Official introduction of IBGDA multi-port support | Feature gate for IBGDA multi-port |
| NVSHMEM 3.6.5 release notes | Official introduction of libfabric multi-NIC support | Feature gate for libfabric multi-NIC |
| NVSHMEM 3.7.0 release notes | Official 3.7 release context, including GPUNetIO introduction | 3.7 feature context |
NVSHMEM public tag v3.7.0-0, commit d72cf23 | Common selector uses local-PE modulo for explicit mapping; IBRC/IBDevX consume one selected device; automatic IBGDA, GPUNetIO, libfabric, and UCX boundaries | Bundled source-backed fallback for <=3.7 when live documentation is unavailable |
| Bundled NVSHMEM 3.8 or later BLOCK contract | HCA-list trailing removal, expanded-mapping remainder distribution, preserved one-slot cases, common-IB transport scope, and explicit mapping gate | NVSHMEM 3.8 or later, within the contract's recorded transport scope |
The bundled contract wins if a pre-release implementation snapshot differs, including for GPUNetIO contract coverage. Do not invoke live documentation merely to revalidate behavior that the contract resolves.
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an API key, Needs Node.js
Security
What our scanner noticed· Medium risk
- Large base64-encoded blobs
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- NVIDIA NVSHMEM Team
- Publisher
- NVIDIA (Official)
- Source
- NVIDIA/skills · skills/nvshmem-configure-nic-pe-mapping · commit fce3cca
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE-APACHE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by NVIDIA NVSHMEM Team or NVIDIA.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download nvshmem-configure-nic-pe-mapping.zip