Instructions to use julianmoraes/test-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use julianmoraes/test-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("julianmoraes/test-model", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey julianmoraes 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(julianmoraes/test-model)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.4364ea6
-
Upload model_index.json with huggingface_hub
d48f0bc -
Upload tokenizer/model_index.json with huggingface_hub
45feddf -
Upload tokenizer/merges.txt with huggingface_hub
c2002da -
Upload tokenizer/special_tokens_map.json with huggingface_hub
8d9f65f -
Upload tokenizer/vocab.json with huggingface_hub
1e87beb -
Upload tokenizer/tokenizer_config.json with huggingface_hub
8c3a078 -
Upload safety_checker/pytorch_model.bin with huggingface_hub
8c2e08a -
Upload safety_checker/config.json with huggingface_hub
3b308c6 -
Upload feature_extractor/preprocessor_config.json with huggingface_hub
28d6503 -
Upload vae/diffusion_pytorch_model.bin with huggingface_hub
2af0742
-
Upload vae/config.json with huggingface_hub
97f5408 -
Upload unet/config.json with huggingface_hub
2df5fbb -
Upload unet/diffusion_pytorch_model.bin with huggingface_hub
0123f0d -
Upload unet/diffusion_pytorch_model.bin with huggingface_hub
03f59fd -
Upload text_encoder/pytorch_model.bin with huggingface_hub
4957c3b -
Upload text_encoder/config.json with huggingface_hub
00fad13 -
Upload scheduler/scheduler_config.json with huggingface_hub
5da9e7f -
Upload model_index.json with huggingface_hub
bd17091 -
initial commit
363a2ec