-
Notifications
You must be signed in to change notification settings - Fork 105
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
module 'jax.random' has no attribute 'KeyArray' #1186
Comments
same question |
Install scvi-tools from main. We'll make a new release soon that fixes this. |
could you indicate how to install scvi-tools from main, thanks so much. |
If this is unclear, please consults your favorite search engine or LLM |
SCVI will upgrade to 1.1.0. They will fix this problem soon. |
The workaround works on my desktop however, I'm trying to run it on the HPC and did the install per instructed and am running into errors. I installed doing the following:
I am getting the following error after running import scvelo:
I've tried making a new conda environment and reinstalling per described, but am running into the same errors. I am also am getting an error with import scvi
I then tried upgrading
and now Im getting this error:
Any thoughts? |
Hi, |
@aterceros @spatts14 |
has anyone tested if this issue with MultiVI is also sorted in scvi 1.1.0? |
Solution: I updated to scvi-tools 1.1.1 and upgraded pandas. Current versions: Now running on the HPC. Of note, I use Parse data. The Parse website says to use pandas==1.5.3, however I needed to update. |
Hi, |
I have pandas== 2.2.0, but I also have version scvi-tools 1.1.1 (released yesterday). I would suggest setting up a new environment and install from the main |
Just bumped here by total chance while searching for the error. This might help:
|
it is a quick resolution that change jax,random.KeyArray into jax.Array in chex/_src/pytypes.py as the error hint |
Bug still exists in 1.1.2 😭 |
You can now pip install scvelo ( |
I met with a same problem and solved it through the following command line from stackoverflow.
|
Just seeing this. The dependency of Chex is removed in scVI-tools 1.1.0 and the error is not supposed to happen. If your still facing it, I would recommend setting up a new environment or otherwise report directly at scVI-tools. |
I cannot import scvelo as not compatible with most updated jax (0.4.24) and jaxlib (0.4.24).
What version do I need to have to be compatible?
...
Error output
Versions
The text was updated successfully, but these errors were encountered: