快捷方式

torch.cuda.gds.gds_deregister_buffer

torch.cuda.gds.gds_deregister_buffer(s)[source][source]

登出先前在 CUDA 裝置上註冊為 cufile 緩衝區的儲存。

示例

>>> src = torch.randn(1024, device="cuda")
>>> s = src.untyped_storage()
>>> gds_register_buffer(s)
>>> gds_deregister_buffer(s)
引數

s (Storage) – 要登出的緩衝區。

文件

獲取 PyTorch 全面開發者文件

檢視文件

教程

獲取面向初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲取問題解答

檢視資源