-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
77 lines (69 loc) · 1.92 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "cobra-vlm"
authors = [
{name = "Han Zhao", email="[email protected]"}
]
description = "Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient Inference"
version = "0.0.1"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["vision-language models", "multimodal pretraining", "machine learning"]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"accelerate>=0.25.0",
"draccus @ git+https://github.com/dlwh/draccus",
"einops",
"jsonlines",
"rich",
"timm==0.9.10",
"torch>=2.1.0",
"torchvision>=0.16.0",
"torchaudio",
"transformers==4.34.1",
"wandb"
]
[project.optional-dependencies]
dev = [
"black",
"gpustat",
"ipython",
"pre-commit",
"ruff",
]
[project.urls]
homepage = "https://github.com/h-zhao1997/cobra"
repository = "https://github.com/h-zhao1997/cobra"
documentation = "https://github.com/h-zhao1997/cobra"
[tool.setuptools.packages.find]
where = ["."]
exclude = ["cache"]
[tool.setuptools.package-data]
"cobra" = ["py.typed"]
[tool.black]
line-length = 121
target-version = ["py38", "py39", "py310"]
preview = true
[tool.ruff]
line-length = 121
target-version = "py38"
select = ["A", "B", "E", "F", "I", "RUF", "W"]
ignore = ["F722"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]