Skip to content

[advanced dreambooth lora sdxl training script] load pipeline for inference only if validation prompt is used #7853

[advanced dreambooth lora sdxl training script] load pipeline for inference only if validation prompt is used

[advanced dreambooth lora sdxl training script] load pipeline for inference only if validation prompt is used #7853

name: Run dependency tests
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check_dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest
- name: Check for soft dependencies
run: |
pytest tests/others/test_dependencies.py