Skip to content

Commit 376725c

Browse files
authored
[PyPI] Packaging for PyPI distribution (#140)
1 parent 456941c commit 376725c

File tree

12 files changed

+72
-7
lines changed

12 files changed

+72
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*.csv
88
build/
99
docs/build/
10+
dist/
1011

1112
*.pkl
1213
*.png

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include LICENSE
2+
include requirements.txt
3+
4+
recursive-include csrc *

cacheflow/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
from cacheflow.server.llm_server import LLMServer
66
from cacheflow.server.ray_utils import initialize_cluster
77

8+
__version__ = "0.1.0"
9+
810
__all__ = [
911
"LLM",
1012
"SamplingParams",

cacheflow/core/__init__.py

Whitespace-only changes.

cacheflow/entrypoints/__init__.py

Whitespace-only changes.

cacheflow/entrypoints/openai/__init__.py

Whitespace-only changes.

cacheflow/model_executor/layers/__init__.py

Whitespace-only changes.

cacheflow/server/__init__.py

Whitespace-only changes.

cacheflow/worker/__init__.py

Whitespace-only changes.

docs/source/getting_started/installation.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can install CacheFlow using pip:
3232
$ conda activate myenv
3333
3434
$ # Install CacheFlow.
35-
$ pip install cacheflow
35+
$ pip install cacheflow # This may take 5-10 minutes.
3636
3737
3838
.. _build_from_source:
@@ -46,5 +46,4 @@ You can also build and install CacheFlow from source.
4646
4747
$ git clone https://github.com/WoosukKwon/cacheflow.git
4848
$ cd cacheflow
49-
$ pip install -r requirements.txt
5049
$ pip install -e . # This may take 5-10 minutes.

0 commit comments

Comments
 (0)