Instructions to use isatis/kw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use isatis/kw with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("isatis/kw", 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
try endpoint lib from doc
Browse files- requirements.txt +3 -0
requirements.txt
CHANGED
|
@@ -1 +1,4 @@
|
|
| 1 |
#xformers==0.0.20
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#xformers==0.0.20
|
| 2 |
+
pytorch: 1.13.1=py3.9_cuda11.8*
|
| 3 |
+
torchvision: 0.14.1
|
| 4 |
+
diffusers: 0.14.0
|