-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (45 loc) · 1.38 KB
/
setup.py
File metadata and controls
50 lines (45 loc) · 1.38 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
from pathlib import Path
from setuptools import find_packages, setup
if __name__ == "__main__":
with Path(Path(__file__).parent, "README.md").open(encoding="utf-8") as file:
long_description = file.read()
REQUIREMENTS = [
"einops",
"einops-exts",
"transformers>=4.28.1,<4.39",
"torch>=2.1.2",
"torchvision>=0.16.2",
"triton==2.1.0",
"numpy==1.26.0",
"pillow",
"h5py",
"sacremoses",
]
TRAINING = [
"wandb",
"torchvision",
"tqdm",
]
setup(
name="pathoMozhi",
packages=find_packages(),
include_package_data=True,
version="0.1.0",
license="MIT",
description="An open-source framework for training large multimodal models",
long_description=long_description,
long_description_content_type="text/markdown",
data_files=[(".", ["README.md"])],
keywords=["machine learning"],
install_requires=REQUIREMENTS,
extras_require={
"training": TRAINING,
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
],
)