-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
24 lines (22 loc) · 922 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
from distutils.core import setup
from pathlib import Path
scripts = ["run_mlm", "run_clm", "validate_mlm", "validate_clm"]
bash_scripts = Path("scripts").glob("*.sh")
setup(
name="outlier_free_transformers",
version="1.0.0",
packages=[
"quantization",
"quantization.quantizers",
"transformers_language",
"transformers_language.models",
],
py_modules=scripts,
scripts=[str(path) for path in bash_scripts],
entry_points={"console_scripts": [f"{script} = {script}:main" for script in scripts]},
url="https://github.com/Qualcomm-AI-research/outlier-free-transformers",
license="BSD 3-Clause Clear License",
author="Yelysei Bondarenko and Markus Nagel and Tijmen Blankevoort",
author_email="{ybond, markusn, tijmen}@qti.qualcomm.com",
description='Code for "Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing"',
)