You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
I don't know if i got the question right but , you can try this
from tensorflow.python.framework.ops import disable_eager_execution
disable_eager_execution()
from tensorflow.python.compiler.mlcompute import mlcompute
mlcompute.set_mlc_device(device_name='gpu')# this can be 'any','cpu','gpu'
@bksaini078 That's what I use and it appears to work. Activity monitor shows the GPU well used for the Python38 process.FashionMNIST was 30% faster for the sample I produced.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can anyone tell how to use tensorflow with gpu on mac m1 ?
Is there a GPU available:
[]
Is the Tensor on GPU #0:
False
The text was updated successfully, but these errors were encountered: