当前位置:网站首页>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
边栏推荐
- Caldera(二)高级实战
- 4 kmiles join YiSheng group, with more strong ability of digital business, accelerate China's cross-border electricity full domain full growth
- 云平台简介
- 【LeetCode】118. 杨辉三角 - Go 语言题解
- ALV概念讲解
- Cannot find declaration to go to
- 六石管理学:入门机会只有一次,先把产品做好
- Flutter with internationalized adapter automatically generated
- 二丙二醇甲醚醋酸酯
- Based on OpenGL glaciers and firebird (illumination calculation model, visual, particle system)
猜你喜欢

AI Scientist: Automatically discover hidden state variables of physical systems

Parse the commonly used methods in the List interface that are overridden by subclasses

当TIME_WAIT状态的TCP正常挥手,收到SYN后…

LeetCode - 105. 从前序与中序遍历序列构造二叉树;023.合并K个升序链表

对话亚洲高校首个博士论文奖-裘捷中丨KDD2022

脑机接口003 | 马斯克称已实现与云端的虚拟自己对话,相关概念股份大涨

SCANIA SCANIA OTL tag is introduced

ShardingSphere-proxy +PostgreSQL实现读写分离(静态策略)

MySQL安装(详细,适合小白)

Brain-computer interface 003 | Musk said that he has realized a virtual self-dialogue with the cloud, and related concept shares have risen sharply
随机推荐
光源控制器接口定义说明
【LeetCode】1161. 最大层内元素和
顺序查找和折半查找,看这篇就够了
4KMILES加入艾盛集团,以更强劲的数字商务能力,加速中国跨境电商的全域全效增长
MySQL安装时一直卡在starting server
牛客题目——滑动窗口的最大值、矩阵最长递增路径、顺时针旋转矩阵、接雨水问题
遇上Mysql亿级优化,怎么办
Lvm逻辑卷
Based on OpenGL glaciers and firebird (illumination calculation model, visual, particle system)
如何ES源码中添加一个自己的API 流程梳理
解析Collection接口中的常用的被实现子类重写的方法
基于“无依赖绝对定位”实现的圣杯三栏布局
分享一个 web 应用版本监测 (更新) 的工具库
idea 配置resin
Electron User Guide Beginning Experience
磁盘分区的知识
即时通讯开发移动端网络短连接的优化手段
Cannot find declaration to go to
AI Scientist: Automatically discover hidden state variables of physical systems
MySQL安装(详细,适合小白)