Replies: 1 comment 2 replies
-
Thanks for this very good question @ggustavi. Unless I'm mistaken, all the pyhf backends with the exception of PyTorch (but the AMD GPU support there is in beta) require NVIDIA GPUs for native support. I see that you've linked Apple's (now archived) project that advertises GPU support on macOS, but that's for a currently unsupported TensorFlow release for pyhf (given breaking changes that TensorFlow made we have to figure out how to reconcile). c.f. Issue #293. So I think if you want to use your Mac's GPUs you're out of luck. 😞 In the future you might be interested to know that we're also distributing CUDA enabled Docker images: https://github.com/pyhf/cuda-images e.g.
|
Beta Was this translation helpful? Give feedback.
-
Dear pyhf experts and developers,
I was trying to run pyHF (v0.6.1 since I need to set a lower tolerance when running CLs) with jax on GPUs. My first attempt would be trying to run it on my Mac laptop which, as you know, does not support Nvidia GPUs (they are Intel HD Graphics 530 in my case ).
I have figured out that the problem is not related to pyhf itself but actually it’s due to tensorflow with which I cannot see my GPUs.
I tried to install tensorflow based on the guide (https://www.tensorflow.org/install/source) but I did not figure out to install it on Mac actually...is there anyone of you that managed to do it?
I have tried installing https://github.com/apple/tensorflow_macos and with it I am able to run tensorflow but I get conflicts when I try to install pyhf:
Did you have to deal with similar issues with your tensorflow setup on MacOS GPUs?
Do you have any suggestion?
Cheers,
Giuliano
Beta Was this translation helpful? Give feedback.
All reactions