# 如何用 NVIDIA GPUDirect Storage 在 Python 中把数据读入 GPU 显存

- 原标题：How to Read Data into GPU Memory in Python with NVIDIA GPUDirect Storage
- 类型：教程
- 来源：developer.nvidia.com
- 发布时间：2026-10-23
- 首次精选：2026-10-29 23:09
- 分级：值得看
- 学习层级：深入
- 主题：[model-serving-compute](<https://oplearnx.com/md/topics/model-serving-compute.md>)（第 22 位）
- 原文链接：[https://developer.nvidia.com/blog/how-to-read-data-into-gpu-memory-in-python-with-nvidia-gpudirect-storage](<https://developer.nvidia.com/blog/how-to-read-data-into-gpu-memory-in-python-with-nvidia-gpudirect-storage>)
- 本站页面：[https://oplearnx.com/resources/pk\_cb45fe88e08a](<https://oplearnx.com/resources/pk_cb45fe88e08a>)

## 摘要

NVIDIA 技术博客，作者 Andrew Hoyle，2026 年 10 月 22 日发布。文章介绍 KvikIO 库如何以 Python 和 C\+\+ 高层接口封装 cuFile C API，实现加速的文件 I/O 直读 GPU 显存；说明了 KvikIO 与 cuFile 各自的路径选择、KVIKIO\_COMPAT\_MODE、KVIKIO\_GDS\_THRESHOLD、cufile.json 中的 parallel\_io 与 min\_io\_threshold\_size\_kb 等设置，以及用 CUFILE\_STATS\_LEVEL=3 与 gds\_stats 判断走加速路径还是兼容路径，并提到 KvikIO 在 cuDF、cuCIM、cuPhoton 和 GPU 加速 Presto 中的应用。

---
来源：LearnMap · 学径（https://oplearnx.com）
