TinmanLabSL commited on
Commit
1fe55e7
·
verified ·
1 Parent(s): a50742b

Upload pyproject.toml

Browse files
Files changed (1) hide show
  1. pyproject.toml +69 -0
pyproject.toml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "smolomni"
7
+ version = "0.1.0"
8
+ description = "Tinman-SmolOmni-MLA: Unified any-to-any multimodal model with MLA attention"
9
+ readme = "README.md"
10
+ license = {text = "Apache-2.0"}
11
+ requires-python = ">=3.9"
12
+ authors = [
13
+ {name = "Tinman Lab", email = "tinmanlab@example.com"}
14
+ ]
15
+ keywords = [
16
+ "multimodal", "vision-language-model", "mla-attention",
17
+ "flow-matching", "image-generation", "on-device", "smol-scale"
18
+ ]
19
+ classifiers = [
20
+ "Development Status :: 3 - Alpha",
21
+ "Intended Audience :: Developers",
22
+ "Intended Audience :: Science/Research",
23
+ "License :: OSI Approved :: Apache Software License",
24
+ "Programming Language :: Python :: 3",
25
+ "Programming Language :: Python :: 3.9",
26
+ "Programming Language :: Python :: 3.10",
27
+ "Programming Language :: Python :: 3.11",
28
+ "Programming Language :: Python :: 3.12",
29
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
30
+ ]
31
+
32
+ dependencies = [
33
+ "torch>=2.0.0",
34
+ "transformers>=4.40.0",
35
+ "accelerate>=0.25.0",
36
+ "huggingface-hub>=0.20.0",
37
+ "numpy>=1.24.0",
38
+ "safetensors>=0.4.0",
39
+ "tqdm",
40
+ ]
41
+
42
+ [project.optional-dependencies]
43
+ audio = ["soundfile", "librosa", "torchaudio"]
44
+ onnx = ["onnx", "onnxruntime"]
45
+ quantization = ["bitsandbytes"]
46
+ dev = ["pytest", "black", "ruff"]
47
+ all = [
48
+ "smolomni[audio]",
49
+ "smolomni[onnx]",
50
+ "smolomni[quantization]",
51
+ ]
52
+
53
+ [project.urls]
54
+ Homepage = "https://huggingface.co/TinmanLabSL/SmolOmni-MLA-Toolkit"
55
+ Repository = "https://huggingface.co/TinmanLabSL/SmolOmni-MLA-Toolkit"
56
+ Documentation = "https://huggingface.co/TinmanLabSL/SmolOmni-MLA-Toolkit/blob/main/README.md"
57
+
58
+ [tool.setuptools.packages.find]
59
+ where = ["."]
60
+ include = ["smolomni*"]
61
+
62
+ [tool.black]
63
+ line-length = 100
64
+ target-version = ['py39', 'py310', 'py311', 'py312']
65
+
66
+ [tool.ruff]
67
+ line-length = 100
68
+ select = ["E", "F", "W", "I"]
69
+ ignore = ["E501"]