Text-to-Image
Diffusers
TensorBoard
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
Instructions to use frknayk/dreambooth_training with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use frknayk/dreambooth_training with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("frknayk/dreambooth_training", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download diffusers/.github/workflows/pr_quality.yml from frknayk/dreambooth_training: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/frknayk/dreambooth_training/resolve/main/diffusers/.github/workflows/pr_quality.yml
- Command line
-
hf download hf://frknayk/dreambooth_training/diffusers/.github/workflows/pr_quality.yml
-
curl -L -o pr_quality.yml https://huggingface.co/frknayk/dreambooth_training/resolve/main/diffusers/.github/workflows/pr_quality.yml
1.33 kB
| name: Run code quality checks | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| check_code_quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.7" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[quality] | |
| - name: Check quality | |
| run: | | |
| black --check examples tests src utils scripts | |
| ruff examples tests src utils scripts | |
| doc-builder style src/diffusers docs/source --max_len 119 --check_only --path_to_docs docs/source | |
| check_repository_consistency: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.7" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[quality] | |
| - name: Check quality | |
| run: | | |
| python utils/check_copies.py | |
| python utils/check_dummies.py | |
| make deps_table_check_updated | |