Instructions to use naclbit/trinart_stable_diffusion_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use naclbit/trinart_stable_diffusion_v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("naclbit/trinart_stable_diffusion_v2", 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
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.60feb61
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#15)
- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (59c95224e1af803b20d2ff95a687e309d7a70f3b) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>c32b10d
-
Add `scale_factor` to vae config. (#14)
- Add `scale_factor` to vae config. (79540289dfdb3446eebaa8bbd5bdfc72fe760e8d) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>59d57b9
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#11)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (f63bef2b6cf013abf8059227c1b8a170a6f8fd3c) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>5db75a6 -
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#11)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (f63bef2b6cf013abf8059227c1b8a170a6f8fd3c) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>796e88b -
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#12)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (27b81cc771f37d052007ad57d33c59568ee8912c) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>61e59b3
-
Update README.md
1e47265
-
Update README.md
fe095b8
-
Add DIffusers weights (#9)
- Add Diffusers weights for trinart2_step60000.ckpt (3ac53b52933af1182c1fb29a61802042dab71cc0)15f8aed
-
Update README.md
a2cc7d8
-
tag fix
8c916a7 -
Update license (#8)
- Update license (96f50e5414188a6bd4afc5bb54c05d7ff0db801b) Co-authored-by: Carlos Muñoz Ferrandis <CarlosMF@users.noreply.huggingface.co>2ed4d59
-
add gradio web ui in colab notebook (#5)
- add gradio web ui in colab notebook (5cbd307eb6ab2a583a679864e2c6dd35a8773698) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>e24bdf9
-
Update README.md
cleaning up broken links0e4259c -
Change README to show how to use it with diffusers (#4)
- Change README to show how to use it with diffusers (0628f4b96d2ae4dc2f55c3aa541f7db6675a5501) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>af81239
-
Update README.md
094482a
-
Added training info
af3bbd5 -
Update README.md
9c1a7cc
-
Update README.md
d2896e1
-
Update README.md
b853beb -
Upload trinart2_step115000.ckpt
ac4ab32 -
Update README.md
6b38628 -
Update README.md
e2eba97 -
Update README.md
f17ae6d -
Update README.md
df7bd2f -
Update README.md
c6821af -
Upload trinart2_step95000.ckpt
18551bd -
Update README.md
73c2498
-
Upload trinart2_step60000.ckpt
9ea33c8 -
Update README.md
f1a42bb -
Update README.md
161ae68 -
initial commit
4d0c7c4