mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 15:32:08 +00:00
marlin: improve build
This commit is contained in:
parent
0d96468ebb
commit
51621439a4
@ -1,13 +1,11 @@
|
|||||||
marlin_commit := 2f6d7c10e124b3c5fa29ff8d77d568bd7af3274c
|
marlin_commit := 2f6d7c10e124b3c5fa29ff8d77d568bd7af3274c
|
||||||
|
|
||||||
marlin:
|
build-marlin:
|
||||||
# Clone marlin
|
if [ ! -d 'marlin' ]; then \
|
||||||
pip install packaging
|
pip install -U ninja packaging --no-cache-dir && \
|
||||||
git clone https://github.com/IST-DASLab/marlin.git marlin
|
git clone https://github.com/IST-DASLab/marlin.git marlin; \
|
||||||
|
fi
|
||||||
build-marlin: marlin
|
cd marlin && git fetch && git checkout $(marlin_commit) && python setup.py build
|
||||||
cd marlin && git fetch && git checkout $(marlin_commit)
|
|
||||||
cd marlin && python setup.py build
|
|
||||||
|
|
||||||
install-marlin: build-marlin
|
install-marlin: build-marlin
|
||||||
cd marlin && python setup.py install
|
cd marlin && git fetch && git checkout $(marlin_commit) && pip install -e .
|
||||||
|
Loading…
Reference in New Issue
Block a user