Creating venv if not created.

This commit is contained in:
Nicolas Patry 2025-01-16 13:52:28 +01:00
parent 9177fbfda6
commit 73ab6a5da1
No known key found for this signature in database
GPG Key ID: D2920555C90F704C

View File

@ -10,12 +10,14 @@ include Makefile-flashinfer
unit-tests: unit-tests:
pip install -U pip uv pip install -U pip uv
uv venv
uv pip install -e ".[dev]" uv pip install -e ".[dev]"
pytest -s -vv -m "not private" tests pytest -s -vv -m "not private" tests
gen-server: gen-server:
# Compile protos # Compile protos
pip install -U pip uv pip install -U pip uv
uv venv
uv pip install ".[gen]" uv pip install ".[gen]"
mkdir text_generation_server/pb || true mkdir text_generation_server/pb || true
python -m grpc_tools.protoc -I../proto/v3 --python_out=text_generation_server/pb \ python -m grpc_tools.protoc -I../proto/v3 --python_out=text_generation_server/pb \