-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (29 loc) · 843 Bytes
/
setup.py
File metadata and controls
31 lines (29 loc) · 843 Bytes
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
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name='dfloat11',
version='0.5.0',
description='DFloat11: Fast and memory-efficient GPU inference for losslessly compressed LLMs and diffusion models',
long_description=long_description,
long_description_content_type='text/markdown',
author='Tianyi Zhang',
packages=find_packages(),
package_data={
"dfloat11": ['decode.ptx'],
},
include_package_data=True,
install_requires=[
'accelerate',
'dahuffman==0.4.2',
'huggingface-hub',
'safetensors',
'transformers',
'tqdm',
],
extras_require={
'cuda11': ['cupy-cuda11x'],
'cuda12': ['cupy-cuda12x'],
},
python_requires='>=3.9',
)