Skip to content

Commit

Permalink
fix utilities.py: fixing an invalid flax import caused by the latest …
Browse files Browse the repository at this point in the history
…flax release (google/flax#4177)
  • Loading branch information
YushaArif99 committed Oct 18, 2024
1 parent 5ce47fc commit 256df76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/stateful/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _is_submodule(obj, kw):
"keras.src.layers.layer.Layer",
),
"flax": (
"flax.nnx.nnx.module.Module",
"flax.nnx.module.Module",
"transformers.modeling_flax_utils.FlaxPreTrainedModel",
),
}[kw]
Expand Down

0 comments on commit 256df76

Please sign in to comment.