2021-08-09 12:41:34 +03:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# Licensed under the MIT license.
|
2021-07-11 13:22:08 +03:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
2021-08-31 16:31:53 +03:00
|
|
|
name='nn-meter',
|
2022-07-01 06:07:10 +03:00
|
|
|
version='2.0dev',
|
2021-07-15 12:01:27 +03:00
|
|
|
description='nn-Meter is a novel and efficient system to accurately predict the inference latency of DNN models on diverse edge devices.',
|
2021-08-26 12:56:11 +03:00
|
|
|
long_description = open('README.md', encoding='utf-8').read(),
|
|
|
|
long_description_content_type = 'text/markdown',
|
|
|
|
author='Microsoft nn-Meter Team',
|
|
|
|
author_email='nn-meter-dev@microsoft.com',
|
2021-07-15 12:01:27 +03:00
|
|
|
url='https://github.com/microsoft/nn-Meter',
|
2021-08-26 12:56:11 +03:00
|
|
|
project_urls={
|
2021-08-31 16:31:53 +03:00
|
|
|
'Data of models': 'https://github.com/microsoft/nn-Meter/releases/tag/v1.0-data',
|
2021-08-26 12:56:11 +03:00
|
|
|
},
|
|
|
|
license = 'MIT',
|
|
|
|
classifiers = [
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: MacOS :: MacOS X',
|
|
|
|
'Operating System :: Microsoft :: Windows :: Windows 10',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
|
|
],
|
2021-07-11 13:22:08 +03:00
|
|
|
packages=find_packages(),
|
2021-07-15 12:01:27 +03:00
|
|
|
package_data={
|
2022-03-08 03:50:51 +03:00
|
|
|
'nn_meter': [
|
|
|
|
'configs/*.yaml',
|
|
|
|
'configs/builder/backends/*.yaml',
|
|
|
|
'configs/builder/fusion_rule_tester/*.yaml',
|
|
|
|
'configs/builder/predictor_builder/*.yaml',
|
|
|
|
'builder/kernel_predictor_builder/data_sampler/prior_config_lib/*.csv',
|
|
|
|
'kernel_detector/fusion_lib/*.json'],
|
2021-07-15 12:01:27 +03:00
|
|
|
},
|
|
|
|
entry_points={
|
2022-03-08 03:50:51 +03:00
|
|
|
'console_scripts': ['nn-meter=nn_meter.utils.nn_meter_cli.interface:nn_meter_cli'],
|
2021-07-15 12:01:27 +03:00
|
|
|
},
|
2021-07-22 11:35:59 +03:00
|
|
|
install_requires=[
|
2022-03-08 03:50:51 +03:00
|
|
|
'numpy', 'pandas', 'tqdm', 'networkx', 'requests', 'protobuf', 'PyYAML', 'scikit_learn', 'packaging', 'jsonlines'
|
2021-07-22 11:35:59 +03:00
|
|
|
],
|
2021-07-11 13:22:08 +03:00
|
|
|
)
|