创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

cudamemcpy-tuner加速NVIDIA B300可分页内存传输

AI 总结

开发者Maknee推出用于加速可分页cudaMemcpy传输的工具cudamemcpy-tuner,并公开了代码链接和一篇博客文章。在开发者进行的测试中,使用调优工具后,向NVIDIA B300传输1 GB张量的速度从10.2 GB/s提升至51.5 GB/s。该结果由开发者自行报告,在其他硬件和工作负载上的表现尚不清楚。

https://preview.redd.it/cjz9xy3rht1i1.png?width=1600&format=png&auto=webp&s=0eea8a5d9e53d5ea4593ce1a629bc7342a049ffa Hi everyone, I made a tool that can speed up pageable transfers for cudaMemcpy. For example: # B300, copying a 1 GB tensor to the GPU and back: import time, torch x = torch.ones(1 << 30, dtype=torch.uint8) y = x.to("cuda"); y.cpu() for name, copy in [("CPU -> GPU", lambda: (x.to("cuda"), torch.cuda.synchronize()))]: t = time.perf_counter() for _ in range(5): copy() print(f"{name}: {5 * x.nbytes / (time.perf_counter() - t) / 1e9:.1f} GB/s") $ python bench.py CPU -> GPU: 10.2 GB/s $ cmt tune -- python bench.py CPU -> GPU: 51.5 GB/s blog: https://maknee.github.io/blog/2026/CudaMemcpy/ code: https://github.com/Maknee/cudamemcpy-tuner submitted by /u/makneeee [link] [comments]

#cudamemcpy-tuner#NVIDIA B300#CUDA#PyTorch

原文约 1 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。