-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathsetup.py
32 lines (29 loc) · 1017 Bytes
/
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
from setuptools import setup, find_packages
import torchdistill
with open('README.md', 'r') as f:
long_description = f.read()
description = 'A Modular, Configuration-Driven Framework for Knowledge Distillation. ' \
'Trained models, training logs and configurations are available for ensuring the reproducibility.'
setup(
name='torchdistill',
version=torchdistill.__version__,
author='Yoshitomo Matsubara',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/yoshitomo-matsubara/torchdistill',
packages=find_packages(exclude=('tests', 'examples', 'demo', 'docs', 'configs')),
python_requires='>=3.9',
install_requires=[
'torch>=2.5.1',
'torchvision>=0.20.1',
'numpy',
'pyyaml>=6.0',
'scipy',
'cython'
],
extras_require={
'test': ['pytest'],
'docs': ['sphinx', 'sphinx_rtd_theme', 'sphinx_sitemap']
}
)