hf_text-generation-inference/server/Makefile-marlin

12 lines
414 B
Plaintext

marlin_commit := 2f6d7c10e124b3c5fa29ff8d77d568bd7af3274c
build-marlin:
if [ ! -d 'marlin' ]; then \
pip install -U ninja packaging --no-cache-dir && \
git clone https://github.com/IST-DASLab/marlin.git marlin; \
fi
cd marlin && git fetch && git checkout $(marlin_commit) && python setup.py build
install-marlin: build-marlin
cd marlin && git fetch && git checkout $(marlin_commit) && pip install -e .