-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 1022 Bytes
/
Copy pathsetup.py
File metadata and controls
31 lines (28 loc) · 1022 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
"""Setup script for the cki Python package.
This installs the Python wrapper only; the .so must be built separately via
`./scripts/build.sh` and will be picked up at runtime from tf_ops/python/.
"""
from setuptools import setup, find_packages
setup(
name="cki",
version="0.1.0",
description="Custom CUDA kernels for fused transformer inference in TensorFlow",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="Varad",
license="MIT",
python_requires=">=3.8",
packages=find_packages(include=["tf_ops", "tf_ops.*"]),
package_data={"tf_ops.python": ["*.so"]},
include_package_data=True,
install_requires=[
"tensorflow>=2.10,<2.16",
"numpy>=1.22",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Environment :: GPU :: NVIDIA CUDA",
],
)