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

Silence numpyro's warning about CPU instead of GPU #91

Closed
3 tasks done
gvegayon opened this issue Apr 23, 2024 · 1 comment · Fixed by #110
Closed
3 tasks done

Silence numpyro's warning about CPU instead of GPU #91

gvegayon opened this issue Apr 23, 2024 · 1 comment · Fixed by #110

Comments

@gvegayon
Copy link
Member

gvegayon commented Apr 23, 2024

Goal

Remove annoying message about using CPU instead of GPU

Context

See #55 (comment)

Required features

Add the following like of code numpyro.set_platform("cpu")

Specifications

The line needs to be added in the following files.

  • pyrenew_demo.qmd
  • getting-started.qmd
  • example-with-data.qmd
@gvegayon gvegayon modified the milestones: Backlog, 🦎 Iguanadon Apr 23, 2024
@gvegayon gvegayon linked a pull request May 8, 2024 that will close this issue
@gvegayon gvegayon reopened this May 9, 2024
@gvegayon
Copy link
Member Author

gvegayon commented May 9, 2024

The published version of the tutorials does not show the message regarding GPUs. So it is no longer an issue. That said, the numpyro.set_platform() command didn't make the trick. I tried using that on my local manchine, and the message still shows up.

One message that shows up is regarding ipywidgets:

/home/runner/.cache/pypoetry/virtualenvs/pyrenew-ay_vsbmF-py3.12/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm

I'll create a ticket to address that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant