Janus/pyproject.toml

59 lines
1.2 KiB
TOML
Raw Normal View History

2024-10-17 23:58:52 -04:00
[project]
name = "janus"
version = "1.0.0"
2025-01-28 04:46:06 -05:00
description = "Janus - Unified Multimodal Understanding and Generation Models"
2024-10-17 23:58:52 -04:00
authors = [{name = "DeepSeek-AI"}]
license = {file = "LICENSE-CODE"}
urls = {homepage = "https://github.com/deepseek-ai/Janus"}
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
2025-01-28 04:46:06 -05:00
"torch>=2.0.1,<3.0.0",
"transformers>=4.38.2,<5.0.0",
"timm>=0.9.16,<1.0.0",
"accelerate>=0.28.0",
"sentencepiece>=0.2.0",
"attrdict>=2.0.1",
"einops>=0.8.0",
"Pillow>=10.0.0",
"numpy>=1.24.0",
2024-10-17 23:58:52 -04:00
]
[project.optional-dependencies]
gradio = [
"gradio==3.48.0",
"gradio-client==0.6.1",
"mdtex2html==1.3.0",
"pypinyin==0.50.0",
"tiktoken==0.5.2",
"tqdm==4.64.0",
"colorama==0.4.5",
"Pygments==2.12.0",
"markdown==3.4.1",
"SentencePiece==0.1.96"
]
lint = [
"isort",
"black[jupyter] >= 22.6.0",
"pylint[spelling] >= 2.15.0",
"flake8",
"flake8-bugbear",
"flake8-comprehensions",
"flake8-docstrings",
"flake8-pyi",
"flake8-simplify",
"ruff",
"pyenchant",
"pre-commit",
]
2025-01-28 04:46:06 -05:00
windows = [
"pywin32>=306",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.1.0",
"mypy>=1.0.0",
]
2024-10-17 23:58:52 -04:00
[tool.setuptools]
2025-01-28 04:46:06 -05:00
packages = {find = {exclude = ["images", "tests"]}}