mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 08:22:07 +00:00
fix(neuron): increase ulimit when building image
The base image used to compile the rust components seems to have a low ulimit for opened files, which leads to errors during compilation.
This commit is contained in:
parent
0b7c7c3d18
commit
542eee6ca7
@ -22,6 +22,7 @@ VERSION := $(shell gawk 'match($$0, /^version = "(.*)"/, a) {print a[1]}' ${root
|
||||
|
||||
image:
|
||||
docker build --rm -f ${root_dir}/Dockerfile.neuron \
|
||||
--ulimit nofile=100000:100000 \
|
||||
--build-arg VERSION=$(VERSION) \
|
||||
-t text-generation-inference:$(VERSION)-neuron ${root_dir}
|
||||
docker tag text-generation-inference:$(VERSION)-neuron text-generation-inference:latest-neuron
|
||||
|
Loading…
Reference in New Issue
Block a user