-
Notifications
You must be signed in to change notification settings - Fork 69
Exclusion of observed variables from posterior #144
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
base: master
Are you sure you want to change the base?
Conversation
|
Hi @adamgayoso @jjhong922 Do you know where the JAX error is coming from and how to solve it? Tests fail at scvi-tools import. Thanks! |
|
can look into it, pinning scvi-tools will not solve this problem. I would leave it >0.15.0 |
|
I see. When did you introduce jax? |
|
Maybe JAX version needs pinning. In this test, it is: but in scvi-tools latest successful commit it is: |
|
0.15.0 is when we added it, it looks like the issue is optax 0.1.2 released 3 days ago, as our CI is using 0.1.1 |
|
oh weird it could also be jax, looks like 0.3.7 is like half-released? It's not released on github but is on pypi |
|
I see. I will try to fix jax and jaxlib here - and wait for updates. Did you consider making jax optional for scvi-tools? |
|
We considered making it optional, but feel it will become a larger part of the framework in the future so decided against it. Overtime it will become a more seamless dependency like pytorch I imagine. |
|
I would hope so too. Looks like fixing version to earlier jax and jaxlib works. |
|
I mean, stuff like this will get sorted out on its own in a few days. A few years ago we all used to have problems with numba, which seems to have been somewhat smoothed out. |
|
I see. Thanks @adamgayoso ! I will remove fixed versions before merging this. |
|
WRT exclusion of observed variables: This appears to be not an issue for standard cell2location - but looks like it is a problem for Messenger AutoGuides: there is no filtering of observed variables in the changes introduces to posterior sampling is this PR scverse/scvi-tools#1267. So filtering needs to be reintroduced (if possible) or that PR reverted. |
Add tests verifying that observed variables are excluded.