diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f017d0af..3d28fc95 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -62,14 +62,19 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: + - "3.10" + - "3.11" +# torch for python 3.12 is not available yet +# https://github.com/pytorch/pytorch/issues/110436 +# - "3.12" os: ["ubuntu-latest"] steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} cache: pip cache-dependency-path: requirements-dev.txt - name: Install dependencies @@ -96,25 +101,48 @@ jobs: - name: Run mypy run: | make type-check - pkg-smoke-test: + build-wheel: + name: Build Wheel runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4.5.0 + with: + python-version: "3.10" + - name: Install dependencies + run: python -m pip install wheel + - name: Build package + run: python setup.py bdist_wheel + - uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist/*.whl + smoke-test-wheel: + needs: build-wheel + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.10", "3.11"] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4.5.0 with: - python-version: "3.10" - - name: Install dependencies - run: | - python -m pip install wheel - - name: Build package - run: | - python setup.py sdist bdist_wheel + python-version: ${{ matrix.python-version }} + - uses: actions/download-artifact@v3 + with: + name: wheels + path: dist - name: Install built wheel run: | python -m pip install dist/*.whl - name: Generate an image run: | - imagine fruit --steps 10 --size 496 --seed 1 + imagine fruit --steps 10 --size 512 --seed 1 + - uses: actions/upload-artifact@v3 + with: + name: images + path: outputs/generated/*.jpg publish-docs: diff --git a/docs/todo.md b/docs/todo.md index d842ece1..29abca73 100644 --- a/docs/todo.md +++ b/docs/todo.md @@ -26,6 +26,8 @@ - allow specification of filename format - chain multiple operations together imggen => videogen - https://github.com/pallets/click/tree/main/examples/imagepipe + + - - https://huggingface.co/playgroundai/playground-v2-1024px-aesthetic @@ -37,8 +39,11 @@ #### Investigate + - use fancy noise https://github.com/Extraltodeus/noise_latent_perlinpinpin + - use latent upscaler https://github.com/city96/SD-Latent-Upscaler + - use latent interposer https://github.com/city96/SD-Latent-Interposer/tree/main + - https://github.com/madebyollin/taesd - textdiffusers https://jingyechen.github.io/textdiffuser2/ - - Scalecrafter https://yingqinghe.github.io/scalecrafter/ - Fast diffusion with LCM Lora https://huggingface.co/latent-consistency/lcm-lora-sdv1-5/tree/main - 3d diffusion https://huggingface.co/stabilityai/stable-zero123 - magic animate @@ -185,4 +190,6 @@ - [ColoassalAI](https://github.com/hpcaitech/ColossalAI/tree/main/examples/images/diffusion) - almost got it working but it's not easy enough to install to merit inclusion in imaginairy. We should check back in on this. - Xformers - Deepspeed - - \ No newline at end of file + +## Decided against + - Scalecrafter https://yingqinghe.github.io/scalecrafter/ - doesn't look any better than img2img \ No newline at end of file