forked from allenai/molmoact2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (112 loc) · 2.18 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (112 loc) · 2.18 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ai2-molmo"
dynamic = ["version"]
readme = "README.md"
description = "Multimodal Open Language Model (Molmo)"
authors = [
{ name = "Allen Institute for Artificial Intelligence" }
]
requires-python = ">=3.10"
license = { file = "LICENSE" }
dependencies = [
"absl-py",
"cached_property",
"fiddle >= 0.2.5",
"numpy<2.3.0,>=2.0.0",
"torch",
"torchvision",
"omegaconf",
"rich",
"boto3",
"google-cloud-storage",
"tokenizers",
"packaging",
"cached_path>=1.6.4",
"transformers>=5.3.0,<6.0.0",
"datasets",
"huggingface_hub",
"sentencepiece",
"requests",
"einops",
"einops-exts",
"tqdm",
"gcsfs==2023.9.2",
"accelerate",
"imageio",
"imageio[pyav]",
"decord2",
"av",
"moviepy",
"ffmpeg-python",
"json_numpy",
"peft>=0.18.0,<=0.18.1",
]
[project.optional-dependencies]
dev = [
"ruff",
"mypy>=1.0,<1.4",
"black>=23.1,<24.0",
"isort>=5.12,<5.13",
"pytest",
"pytest-sphinx",
"twine>=1.11.0",
"setuptools<81.0.0,>=71.0.0",
"func_timeout",
"google-genai",
"wheel",
"build",
]
train = [
"wandb",
"beaker-py==1.36.2",
"beaker-gantry==1.17.0",
"click",
"torchmetrics",
"smashed[remote]>=0.21.1",
"safetensors",
"moviepy",
"scikit-learn",
"msgspec>=0.14.0",
"openai",
"python-Levenshtein",
"editdistance"
]
serve = [
"pydantic",
"uvicorn",
"gradio",
"fastapi",
"webdataset",
"fasttext-numpy2",
"cloudflared-tunnel",
]
all = [
"ai2-molmo[dev,train,serve]",
]
[project.urls]
Homepage = "https://github.com/allenai/molmo"
Repository = "https://github.com/allenai/molmo"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["olmo*"]
exclude = [
"*.tests",
"*.tests.*",
"tests.*",
"tests",
"test_fixtures",
"test_fixtures.*",
"docs*",
"scripts*",
"olmo_tokenizer.*",
"evaluation.*",
"pretrain_data.*",
"tmp_*",
"inference.*",
]
[tool.setuptools.dynamic]
version = { attr = "olmo.version.VERSION" }