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
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM.
Hey julianmoraes 👋, Your model repository seems to contain a stable diffusion checkpoint. We have noticed that your scheduler config currently does not correctly work with the [DDIMScheduler](https://huggingface.co/docs/diffusers/main/en/api/schedulers#diffusers.DDIMScheduler) because `clip_sample` is not set to False and will therefore [incorrectly default to True](https://github.com/huggingface/diffusers/blob/3ce6380d3a2ec5c3e3f4f48889d380d657b151bc/src/diffusers/schedulers/scheduling_ddim.py#L127). The official stable diffusion checkpoints have `clip_sample=False` so that the scheduler config works will **all** schedulers, see: https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/scheduler/scheduler_config.json#L7. We strongly recommend that you merge this PR to make sure your model works correctly with DDIM. Diffusingly, Patrick.7cb927e
-
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