slow training on single gpu
Mostrar comentarios más antiguos
hey, i'm trying to train inception v3 on single gpu. it takes about 21 hours for 20,000 iteration. it takes more than an hour for 1000 iteration of 32 images in a minibatch. caffe and tensorflow are 10 times faster on the same computer. in caffe it takes 7 minutes for 1000 iterations. how can i improve the training on matlab? Thanks
2 comentarios
Walter Roberson
el 21 de Abr. de 2018
... install a faster GPU, perhaps with more memory?
There can be big performance differences between different GPUs, especially if double precision is being used. A higher GPU clock rate does not necessarily mean that it will be the best for double precision: some GPUs have special double precision units that speed processing up a lot.
tomer cz
el 22 de Abr. de 2018
Respuestas (1)
Joss Knight
el 28 de Abr. de 2018
0 votos
Upgrade MATLAB with each new release, we are making big performance improvements all the time.
4 comentarios
Chris P
el 17 de Ag. de 2020
Only certain matalb versions can be used with particular CUDA toolkits though
Joss Knight
el 17 de Ag. de 2020
MATLAB has its own copies of the CUDA libraries, so the toolkit you install is irrelevant unless you are compiling your own CUDA code.
Walter Roberson
el 19 de Ag. de 2020
I think maybe the point is that newer CUDA toolkits do not support some of the older architectures, and newer MATLAB versions do not support older CUDA toolkits.
Joss Knight
el 19 de Ag. de 2020
The only dependency is the driver and the MATLAB version, since MATLAB carries the toolkit with it and it makes no difference what toolkit you install. Maybe that's what you're saying.
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!