2023-01-17 02:00:02 +00:00
|
|
|
[build-system]
|
2023-01-19 02:12:59 +00:00
|
|
|
requires = ["setuptools~=65.5", "pip~=22.3", "wheel"]
|
2023-01-17 02:00:02 +00:00
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "InvokeAI"
|
|
|
|
description = "An implementation of Stable Diffusion which provides various new features and options to aid the image generation process"
|
|
|
|
requires-python = ">=3.9, <3.11"
|
|
|
|
readme = { content-type = "text/markdown", file = "README.md" }
|
|
|
|
keywords = ["stable-diffusion", "AI"]
|
|
|
|
dynamic = ["version"]
|
|
|
|
license = { file = "LICENSE" }
|
|
|
|
authors = [{ name = "The InvokeAI Project", email = "lincoln.stein@gmail.com" }]
|
|
|
|
classifiers = [
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
'Environment :: GPU',
|
|
|
|
'Environment :: GPU :: NVIDIA CUDA',
|
|
|
|
'Environment :: MacOS X',
|
|
|
|
'Intended Audience :: End Users/Desktop',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
'Operating System :: MacOS',
|
|
|
|
'Operating System :: Microsoft :: Windows',
|
|
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
'Programming Language :: Python :: 3.10',
|
|
|
|
'Topic :: Artistic Software',
|
|
|
|
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
|
|
|
|
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
|
|
|
|
'Topic :: Multimedia :: Graphics',
|
|
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
|
|
'Topic :: Scientific/Engineering :: Image Processing',
|
|
|
|
]
|
|
|
|
dependencies = [
|
|
|
|
"accelerate",
|
|
|
|
"albumentations",
|
2023-02-05 03:05:27 +00:00
|
|
|
"click",
|
2023-01-26 14:35:16 +00:00
|
|
|
"clip_anytorch", # replacing "clip @ https://github.com/openai/CLIP/archive/eaa22acb90a5876642d0507623e859909230a52d.zip",
|
2023-02-19 19:42:29 +00:00
|
|
|
"compel",
|
2023-01-17 02:00:02 +00:00
|
|
|
"datasets",
|
2023-02-21 22:28:07 +00:00
|
|
|
"diffusers[torch]~=0.13",
|
2023-01-17 02:00:02 +00:00
|
|
|
"dnspython==2.2.1",
|
|
|
|
"einops",
|
|
|
|
"eventlet",
|
|
|
|
"facexlib",
|
|
|
|
"flask==2.1.3",
|
|
|
|
"flask_cors==3.0.10",
|
|
|
|
"flask_socketio==5.3.0",
|
|
|
|
"flaskwebgui==1.0.3",
|
|
|
|
"getpass_asterisk",
|
|
|
|
"gfpgan==1.3.8",
|
|
|
|
"huggingface-hub>=0.11.1",
|
|
|
|
"imageio",
|
|
|
|
"imageio-ffmpeg",
|
2023-01-26 14:35:16 +00:00
|
|
|
"k-diffusion", # replacing "k-diffusion @ https://github.com/Birch-san/k-diffusion/archive/refs/heads/mps.zip",
|
2023-01-17 02:00:02 +00:00
|
|
|
"kornia",
|
|
|
|
"npyscreen",
|
2023-01-30 23:42:17 +00:00
|
|
|
"numpy<1.24",
|
2023-01-17 02:00:02 +00:00
|
|
|
"omegaconf",
|
|
|
|
"opencv-python",
|
|
|
|
"picklescan",
|
|
|
|
"pillow",
|
|
|
|
"pudb",
|
2023-01-27 06:20:50 +00:00
|
|
|
"prompt-toolkit",
|
2023-01-17 02:00:02 +00:00
|
|
|
"pypatchmatch",
|
|
|
|
"pyreadline3",
|
|
|
|
"pytorch-lightning==1.7.7",
|
|
|
|
"realesrgan",
|
2023-01-30 23:42:17 +00:00
|
|
|
"requests==2.28.2",
|
2023-01-17 02:00:02 +00:00
|
|
|
"safetensors",
|
|
|
|
"scikit-image>=0.19",
|
|
|
|
"send2trash",
|
|
|
|
"streamlit",
|
|
|
|
"taming-transformers-rom1504",
|
|
|
|
"test-tube>=0.7.5",
|
|
|
|
"torch>=1.13.1",
|
|
|
|
"torch-fidelity",
|
|
|
|
"torchvision>=0.14.1",
|
|
|
|
"torchmetrics",
|
|
|
|
"transformers~=4.25",
|
|
|
|
"windows-curses; sys_platform=='win32'",
|
|
|
|
]
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
"dist" = ["pip-tools", "pipdeptree", "twine"]
|
|
|
|
"docs" = [
|
|
|
|
"mkdocs-material<9.0",
|
|
|
|
"mkdocs-git-revision-date-localized-plugin",
|
|
|
|
"mkdocs-redirects==1.2.0",
|
|
|
|
]
|
2023-01-27 00:45:04 +00:00
|
|
|
"test" = ["pytest>6.0.0", "pytest-cov"]
|
2023-02-01 22:41:38 +00:00
|
|
|
"xformers" = [
|
|
|
|
"xformers~=0.0.16; sys_platform!='darwin'",
|
2023-02-02 05:28:38 +00:00
|
|
|
"triton; sys_platform=='linux'",
|
2023-02-01 22:41:38 +00:00
|
|
|
]
|
2023-01-17 02:00:02 +00:00
|
|
|
|
|
|
|
[project.scripts]
|
2023-01-28 21:56:14 +00:00
|
|
|
|
|
|
|
# legacy entrypoints; provided for backwards compatibility
|
|
|
|
"invoke.py" = "ldm.invoke.CLI:main"
|
2023-02-04 17:00:17 +00:00
|
|
|
"configure_invokeai.py" = "ldm.invoke.config.invokeai_configure:main"
|
2023-02-02 05:43:50 +00:00
|
|
|
"textual_inversion.py" = "ldm.invoke.training.textual_inversion:main"
|
|
|
|
"merge_embeddings.py" = "ldm.invoke.merge_diffusers:main"
|
2023-01-28 21:56:14 +00:00
|
|
|
|
|
|
|
# modern entrypoints
|
|
|
|
"invokeai" = "ldm.invoke.CLI:main"
|
2023-02-04 17:00:17 +00:00
|
|
|
"invokeai-configure" = "ldm.invoke.config.invokeai_configure:main"
|
2023-01-28 21:56:14 +00:00
|
|
|
"invokeai-merge" = "ldm.invoke.merge_diffusers:main" # note name munging
|
|
|
|
"invokeai-ti" = "ldm.invoke.training.textual_inversion:main"
|
2023-02-12 03:32:48 +00:00
|
|
|
"invokeai-update" = "ldm.invoke.config.invokeai_update:main"
|
2023-01-17 02:00:02 +00:00
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
"Homepage" = "https://invoke-ai.github.io/InvokeAI/"
|
|
|
|
"Documentation" = "https://invoke-ai.github.io/InvokeAI/"
|
|
|
|
"Source" = "https://github.com/invoke-ai/InvokeAI/"
|
|
|
|
"Bug Reports" = "https://github.com/invoke-ai/InvokeAI/issues"
|
|
|
|
"Discord" = "https://discord.gg/ZmtBAhwWhy"
|
|
|
|
|
|
|
|
[tool.setuptools.dynamic]
|
|
|
|
version = { attr = "ldm.invoke.__version__" }
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
"where" = ["."]
|
2023-01-30 23:42:17 +00:00
|
|
|
"include" = ["invokeai.assets.web*", "invokeai.backend*", "invokeai.frontend.dist*", "invokeai.configs*", "ldm*"]
|
2023-01-17 02:00:02 +00:00
|
|
|
|
|
|
|
[tool.setuptools.package-data]
|
2023-01-30 23:42:17 +00:00
|
|
|
"invokeai.assets.web" = ["**.png"]
|
|
|
|
"invokeai.backend" = ["**.png"]
|
|
|
|
"invokeai.configs" = ["*.example", "**/*.yaml", "*.txt"]
|
|
|
|
"invokeai.frontend.dist" = ["**"]
|
2023-01-17 02:00:02 +00:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
2023-01-27 00:45:04 +00:00
|
|
|
addopts = "-p pytest_cov --junitxml=junit/test-results.xml --cov-report=term:skip-covered --cov=ldm/invoke --cov=backend --cov-branch"
|