mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Creating venv if not created.
This commit is contained in:
parent
9177fbfda6
commit
73ab6a5da1
@ -10,12 +10,14 @@ include Makefile-flashinfer
|
||||
|
||||
unit-tests:
|
||||
pip install -U pip uv
|
||||
uv venv
|
||||
uv pip install -e ".[dev]"
|
||||
pytest -s -vv -m "not private" tests
|
||||
|
||||
gen-server:
|
||||
# Compile protos
|
||||
pip install -U pip uv
|
||||
uv venv
|
||||
uv pip install ".[gen]"
|
||||
mkdir text_generation_server/pb || true
|
||||
python -m grpc_tools.protoc -I../proto/v3 --python_out=text_generation_server/pb \
|
||||
|
Loading…
Reference in New Issue
Block a user