Closed tikendraw closed 2 weeks ago
as i know, tensorflow doesnt just get the count of the GPUs, but also optimizes itself, its looking for supported GPUs. So this may be the reason. I tried changing tensorflow and using another method, such as pynvml, pytorch and pycuda, but because of i have no nvidia GPUs, i didnt get a clear result but yeah, as i know tensorflow is different.
i can may be wrong too, but this is what i know. Have a good day.
If you find an alternative, feel free to push to the code to help everyone out on this. ☺️
Of course ☺️ only thing is as i said i dont have enouh GPUs to check if it works so i didnt want to contribute, but if theres no problem, i can ☺️
Hi @hacksider, i created a PR to use CUPY instead of Tensorflow in core.py:
I accidentally didnt write description while creating PR :) But here are some notes: I didnt be able to test it as i said. I have not enough GPUs unfotunately! :)
So i pushed it to the experimental branch, hope it works and helps everyone. Thanks :)
Installing a big library such as tensorflow just for gpu count seems overkill.