Skip to content

Commit 1ed00f3

Browse files
Mishig Davaadorjpatil-suraj
andauthored
Update src/diffusers/modeling_flax_utils.py
Co-authored-by: Suraj Patil <[email protected]>
1 parent f9675e9 commit 1ed00f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/modeling_flax_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def to_fp16(self, params: Union[Dict, FrozenDict], mask: Any = None):
184184
return self._cast_floating_to(params, jnp.float16, mask)
185185

186186
def init_weights(self, rng: jax.random.PRNGKey) -> Dict:
187-
raise NotImplementedError(f"init method has to be implemented for {self}")
187+
raise NotImplementedError(f"init_weights method has to be implemented for {self}")
188188

189189
@classmethod
190190
def from_pretrained(

0 commit comments

Comments
 (0)