P-Q-Image-2.1-DWD / pyproject.toml
sdiazlor's picture
fix: rename the model
85e2c6a
Raw History Blame Contribute Delete
1.47 kB
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "p-q-image-2-1-dwd"
version = "0.1.0"
description = "Decoding Without a Decoder (DWD) for Qwen-Image-2.1-Turbo: a pixel head that replaces the last step and the VAE decode"
readme = "README.md"
# the code (src/, scripts/, tests/) is Apache-2.0; the weights in this repository are under the Qwen RESEARCH
# LICENSE AGREEMENT (LICENSE). See NOTICE.
license = "Apache-2.0"
license-files = ["LICENSE-APACHE", "NOTICE"]
authors = [{ name = "Pruna AI" }]
requires-python = ">=3.10"
keywords = ["diffusion", "qwen-image", "text-to-image", "image-editing", "vae-free", "dwd"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.6",
"diffusers==0.41.0", # the tail and the prefix forward use QwenImage21Transformer2DModel internals
"transformers==5.23.0", # Qwen3-VL prompt encoder, as tested
"accelerate",
"safetensors",
"huggingface-hub",
"pillow",
"numpy",
]
[project.optional-dependencies]
dev = ["pytest"]
[project.urls]
Paper = "https://arxiv.org/abs/2611.22287"
"Base model" = "https://huggingface.co/Qwen/Qwen-Image-2.1-Turbo"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]