FLUX.2 launch
This commit is contained in:
44
pyproject.toml
Normal file
44
pyproject.toml
Normal file
@@ -0,0 +1,44 @@
|
||||
[project]
|
||||
name = "flux"
|
||||
version = "0.1.0"
|
||||
description = "Inference codebase for FLUX.2"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10,<3.13"
|
||||
authors = [
|
||||
{ name = "Black Forest Labs", email = "support@blackforestlabs.ai" }
|
||||
]
|
||||
license = { file = "LICENSE.md" }
|
||||
|
||||
dependencies = [
|
||||
"torch==2.8.0",
|
||||
"torchvision==0.23.0",
|
||||
"einops==0.8.1",
|
||||
"transformers==4.56.1",
|
||||
"safetensors==0.4.5",
|
||||
"fire==0.7.1",
|
||||
"openai==2.8.1",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"ruff==0.6.8",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=64", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 110
|
||||
target-version = "py312"
|
||||
|
||||
[tool.ruff.lint]
|
||||
ignore = [
|
||||
"E501", # line too long (handled by formatter)
|
||||
]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
line-ending = "auto"
|
||||
docstring-code-format = true
|
||||
Reference in New Issue
Block a user