跳转到主要内容

为pytorch添加了对统一CPU/CUDA内存的支持。

项目描述

Torch unified

为torch添加了对统一内存的支持。

用法

import torch
from torch_unified import empty_unified

tensor_cpu, tensor_gpu = empty_unified((10,), torch.float32)

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面