mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-02 12:42:14 +00:00
16 lines
428 B
Makefile
16 lines
428 B
Makefile
|
|
build:
|
|
maturin build
|
|
|
|
# by commenting out the line in .gitignore, we can include the generated files in the git repository
|
|
comment-gitignore:
|
|
sed -i 's/^\(.*\)/# \1/' ../server/text_generation_server/pb/.gitignore
|
|
|
|
remove-comment-gitignore:
|
|
sed -i 's/^# \(.*\)/\1/' ../server/text_generation_server/pb/.gitignore
|
|
|
|
library-install:
|
|
pip install -e .
|
|
|
|
install: build comment-gitignore library-install remove-comment-gitignore
|