mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 23:12:07 +00:00
Add Directory Check to Prevent Redundant Cloning in Build Process (#2486)
Update Makefile-fbgemm Added Directory check for FBGEMM repository cloning.
This commit is contained in:
parent
eb54d956ef
commit
b67a0cd37b
@ -1,7 +1,9 @@
|
||||
fbgemm_commit := v0.8.0
|
||||
|
||||
build-fbgemm:
|
||||
git clone https://github.com/pytorch/FBGEMM.git fbgemm && \
|
||||
@if [ ! -d "fbgemm" ]; then \
|
||||
git clone https://github.com/pytorch/FBGEMM.git fbgemm; \
|
||||
fi
|
||||
cd fbgemm && git fetch && git checkout $(fbgemm_commit) && \
|
||||
git submodule update --init --recursive && \
|
||||
cd fbgemm_gpu && \
|
||||
|
Loading…
Reference in New Issue
Block a user