nunchaku-kontext / pyproject.toml
D3vShoaib's picture
Add Git LFS support and remove binary files
04eaca9
raw
history blame contribute delete
962 Bytes
[tool.isort]
profile = "black"
known_first_party = ["nunchaku"]
line_length = 120
[tool.black]
line-length = 120
target-version = ['py311']
[tool.ruff]
line-length = 120
[project]
dynamic = ["version"]
name = "flux-kontext"
description = "Optimized FLUX-Kontext implementation using quantization and acceleration techniques"
dependencies = [
"diffusers>=0.35.1",
"transformers>=4.53.3",
"accelerate>=1.9.0",
"sentencepiece",
"protobuf",
"huggingface_hub>=0.34",
"peft>=0.17",
"einops",
"torch>=2.5",
"gradio",
"pillow",
]
requires-python = ">=3.10"
[build-system]
requires = [
"setuptools",
"torch>=2.5",
"wheel",
"ninja",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["nunchaku"]
[tool.doc8]
max-line-length = 120
ignore-path = ["docs/_build"]
ignore = ["D000", "D001"]
[tool.rstcheck]
ignore_directives = ["tabs"]
ignore_messages = ["ERROR/3", "INFO/1"]