test: run some tests on python 3.11 as well (#454)

torch doesn't support 3.12 yet
pull/457/head
Bryce Drennan 4 months ago committed by GitHub
parent 601a112dc3
commit 1de5d28554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

@ -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
-
## Decided against
- Scalecrafter https://yingqinghe.github.io/scalecrafter/ - doesn't look any better than img2img
Loading…
Cancel
Save