mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 11:24:53 +00:00
Fixing the makefile by using lockfile.
This commit is contained in:
parent
90989a4a04
commit
d7a609d4ad
@ -10,6 +10,7 @@ include Makefile-flashinfer
|
||||
unit-tests:
|
||||
pip install -U pip uv
|
||||
uv pip install -e ".[dev]"
|
||||
uv sync --inexact --extra dev --active
|
||||
pytest -s -vv -m "not private" tests
|
||||
|
||||
gen-server:
|
||||
@ -30,14 +31,14 @@ gen-server-raw:
|
||||
touch text_generation_server/pb/__init__.py
|
||||
|
||||
install-server: gen-server
|
||||
uv pip install -e ".[accelerate, compressed-tensors, quantize, peft, outlines]"
|
||||
uv sync --inexact --extra accelerate --extra compressed-tensors --extra quantize --extra peft --extra outlines --active
|
||||
|
||||
|
||||
install: install-cuda
|
||||
echo "Installed server"
|
||||
|
||||
install-cuda: install-server install-flash-attention-v2-cuda install-flash-attention
|
||||
uv pip install -e ".[attention,bnb,marlin,moe]"
|
||||
uv sync --inexact --extra attention --extra bnb --extra marlin --extra moe --active
|
||||
uv pip install nvidia-nccl-cu12==2.22.3
|
||||
kernels download .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user