This commit is contained in:
Nicolas Patry 2025-01-16 14:11:41 +01:00
parent 1987291593
commit 4982b9c765
No known key found for this signature in database
GPG Key ID: D2920555C90F704C
2 changed files with 1 additions and 3 deletions

View File

@ -10,14 +10,12 @@ 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 \

View File

@ -91,4 +91,4 @@ markers = ["private: marks tests as requiring an admin hf token (deselect with '
profile = "black" profile = "black"
[tool.setuptools] [tool.setuptools]
py-modules = ["text-generation-server"] packages = ["text_generation_server"]