No GPU/TPU found, falling back to CPU
See original GitHub issueHereβs the full warning that I get (I do have a GPU):
>>> import diffrax
2022-03-24 16:30:19.350737: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:170] XLA service 0x55795c0d4670 initialized for platform Interpreter (this does not guarantee that XLA will be used). Devices:
2022-03-24 16:30:19.350761: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:178] StreamExecutor device (0): Interpreter, <undefined>
2022-03-24 16:30:19.353414: I external/org_tensorflow/tensorflow/compiler/xla/pjrt/tfrt_cpu_pjrt_client.cc:169] TfrtCpuClient created.
2022-03-24 16:30:19.353886: I external/org_tensorflow/tensorflow/stream_executor/tpu/tpu_platform_interface.cc:74] No TPU platform found.
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
Edit: I installed diffrax
from conda-forge.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
WARNING - No GPU/TPU found, falling back to CPU. (Set ...
I am pretty sure that the box I am connecting to via ssh has 20 CPU cores and 2 GPU cores however the...
Read more >Troubleshooting JAX - TPU - Google Cloud
Everything will be run on the TPU as long as JAX doesn't print "No GPU/TPU found, falling back to CPU." You can verify...
Read more >Why is the TPU not recognized on my Google Cloud TPU VM ...
Am having the same problem, am getting TPU platform initialization failed: NOT_FOUND: No ba16c7433 device found. β Chris Flesher. Sep 19 at 11:Β ......
Read more >Code 10: Probabilistic Programming Languages
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.).
Read more >trax-ml/community - Gitter
I was trying to use trax.fastmath for some vector computation and I got the warning - No GPU/TPU found, falling back to CPU....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Iβm going to close this issue as itβs JAX-related rather than Diffrax-related, but feel free to keep discussing things afterwards.
@dhirschfeld @patrick-kidger Thank you guys for your quick reply! Indeed, it was a
jax
issue. I created a fresh environment, installedjax
anddiffrax
, also had to installcudatoolkit-dev
fromconda-forge
, and finally I was able to get it working on GPU.