可以为Caffe(特别是pyCaffe)设置所有GPU?Caffe/pyCaffe:设置所有GPU
喜欢的东西:
caffe train -solver examples/mnist/lenet_solver.prototxt -gpu all
可以为Caffe(特别是pyCaffe)设置所有GPU?Caffe/pyCaffe:设置所有GPU
喜欢的东西:
caffe train -solver examples/mnist/lenet_solver.prototxt -gpu all
AFAIK来自Caffe是不支持目前的多GPU训练。它计划在未来发布。查看讨论here。
好像NVIDIA's branch of caffe有这个功能。请参阅问题here。
似乎这是过时的信息? – mrgloom
看来Caffe现在开始支持针对C++接口的多GPU的培训。 请参阅CommandLine interface上的文档。
# train on GPUs 0 & 1 (doubling the batch size)
caffe train -solver examples/mnist/lenet_solver.prototxt -gpu 0,1
# train on all GPUs (multiplying batch size by number of devices)
caffe train -solver examples/mnist/lenet_solver.prototxt -gpu all
这两款叉子现在都支持多GPU。
你可能有兴趣知道,还有多GPU和PythonLayers一个相当严重的突出问题(见issue,temporary fix)。
相关:http://stackoverflow.com/q/33446612/1714410 – Shai