forked from axonn-ai/yalis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (27 loc) · 819 Bytes
/
setup.py
File metadata and controls
28 lines (27 loc) · 819 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
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CppExtension
setup(
name="yalis",
version="0.1.0",
packages=[
"yalis",
"yalis.tensor_parallel",
"yalis.external",
"yalis.attention",
],
package_dir={"yalis": "yalis"},
# Other metadata for your package
ext_modules=[
CppExtension(
name="kvcache_manager",
sources=["yalis/attention/paged_kv_cache.cpp"],
extra_compile_args=["-O3"],
)
],
cmdclass={"build_ext": BuildExtension},
install_requires=[
"torch", # Ensure PyTorch is installed
],
author="Siddharth Singh, Prajwal Singhania, Lannie Dalton Hough, Ishan Revankar", # noqa: E501
description="An easy-to-use library for LLM inference",
)