We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd7983 commit d1b1bcdCopy full SHA for d1b1bcd
src/diffusers/models/modeling_flax_utils.py
@@ -290,6 +290,10 @@ def from_pretrained(
290
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
291
```
292
"""
293
+ logger.warning(
294
+ "Flax classes are deprecated and will be removed in Diffusers v1. We "
295
+ "recommend migrating to PyTorch classes or pinning your version of Diffusers."
296
+ )
297
config = kwargs.pop("config", None)
298
cache_dir = kwargs.pop("cache_dir", None)
299
force_download = kwargs.pop("force_download", False)
0 commit comments