PyTorch: An Imperative Style, High-Performance Deep Learning Library

计算机科学 调试 Python(编程语言) 深度学习 编程风格 可用性 人工智能 钥匙(锁) 建筑 程序设计语言 计算机体系结构 软件工程 人机交互 操作系统 艺术 视觉艺术
作者
Adam Paszke,Sam Gross,Francisco Massa,Adam Lerer,James Bradbury,Gregory Chanan,Trevor Killeen,Zeming Lin,Natalia Gimelshein,Luca Antiga,Alban Desmaison,Andreas Köpf,Edward Z. Yang,Zachary DeVito,Martin Raison,Alykhan Tejani,Sasank Chilamkurthy,Benoit Steiner,Lu Fang,Junjie Bai
出处
期刊:Cornell University - arXiv 卷期号:32: 8026-8037 被引量:8710
摘要

Deep learning frameworks have often focused on either usability or speed, but not both. PyTorch is a machine learning library that shows that these two goals are in fact compatible: it was designed from first principles to support an imperative and Pythonic programming style that supports code as a model, makes debugging easy and is consistent with other popular scientific computing libraries, while remaining efficient and supporting hardware accelerators such as GPUs. In this paper, we detail the principles that drove the implementation of PyTorch and how they are reflected in its architecture. We emphasize that every aspect of PyTorch is a regular Python program under the full control of its user. We also explain how the careful and pragmatic implementation of the key components of its runtime enables them to work together to achieve compelling performance. We demonstrate the efficiency of individual subsystems, as well as the overall speed of PyTorch on several commonly used benchmarks.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
小白发布了新的文献求助30
1秒前
英俊的铭应助花里尘采纳,获得10
6秒前
JamesPei应助李星星采纳,获得10
7秒前
qianqian发布了新的文献求助20
7秒前
7秒前
小白关注了科研通微信公众号
8秒前
香蕉发布了新的文献求助20
9秒前
10秒前
dongqing12311发布了新的文献求助10
10秒前
酷波er应助科研小锄头采纳,获得30
11秒前
Nicole完成签到 ,获得积分10
12秒前
ncxxxxx发布了新的文献求助10
12秒前
13秒前
李蝉羽应助lyn_zhou采纳,获得20
13秒前
14秒前
悲凉的半梦完成签到,获得积分10
15秒前
carinakyt发布了新的文献求助10
15秒前
qianqian完成签到,获得积分10
15秒前
科研通AI2S应助ncxxxxx采纳,获得10
16秒前
核桃应助dmm采纳,获得10
16秒前
17秒前
徽影发布了新的文献求助10
18秒前
18秒前
英俊的铭应助李星星采纳,获得10
20秒前
22秒前
Hello应助甘乐采纳,获得10
24秒前
司徒沛蓝发布了新的文献求助10
26秒前
ccm应助嗯嗯采纳,获得10
26秒前
27秒前
27秒前
coasting发布了新的文献求助10
27秒前
bkagyin应助jinyi采纳,获得10
29秒前
sunshine完成签到 ,获得积分10
29秒前
情怀应助baymax采纳,获得10
30秒前
小白发布了新的文献求助10
31秒前
32秒前
32秒前
32秒前
33秒前
高分求助中
(应助此贴封号)【重要!!请各位详细阅读】【科研通的精品贴汇总】 10000
줄기세포 생물학 1000
Biodegradable Embolic Microspheres Market Insights 888
Quantum reference frames : from quantum information to spacetime 888
Pediatric Injectable Drugs 500
Instant Bonding Epoxy Technology 500
ASHP Injectable Drug Information 2025 Edition 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4406962
求助须知:如何正确求助?哪些是违规求助? 3892083
关于积分的说明 12111654
捐赠科研通 3537028
什么是DOI,文献DOI怎么找? 1940846
邀请新用户注册赠送积分活动 981611
科研通“疑难数据库(出版商)”最低求助积分说明 878106