Instructions to use Zeldron/Silverhand with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Zeldron/Silverhand with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Zeldron/Silverhand", 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 Zeldron 👋, 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.2a7c48a
-
Update model_index.json
0c5fea8 -
Upload 4 files
5b57b24 -
Delete vocab.json
2cfb5e7 -
Delete tokenizer_config.json
f9cb16d -
Delete special_tokens_map.json
f2dbe14 -
Delete merges_.txt
fed9e7b -
Create tokenizer/test.txt
ee47303 -
Upload 4 files
d203999 -
Delete tokenizer/vocab.json
b3a1db8 -
Delete tokenizer/tokenizer_config.json
32b229b -
Delete tokenizer/special_tokens_map.json
f20e777 -
Delete tokenizer/merges_.txt
b49f84f -
Delete tokenizer/merges.txt
9ea6206 -
Upload merges_.txt
66a9d79 -
Upload merges.txt
ec5d382 -
Updated tokenizer
bf3f206 -
Upload 4 files
1329918
-
Upload feature_extractor/preprocessor_config.json with huggingface_hub
0084476 -
Upload safety_checker/pytorch_model.bin with huggingface_hub
ff9dd29 -
Upload safety_checker/config.json with huggingface_hub
dd79d69 -
Upload scheduler/scheduler_config.json with huggingface_hub
06f37db -
Upload text_encoder/pytorch_model.bin with huggingface_hub
9cfe497 -
Upload text_encoder/config.json with huggingface_hub
03618ab -
Upload tokenizer/vocab.json with huggingface_hub
1faaa7b -
Upload tokenizer/tokenizer_config.json with huggingface_hub
c5adc7d -
Upload tokenizer/special_tokens_map.json with huggingface_hub
b106efd -
Upload tokenizer/merges.txt with huggingface_hub
46c2904 -
Upload unet/diffusion_pytorch_model.bin with huggingface_hub
2ef8675 -
Upload unet/config.json with huggingface_hub
1196a5b -
Upload vae/diffusion_pytorch_model.bin with huggingface_hub
a9f93d7 -
Upload vae/config.json with huggingface_hub
bbcf6e6 -
Upload model_index.json with huggingface_hub
731e86b -
Upload model_index.json with huggingface_hub
25c4cdb -
Upload model_index.json with huggingface_hub
1db3a49 -
Upload model_index.json with huggingface_hub
d6056c6 -
Upload model_index.json with huggingface_hub
c0bb65c
-
Create README.md
e5613ca
-
initial commit
9e1bfd5