Instructions to use d-wang26/mk1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use d-wang26/mk1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("d-wang26/mk1", 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
|
Download diffusers/examples/research_projects/README.md from d-wang26/mk1: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/d-wang26/mk1/resolve/main/diffusers/examples/research_projects/README.md
- Command line
-
hf download hf://d-wang26/mk1/diffusers/examples/research_projects/README.md
-
curl -L -o README.md https://huggingface.co/d-wang26/mk1/resolve/main/diffusers/examples/research_projects/README.md
618 Bytes
| # Research projects | |
| This folder contains various research projects using 🧨 Diffusers. | |
| They are not really maintained by the core maintainers of this library and often require a specific version of Diffusers that is indicated in the requirements file of each folder. | |
| Updating them to the most recent version of the library will require some work. | |
| To use any of them, just run the command | |
| ``` | |
| pip install -r requirements.txt | |
| ``` | |
| inside the folder of your choice. | |
| If you need help with any of those, please open an issue where you directly ping the author(s), as indicated at the top of the README of each folder. | |