2023-09-24 15:14:11 +00:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
|
|
|
|
def fetch_requirements(path):
|
|
|
|
with open(path, "r") as fd:
|
|
|
|
return [r.strip() for r in fd.readlines()]
|
|
|
|
|
|
|
|
|
|
|
|
def fetch_readme():
|
|
|
|
with open("README.md", encoding="utf-8") as f:
|
|
|
|
return f.read()
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="colossal_eval",
|
|
|
|
version="0.0.1",
|
|
|
|
packages=find_packages(exclude=["examples", "*.egg-info"]),
|
|
|
|
description="Colossal-AI LLM-Evaluation Framework",
|
|
|
|
long_description=fetch_readme(),
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
license="Apache Software License 2.0",
|
2023-12-12 06:47:35 +00:00
|
|
|
url="https://github.com/hpcaitech/ColossalAI/tree/main/applications/ColossalEval",
|
2023-09-24 15:14:11 +00:00
|
|
|
install_requires=fetch_requirements("requirements.txt"),
|
|
|
|
python_requires=">=3.6",
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Environment :: GPU :: NVIDIA CUDA",
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
],
|
|
|
|
)
|