当前位置:网站首页>PyTorch分布式backends
PyTorch分布式backends
2022-08-02 19:42:00 【harry_tea】
DistributedDataParallel(DDP)
Backend
在Pytorch进行分布式训练中,需要在不同的进程间进行通信,完成模型训练过程中参数的传递,主要考虑通信后端和通信模式选择,这要依赖IPC通信机制,这些通信机制是由Pytorch之外的第三方实现的,目前一共支持三种: Pytorch backends
- nccl——NVIDIA(GPU训练推荐)
- gloo——Facebook
- mpi——OpenMPI
Initialization Methods
通信方法,目前主要有三种
- TCP initialization :init_method=‘tcp://10.1.1.20:23456’
- Shared file-system initialization:init_method=‘file:///mnt/nfs/sharedfile’
- env
边栏推荐
- PG 之 SQL执行计划
- spack install reports an error /tmp/ccBDQNaB.s: Assembler message:
- J9数字论:互联网跨链桥有什么作用呢?
- ssh configuration
- 2022-07-27
- ShardingSphere-proxy +PostgreSQL实现读写分离(静态策略)
- J9 Digital Currency Theory: Identifying Web3's New Scarcity: Open Source Developers
- 2022-07-28
- 4KMILES加入艾盛集团,以更强劲的数字商务能力,加速中国跨境电商的全域全效增长
- 元宇宙001 | 情绪无法自控?元宇宙助你一臂之力
猜你喜欢
el-tree渲染大量数据的解决方案(不通过懒加载)
Three.js入门
【LeetCode】118. 杨辉三角 - Go 语言题解
What is a Field Service Management System (FSM)?what is the benefit?
SQL Server实现group_concat功能
Leetcode刷题——单调栈问题(739每日温度问题、496下一个更大元素I、503下一个更大元素 II)
J9 digital theory: the Internet across chain bridge has what effect?
AI Scientist: Automatically discover hidden state variables of physical systems
Office2021 安装MathType
技术分享 | Apache Linkis 快速集成网页IDE工具 Scriptis
随机推荐
【软件工程导论】软件工程导论笔记
当TIME_WAIT状态的TCP正常挥手,收到SYN后…
Introduction of uncommon interfaces of openlayers
golang刷leetcode 经典(10) tire树与ac自动机
磁盘分区的知识
软件测试分类
AI Scientist: Automatically discover hidden state variables of physical systems
SQL 嵌套 N 层太长太难写怎么办?
Leetcode刷题——单调栈问题(739每日温度问题、496下一个更大元素I、503下一个更大元素 II)
健康报告-设计与实现
Electron使用指南之初体验
Leetcode刷题——字符串相加相关题目(415. 字符串相加、面试题 02.05. 链表求和、2. 两数相加)
What is a Field Service Management System (FSM)?what is the benefit?
TPAMI2022 | TransCL: based on the study the compression of the Transformer, more flexible and more powerful
Mysql安装流程 【压缩版】
Office2021 安装MathType
Leetcode刷题——23. 合并K个升序链表
银保监会:人身险产品信披材料应由保险公司总公司统一负责管理
Therapy | How to Identify and Deal with Negative Thoughts
ShardingSphere-proxy +PostgreSQL implements read-write separation (static strategy)