-
Notifications
You must be signed in to change notification settings - Fork 86
/
setup.py
36 lines (33 loc) · 1.18 KB
/
setup.py
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
from setuptools import setup, find_packages
from ane_transformers._version import __version__
with open('README.md') as f:
readme = f.read()
setup(
name='ane_transformers',
version=__version__,
url='https://github.com/apple/ml-ane-transformers',
description="Reference PyTorch implementation of Transformers for Apple Neural Engine (ANE) deployment",
long_description=readme,
long_description_content_type='text/markdown',
author='Apple Inc.',
install_requires=[
"torch>=1.10.0,<=1.11.0",
"coremltools>=5.2.0",
"transformers>=4.18.0",
"protobuf>=3.1.0,<=3.20.1",
],
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
],
)