-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·88 lines (84 loc) · 2.48 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·88 lines (84 loc) · 2.48 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
#!/usr/bin/env python3
"""
ElasticMM - Elastic Multimodal Parallelism Framework
Setup script for package installation
"""
from setuptools import setup, find_packages
import os
# Read the README file
def read_readme():
with open("README.md", "r", encoding="utf-8") as fh:
return fh.read()
# Read requirements
def read_requirements():
with open("requirements.txt", "r", encoding="utf-8") as fh:
return [line.strip() for line in fh if line.strip() and not line.startswith("#")]
setup(
name="elasticmm",
version="1.0.0",
author="ElasticMM Team",
author_email="elasticmm@example.com",
description="Elastic Multimodal Parallelism Framework for Large Language Model Services",
long_description=read_readme(),
long_description_content_type="text/markdown",
url="https://github.com/elasticmm/elasticmm",
project_urls={
"Bug Reports": "https://github.com/elasticmm/elasticmm/issues",
"Source": "https://github.com/elasticmm/elasticmm",
"Documentation": "https://elasticmm.readthedocs.io/",
},
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
],
python_requires=">=3.8",
install_requires=[
# Core dependencies (required versions)
"ray>=2.8.0",
"vllm>=0.10.0",
"torch>=2.0.0",
"transformers>=4.35.0",
# HTTP and async frameworks
"aiohttp",
"httpx",
"quart",
"uvicorn",
# Data processing
"numpy",
"msgpack",
"Pillow",
"pyyaml",
# Communication
"pyzmq",
# Type hints
"typing-extensions",
],
include_package_data=True,
package_data={
"elasticmm": [
"configs/*.yaml",
"configs/*.json",
"examples/*.py",
"tests/*.py",
],
},
zip_safe=False,
keywords=[
"multimodal",
"large-language-models",
"elastic-computing",
"distributed-systems",
"parallelism",
"vllm",
"gpu-acceleration",
"load-balancing",
"auto-scaling",
],
)