-
Notifications
You must be signed in to change notification settings - Fork 51
GPU is not being used #67
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
Comments
Hi! Are there any messages in the nextcloud log? |
Unfortunatley not - the only "warning" I can see in my log would be: The only thing I can see on my shell is that www-data is running node-v14.17.4-linux-x64. |
What I see additional within the log (but it's not linked to my manual start of the classifying process) would be: at 2021-08-26T07:59:08+02:00` |
and: [index] Error: Call to a member function getOwner() on null GET /index.php/apps/recognize/admin/countMissed But I am not sure if this is linked to this issue or not. |
Okay so during the night the new version was able to be downloaded. I did so today morning. When manually starting the process I get following error message: My log would say:
Error: Cannot find module '@tensorflow/tfjs-backend-wasm'
at 2021-08-27T06:42:20+02:00 |
So it looks like |
I've had to disable GPU for now, because the bundle would exceed the bundle size limit :/ |
The limitation from the Nextcloud appstore? |
Yeah |
Okay, would it be possible that you create a "Github-only" version of it (e.g. xxx-RC1) so I can download and test it? |
I'll definitely try to make something available. Currently, my problem is that I have to develop that blindly, as I don't have a GPU machine available. |
If you want you can pack me the thing and I will act as your alpha-/beta tester?! |
I'm testing it with my NVIDIA GeForce GTX 1660 super (cuda supported even I couldn't find it on the list) First I have to set up another instance .. |
lol nextcloud apps is down :( Now I can wait even longer |
GPU support has to wait until other issues are sorted out, sorry. |
Okay so for the moment I can remove all necessary Nvidia libraries (except driver)? |
For the moment no NVIDIA drivers and libraries are needed, but they won't hurt either, so it's up to you. |
It's just a bit complex to install different CUDA libraries/versions - that's why I am asking :-) |
@marcelklehr just in case of: Windows now supports NVIDIA GPUs within its WSL which I am using. |
@derritter88, did you get it working? Similar results get NVIDIA examples:
I've big archive of photos to get processed and running it on CPU is an overkill. Thanks for hints on how to get it working - am not shy customizing NC container/whatever is needed. |
Hello @bugsyb , thanks for sharing this with me/us. Might be a useful information for some people but unfortunately I do not use Nextcloud as a Docker container. I had some discussions with @marcelklehr about it and the major problem would be to have an AI library like Tensorflow which could handled both Nvidia and AMD GPUs |
Hi @derritter88 , Thanks for swift response. I did take a quick look at what gets installed as part of Recognize and smells like tensorflow-webgl gets there. Hopes were that given your earlier engagement you'd know how to get Recognize using GPU. I have also large number of photos to be processed and... well, hoped could leverage GPU which is wasted otherwise. I run most of apps these days as containers, just for simplicity/dependency and easiness of portability between systems. Happy to share knowledge on the side if you'd be interested. Re GPUs Nvidia and AMD, tensorflow allows to get it run both natively as well as in container, as demonstrated for Nvidia. Here is small explanation covering AMD: There was also other implementation DirectML, though as Internet claims, it was for Windows and WSL which standard Linux wouldn't count in as to be used (am not sure about the latter though). If we could get started with Nvidia, which is more popular across people who would use it for Linux (not so much gaming ;) ) it would be great, especially as Tensorflow is already available. I can't help much with AMD as don't have one. |
To be honest: I gave up this topic and passed my GPU to a Plex VM for video transcoding but maybe @marcelklehr could improve the general logic of recognize? |
I have an AMD gpu in a laptop that I use for nextcloud |
AMD GPUs probably won't work anyways. |
fixes #67 Signed-off-by: Marcel Klehr <[email protected]>
Hello @marcelklehr ,
I have enabled GPU support at the admin GUI but when I start a manual process via
occ recognize:classify
I can see that a process is being started and using 100 % a CPU core.The GPU is not being used.
I have installed all the specified Nvidia applications/libraries
The text was updated successfully, but these errors were encountered: