How to Read Data into GPU Memory in Python with NVIDIA GPUDirect Storage
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
Engineers moving large datasets to GPU memory can now verify, with per-process cuFile statistics, whether their Python I/O actually used the accelerated nvidia-fs path or silently fell back to CPU staging.
NVIDIA published a tutorial on its KvikIO Python library, which reads files directly into GPU memory instead of routing them through the computer's main memory first. This direct route, called GPUDirect Storage, saves time and reduces processor load when moving very large files. The tutorial shows how to confirm the fast path was actually used using a statistics tool called gds_stats. It matters to teams processing large datasets with NVIDIA GPUs, such as those using the cuDF data library.
NVIDIA's KvikIO library is already accelerating data ingestion inside cuDF, cuCIM and GPU-accelerated Presto, and this tutorial lowers the barrier for teams adopting it in Python, where nearly half of new GitHub AI projects live. The risk it addresses is silent fallback: code that calls cuFile can still run on a slow CPU-staged path if configuration is wrong. The article gives no performance benchmarks, so cost savings remain unquantified.
KvikIO and cuFile make independent path decisions: KVIKIO_COMPAT_MODE and KVIKIO_GDS_THRESHOLD (default 16 KiB) govern whether cuFile is called, while cufile.json execution settings (parallel_io, min_io_threshold_size_kb) govern how requests decompose. With KvikIO's default 4 MiB task size, a 1 GiB read becomes 256 cuFile requests, all counted as nvfs operations via CUFILE_STATS_LEVEL=3. Unregistered buffers route through 16 MiB slabs of GPU bounce memory, and the test setup used an H100 with CUDA 13.3, ext4 NVMe, and IOMMU/ACS disabled.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
NVIDIA KvikIO GPUDirect Storage cuFile cuDF nvidia-fs kernel module gds_stats
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.