Skip to content
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

COLABFOLD_BATCH not running on cpus after image update #214

Open
JoseEspinosa opened this issue Nov 14, 2024 · 0 comments
Open

COLABFOLD_BATCH not running on cpus after image update #214

JoseEspinosa opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JoseEspinosa
Copy link
Member

JoseEspinosa commented Nov 14, 2024

After updating colabfold image to enable running it on cuda 12 versions on #195, it now gives the following error when running on cpus:

Traceback (most recent call last):
    File "/localcolabfold/colabfold-conda/bin/colabfold_batch", line 8, in
      sys.exit(main())
    File "//localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 2046, in main
      run(
    File "//localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 1286, in run
      if jax.local_devices()[0].platform == 'cpu':
    File "//localcolabfold/colabfold-conda/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 1135, in local_devices
      process_index = get_backend(backend).process_index()
    File "//localcolabfold/colabfold-conda/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 1011, in get_backend
      return _get_backend_uncached(platform)
    File "//localcolabfold/colabfold-conda/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 990, in _get_backend_uncached
      bs = backends()
    File "//localcolabfold/colabfold-conda/lib/python3.10/site-packages/jax/_src/xla_bridge.py", line 890, in backends
      raise RuntimeError(err_msg)
  RuntimeError: Unable to initialize backend 'cuda': FAILED_PRECONDITION: No visible GPU devices. (you may need to uninstall the failing plugin package, or set JAX_PLATFORMS=cpu to skip this backend.)
@JoseEspinosa JoseEspinosa added the bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant