Skip to main content

NVSHMEM4Py

NVSHMEM4Py exposes NVSHMEM host, device, and on-stream interfaces to Python, with interoperability for CUDA Python, Numba, PyTorch, CuPy, and CuTe DSL.

Quick Start

Follow the NVSHMEM4Py installation guide to install the package matching the CUDA major version. This example requires two supported GPUs on one Linux node and mpi4py built for the active MPI installation.

From the repository root:

mpirun -np 2 python nvshmem4py/examples/hello.py

The output includes one line from each PE, in either order:

Hello from PE 0 of 2
Hello from PE 1 of 2

The example selects one GPU per local MPI rank and initializes NVSHMEM from MPI_COMM_WORLD. See the main NVSHMEM quick start for platform requirements and the launching guide for other launchers.

Building Wheels

Wheel targets are part of the NVSHMEM CMake build. See the NVSHMEM4Py CMake configuration for supported options and defaults. For example, to build a Python 3.12 wheel for CUDA 12:

cmake -S . -B build \
  -DNVSHMEM4PY_BUILD_ALL_WHEELS=OFF \
  -DNVSHMEM4PY_PYTHON_VERSIONS=3.12 \
  -DNVSHMEM4PY_CUDA_VERSIONS=12
cmake --build build --target build_nvshmem4py_wheel_cu12_3.12

The wheel is written to build/dist/ and can be installed as described in the NVSHMEM4Py installation guide.

Examples

The examples cover host, device, on-stream, and framework-interoperability workflows. See the main NVSHMEM README for additional documentation and project information.

Metadata

Release files for nvshmem4py-cu13 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nvshmem4py-cu13 0.4.1
File
nvshmem4py_cu13-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.34+ x86-64 Details
nvshmem4py_cu13-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ ARM64, Linux glibc 2.17+ ARM64 Details
nvshmem4py_cu13-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.34+ x86-64 Details
nvshmem4py_cu13-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ ARM64, Linux glibc 2.17+ ARM64 Details
nvshmem4py_cu13-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64, Linux glibc 2.17+ x86-64 Details
nvshmem4py_cu13-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64, Linux glibc 2.17+ ARM64 Details
nvshmem4py_cu13-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.34+ x86-64 Details
nvshmem4py_cu13-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64, Linux glibc 2.34+ ARM64 Details
nvshmem4py_cu13-0.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.34+ x86-64 Details
nvshmem4py_cu13-0.4.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64, Linux glibc 2.34+ ARM64 Details
nvshmem4py_cu13-0.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64, Linux glibc 2.34+ x86-64 Details
nvshmem4py_cu13-0.4.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64, Linux glibc 2.34+ ARM64 Details

Total release size: 58.5 MB

Release files / nvshmem4py_cu13-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl

Download URL nvshmem4py_cu13-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
Size 4.9 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
166f14bb9fb508b92cc12895ee1b573c8b7da14db6bffe1578e0acbfce8ae925
BLAKE2b-256 checksum
How to use checksums
11f6d3220636fd7235b212b8504d700dab4e1c14f449db375349e0a4f5697bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl

Download URL nvshmem4py_cu13-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl
Size 5.0 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
f378cddff5d7b91163f08075991ceee1928245fc8140b40a2696d6550ddc6d46
BLAKE2b-256 checksum
How to use checksums
bc5184d72cb3a466a2165ce9c1136c01d42876ab0e20d4d49e0b355a8130df4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl

Download URL nvshmem4py_cu13-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
Size 5.0 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
836938165339cfce98663ee210357b0b714cf268ecce9c5c21822a8026e66de9
BLAKE2b-256 checksum
How to use checksums
04dab35c6d283b06e2c4ec50833b640c2433a5da0730a6697ca902081bb1ce00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl

Download URL nvshmem4py_cu13-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl
Size 5.0 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
e517d3ed7adb156d441819878bf07067febfc955401252698df039d60f7f79fa
BLAKE2b-256 checksum
How to use checksums
d174e3c88766e0c58938016fcde88ed5b64c32f2abf14dbbd89c3917b50bb93d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl

Download URL nvshmem4py_cu13-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
Size 5.0 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
eb7c9118581954fe1a01747bc6fdbca7d6305ce3202a1deec0b3c9474cdac79a
BLAKE2b-256 checksum
How to use checksums
29cbe7bc2677b32a7935e341bd182e6ada44e0ea7a07984969ee1e57121c19ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl

Download URL nvshmem4py_cu13-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl
Size 4.8 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
9986e6ede7bee132d0bb1d633b251b95715f69b88972419c53cab4808742fae0
BLAKE2b-256 checksum
How to use checksums
78c681fe7cca863e1c31efbaf929390e089dd06c36385c8f761c3fcefee05f77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl

Download URL nvshmem4py_cu13-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
Size 4.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
670c15ff8f8823bd556c645e8ec73b825ed624c37d2a6a24a106f2ace1710c49
BLAKE2b-256 checksum
How to use checksums
33289a89b778c2290174f2eb7d68942d7120b428f976b029e2e4ea490e775dfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl

Download URL nvshmem4py_cu13-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl
Size 4.7 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
4bc1e0a04ca54b5db32085cea2a720e6c43b5e8400a2cb7fbcfae51069fc2558
BLAKE2b-256 checksum
How to use checksums
19d9d8a5fa99d97183e8e59160096f18d4cdcfa4b9bd1fa1e5dcf02c031cc568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl

Download URL nvshmem4py_cu13-0.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
Size 4.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
95fef22eaa3193fd8b1ce24a299efd9b7e2163ac595be1d1b003060cba7f67aa
BLAKE2b-256 checksum
How to use checksums
bf3595106a44890275f9b08d4c6753dce29d262575ab5a16215f639687519391
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl

Download URL nvshmem4py_cu13-0.4.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl
Size 4.9 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
8c231fed9c62d280e2432c99565c580ef2cb44a0347d7f0d3225045f1f11ae22
BLAKE2b-256 checksum
How to use checksums
6efd6b1d0989df305079bd5a567c4b066692e28a6e149c0e2830e84ae4bda4ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl

Download URL nvshmem4py_cu13-0.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
Size 4.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
aafe3eb3469aa3344b9719884905db59e86d200ecf9f8f686fde0d224b4f12c0
BLAKE2b-256 checksum
How to use checksums
2b09c9e619d17a52490f98e9b895674543b1b93d34d51b940fb6b7bb5c52adae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / nvshmem4py_cu13-0.4.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl

Download URL nvshmem4py_cu13-0.4.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_34_aarch64.whl
Size 4.9 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
6570f3edf7822dd0bb1dbbfe63cec845f8d07953a3d28dc6c9df4f52e5c38b0a
BLAKE2b-256 checksum
How to use checksums
97ea288b75515d646e642124100f32144811c9632af6dbbfe0542975c52485cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

This release

0.4.1 This release

12 release files

0.4.0

8 release files

0.3.1

8 release files

0.3.0

10 release files

0.2.2

10 release files

0.1.3

10 release files

0.1.2

10 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page