Flax models with sparse matrices #3616
Unanswered
IrishWhiskey
asked this question in
Q&A
Replies: 1 comment
-
It seems like the error stems from the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use sparse matrices with a Flax model so I tried to transform the
model.apply
function withsparse.sparsify
. Unfortunately when I run the resulting function I get an error. Is there any way to make it work?Here is the code I ran:
Here is the error message I get:
I'm using Flax
0.7.5
, JAX0.4.23
on Python3.10
.Beta Was this translation helpful? Give feedback.
All reactions