the-ai-summer / pytorch-ddp Goto Github PK
View Code? Open in Web Editor NEWcode for the ddp tutorial
License: MIT License
code for the ddp tutorial
License: MIT License
I tried to replicate your experiments on a machine with 4 GPUs. Unfortunately my DDP is 4 times slower. I was wondering if you have any pointers as to what could be the reason.
$ python
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ["RANK"]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/anaconda/envs/azureml_py38/lib/python3.8/os.py", line 675, in __getitem__
raise KeyError(key) from None
KeyError: 'RANK'
>>>
I have a machine with 8 GPUs and 24 CPUs. Why does RANK key doesn't exist? I am following your tutorial here:
https://theaisummer.com/distributed-training-pytorch/
and I wanted to do distributed training.
![Screenshot from 2022-12-13 10-04-40](https://user-images.githubusercontent.com/1892917/207369120-fa7ff30e-1c92-4013-8f96-17c81e2b01d4.png)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.