Instructions to use Blackroot/SimpleDiffusion-TensorProductAttentionRope with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Blackroot/SimpleDiffusion-TensorProductAttentionRope with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Blackroot/SimpleDiffusion-TensorProductAttentionRope", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload 4 files
Browse files- .gitattributes +4 -0
- epoch_159.png +3 -0
- epoch_39.png +3 -0
- epoch_459.png +3 -0
- epoch_799.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
epoch_159.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
epoch_39.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
epoch_459.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
epoch_799.png filter=lfs diff=lfs merge=lfs -text
|
epoch_159.png
ADDED
|
Git LFS Details
|
epoch_39.png
ADDED
|
Git LFS Details
|
epoch_459.png
ADDED
|
Git LFS Details
|
epoch_799.png
ADDED
|
Git LFS Details
|