Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (52 loc) · 1.81 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (52 loc) · 1.81 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
"""Legacy setuptools configuration for xModelFactory."""
from pathlib import Path
from setuptools import find_packages, setup
ROOT = Path(__file__).parent
version = "1.0.0"
long_description = (ROOT / "README.md").read_text(encoding="utf-8")
setup(
name='xmodelfactory',
version=version,
description='A comprehensive training framework for LLM and VLM',
long_description=long_description,
long_description_content_type='text/markdown',
author='xiong xin',
author_email='xiongxinland@gmail.com',
url='https://github.com/yourusername/xModelFactory',
packages=find_packages(),
include_package_data=True,
python_requires='>=3.8',
install_requires=[
'torch>=2.0.0',
'numpy>=1.20.0',
],
extras_require={
'deepspeed': ['deepspeed>=0.12.0'],
'lion': ['lion-pytorch>=0.1.0'],
'all': [
'deepspeed>=0.12.0',
'lion-pytorch>=0.1.0',
],
},
entry_points={
'console_scripts': [
'smart_train=xmodel_factory.cli.smart_train:main',
'ds_train=xmodel_factory.cli.ds_train:main',
'ddp_train=xmodel_factory.cli.ddp_train:main',
'py_train=xmodel_factory.cli.py_train:main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='llm vlm training deepspeed distributed pytorch',
)