chore: import upstream snapshot with attribution
Book-CI / test (macos-latest) (push) Has been cancelled
Book-CI / test (ubuntu-latest) (push) Has been cancelled
Book-CI / test (windows-latest) (push) Has been cancelled
Release Fake Tag / publish (push) Has been cancelled
Deploy / deploy (macos-latest) (push) Has been cancelled
Deploy / deploy (ubuntu-latest) (push) Has been cancelled
Deploy / deploy (windows-latest) (push) Has been cancelled
Release to PyPI / Build & publish sglang-kt (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.11) (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.12) (push) Has been cancelled
Release to PyPI / Publish kt-kernel to PyPI (push) Has been cancelled
Book-CI / test (macos-latest) (push) Has been cancelled
Book-CI / test (ubuntu-latest) (push) Has been cancelled
Book-CI / test (windows-latest) (push) Has been cancelled
Release Fake Tag / publish (push) Has been cancelled
Deploy / deploy (macos-latest) (push) Has been cancelled
Deploy / deploy (ubuntu-latest) (push) Has been cancelled
Deploy / deploy (windows-latest) (push) Has been cancelled
Release to PyPI / Build & publish sglang-kt (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.11) (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.12) (push) Has been cancelled
Release to PyPI / Publish kt-kernel to PyPI (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
"""Lightweight top-level package: pip install ktransformers -> installs kt-kernel.
|
||||
|
||||
Extras:
|
||||
- ktransformers[sft] installs transformers-kt + accelerate-kt
|
||||
- ktransformers[sglang] installs sglang-kt
|
||||
"""
|
||||
from pathlib import Path
|
||||
from setuptools import setup
|
||||
|
||||
_version_file = Path(__file__).resolve().parent / "version.py"
|
||||
_ns = {}
|
||||
exec(_version_file.read_text(), _ns)
|
||||
_v = _ns["__version__"]
|
||||
|
||||
setup(
|
||||
version=_v,
|
||||
install_requires=[
|
||||
f"kt-kernel=={_v}",
|
||||
],
|
||||
extras_require={
|
||||
"sft": [
|
||||
"transformers-kt==5.6.0.post1",
|
||||
"accelerate-kt==1.14.0.post1",
|
||||
],
|
||||
"sglang": [
|
||||
f"sglang-kt=={_v}",
|
||||
],
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user