Giter Club home page Giter Club logo

Comments (8)

sjeaugey avatar sjeaugey commented on July 17, 2024

Hi,

NCCL is an inter-GPU communication library ; it is therefore accelerating computation on multiple GPUs.
That means it won't make a difference with only one GPU.

from nccl.

getengqing avatar getengqing commented on July 17, 2024

Hello,I begin use one GPU, but then use four GPUs! But the result has no different.

from nccl.

nluehr avatar nluehr commented on July 17, 2024

The CIFAR-10 example is not very computationally intensive. The GPU(s) are probably limited by kernel launch latencies. Perhaps try something like AlexNet, or better ResNet-50, on ImageNet 1000.

from nccl.

getengqing avatar getengqing commented on July 17, 2024

OK!Thanks,I have a try the AlexNet!

from nccl.

getengqing avatar getengqing commented on July 17, 2024

@nluehr @sjeaugey When I use the caffe-0.15.9/build/tools/caffe time --model=./imagenet_winners/alexnet.prototxt --iterations=1000 --gpu all, the result said no use multi-gpu. Why?
I0303 04:52:48.248244 21608 caffe.cpp:334] Not using GPU #3 for single-GPU function
I0303 04:52:48.248602 21608 caffe.cpp:334] Not using GPU #2 for single-GPU function
I0303 04:52:48.248613 21608 caffe.cpp:334] Not using GPU #1 for single-GPU function
I0303 04:52:48.359235 21608 caffe.cpp:341] Use GPU with device ID 0
I0303 04:52:48.359807 21608 caffe.cpp:345] GPU 0: Tesla P100-SXM2-16GB

from nccl.

nluehr avatar nluehr commented on July 17, 2024

@getengqing, I'm not that familiar with Caffe. You probably want to direct this question to the caffe project.

from nccl.

sergey-serebryakov avatar sergey-serebryakov commented on July 17, 2024

@getengqing Please, see int time() function in tools/caffe.cpp. Multi-GPU performance measurement is not supported.

from nccl.

getengqing avatar getengqing commented on July 17, 2024

@sergey-serebryakov OK!Thanks!

from nccl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.