-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPU Load 5% avg #42
Comments
That is unfortunately due to the expensive CPU-to-GPU memory copies employed by the code in the If you'd like a bit more speed (on par with the Torch implementations out there), try this version of Caffe: https://github.com/fzliu/caffe/tree/gram-layer, along with the |
Hi, ok I see. I'm wondering if everything shouldn't be done in CUDA or C++ AMP ? Python & lua are good for prototyping but if someone wants the algorithm to run really fast one has to port every piece of code to the GPU, no ?. I'll try to compile the gram-layer Caffe and keep you up to date. Thank you for the code :) ! |
@fzliu I have tried what you suggest about gram layer, very huge speedup. Thank you! Thank you. |
Hi !
I'm on windows 10 64bit, I got Caffe compiled and style.py works. But using GPU-Z I can see that the GPU load oscillate between 0 and 20 % (averaging at 5%) while my CPU is used at its max.
Is this a standard situation, do you have the same GPU load ?
PS : I have this warning in Caffe's
common.cpp
I don't know if it's relevantstyle.py:main:20:29:23.556 -- Starting style transfer. WARNING: Logging before InitGoogleLogging() is written to STDERR I0717 20:29:24.659956 4260 common.cpp:36] System entropy source not available, using fallback algorithm to generate seed instead.
The text was updated successfully, but these errors were encountered: