Update pyproject.toml
Browse files- pyproject.toml +37 -26
pyproject.toml
CHANGED
|
@@ -1,37 +1,48 @@
|
|
| 1 |
-
[build-system]
|
| 2 |
-
requires = ["setuptools>=61.0"]
|
| 3 |
-
build-backend = "setuptools.build_meta"
|
| 4 |
-
|
| 5 |
[project]
|
| 6 |
name = "llava"
|
| 7 |
version = "1.2.2.post1"
|
| 8 |
description = "Towards GPT-4 like large language and visual assistant."
|
| 9 |
readme = "README.md"
|
| 10 |
-
requires-python = ">=3.
|
| 11 |
-
|
| 12 |
-
"Programming Language :: Python :: 3",
|
| 13 |
-
"License :: OSI Approved :: Apache Software License",
|
| 14 |
-
]
|
| 15 |
dependencies = [
|
| 16 |
-
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
"
|
| 22 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
]
|
| 24 |
|
| 25 |
[project.optional-dependencies]
|
| 26 |
-
train = ["deepspeed
|
| 27 |
build = ["build", "twine"]
|
| 28 |
|
| 29 |
-
[project.urls]
|
| 30 |
-
"Homepage" = "https://llava-vl.github.io"
|
| 31 |
-
"Bug Tracker" = "https://github.com/haotian-liu/LLaVA/issues"
|
| 32 |
-
|
| 33 |
-
[tool.setuptools.packages.find]
|
| 34 |
-
exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
|
| 35 |
-
|
| 36 |
-
[tool.wheel]
|
| 37 |
-
exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "llava"
|
| 3 |
version = "1.2.2.post1"
|
| 4 |
description = "Towards GPT-4 like large language and visual assistant."
|
| 5 |
readme = "README.md"
|
| 6 |
+
requires-python = ">=3.10"
|
| 7 |
+
|
|
|
|
|
|
|
|
|
|
| 8 |
dependencies = [
|
| 9 |
+
# Torch uyumu: endpoint zaten 2.5.1+ yüklüyor, minimum 2.0 diyelim
|
| 10 |
+
"torch>=2.0.0",
|
| 11 |
+
"torchvision>=0.15.0",
|
| 12 |
+
|
| 13 |
+
# HF uyumlu sürümler
|
| 14 |
+
"transformers==4.37.2",
|
| 15 |
+
"tokenizers>=0.15.0",
|
| 16 |
+
"sentencepiece>=0.1.99",
|
| 17 |
+
|
| 18 |
+
"shortuuid",
|
| 19 |
+
"accelerate>=0.25.0",
|
| 20 |
+
"peft",
|
| 21 |
+
"bitsandbytes",
|
| 22 |
+
|
| 23 |
+
"pydantic>=1.10.0",
|
| 24 |
+
"markdown2[all]",
|
| 25 |
+
"numpy",
|
| 26 |
+
"scikit-learn>=1.2.2",
|
| 27 |
+
|
| 28 |
+
# Gradio uyumu
|
| 29 |
+
"gradio>=4.16.0",
|
| 30 |
+
"gradio_client>=0.8.1",
|
| 31 |
+
|
| 32 |
+
"requests",
|
| 33 |
+
"httpx>=0.25.0",
|
| 34 |
+
"uvicorn",
|
| 35 |
+
"fastapi",
|
| 36 |
+
|
| 37 |
+
"einops>=0.6.1",
|
| 38 |
+
"einops-exts>=0.0.4",
|
| 39 |
+
"timm==0.6.13",
|
| 40 |
+
|
| 41 |
+
# protobuf fix
|
| 42 |
+
"protobuf==3.20.3"
|
| 43 |
]
|
| 44 |
|
| 45 |
[project.optional-dependencies]
|
| 46 |
+
train = ["deepspeed>=0.15.0", "ninja", "wandb"]
|
| 47 |
build = ["build", "twine"]
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|