Comments (6)
hi, yes, remove the pin memory when there is a multi gpu
from examples.
No -- setting pin_memory=True
is most useful when using more than one GPU so that the copies to each GPUs can overlap with each other.
@culurciello, what's the traceback when it gets stuck?
from examples.
@colesbury I'm not saying why this is happening, but basically (and it happens only on multi GPU hardware, for me), at the first batch of the test at the first epoch, suddenly the screen freezes, and the memory is not released. Which, I think due to the pin memory, or at least it has solved the issue to set if to false. It's not clear to me why it happens!
from examples.
I run this a second time, and it worked. I was orignally using resnet18, but with Alexnet and resnet50 it works fine.
from examples.
so has anyone figured out why? I'm experiencing a similar issue, as in #148
from examples.
same problem, did anyone solve it?
from examples.
Related Issues (20)
- Can not launch DDP training using distributed/ddp-tutorial-series/multigpu.py
- multi-node DDP
- world_language_model example throws UnicodeEncodeError
- add examples/siamese_network with triplet loss example
- FSDP T5 Example not working HOT 6
- Daily CI failed
- RL Examples had bugs on current gym version
- The doc build deployment has been failing since jan HOT 1
- word_language_model/data.py - two areas of redundant code
- word_language_model/data.py - remove '<eos>'
- If I am training on a SINGLE GPU, should this "--dist-backend 'gloo'" argument be added to the command? HOT 10
- SSL Error When downloading dataset HOT 3
- Testing a C++ case with MPI failed.
- Long training time for ResNet50 on ImageNet-1k HOT 1
- Segmentation fault (core dumped) at `model(images)` for examples/imagenet/main.py HOT 1
- RuntimeError in Partialconv-master HOT 1
- Pytorch is insufficiently opinionated
- Documentation Mismatch and AssertionError in language_translation
- RuntimeError: HIP error when running ResNet-50 on PRO W7900 with PyTorch HOT 1
- Drawbacks of making the C++ API look like Python HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.