Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Nov 27, 2024
1 parent d32b4a7 commit 5181c3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 7 additions & 12 deletions text-generation-inference/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,16 @@ FROM chef AS builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3.11-dev



# RUN PROTOC_ZIP=protoc-21.12-linux-x86_64.zip && \
# GDRIVE_FILE_ID="1cUQpKPLhxorKCCd-VrorAorOcmt8a1RL" && \
# echo "Downloading protoc..." && \
# (curl -L "https://github.com/protocolbuffers/protobuf/releases/download/v21.12/${PROTOC_ZIP}" -o ${PROTOC_ZIP} || \
# curl -L "https://drive.google.com/uc?export=download&id=${GDRIVE_FILE_ID}" -o ${PROTOC_ZIP}) && \
# unzip -o $PROTOC_ZIP -d /usr/local bin/protoc && \
# unzip -o $PROTOC_ZIP -d /usr/local 'include/*' && \
# rm -f $PROTOC_ZIP
# Debug network connectivity
RUN apt-get update && apt-get install -y iputils-ping curl && \
echo "Testing internet connectivity..." && \
ping -c 4 8.8.8.8 && \
ping -c 4 github.com && \
curl -v https://github.com

RUN PROTOC_ZIP=protoc-21.12-linux-x86_64.zip && \
GDRIVE_FILE_ID="1cUQpKPLhxorKCCd-VrorAorOcmt8a1RL" && \
echo "Downloading protoc..." && \
curl -L "https://drive.google.com/uc?export=download&id=${GDRIVE_FILE_ID}" -o ${PROTOC_ZIP} && \
curl -v -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.12/$PROTOC_ZIP && \
unzip -o $PROTOC_ZIP -d /usr/local bin/protoc && \
unzip -o $PROTOC_ZIP -d /usr/local 'include/*' && \
rm -f $PROTOC_ZIP
Expand Down
2 changes: 1 addition & 1 deletion text-generation-inference/integration-tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def docker_launcher(
auto_remove=False,
detach=True,
volumes=volumes,
shm_size="1G",
shm_size="16G",
privileged=True,
network_mode="host",
)
Expand Down

0 comments on commit 5181c3d

Please sign in to comment.