bi

ner_service (v7)

Published 2024-05-26 06:40:02 +00:00 by cicd

Installation

docker pull git.d.aiengines.ir/bi/ner_service:v7
sha256:d4c2581d243b1788e662cab36db12fabb994b201508101c4ff833e6e494898de

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:7f9a3c5a4231ed19174c21d17ce05d84d568cff6d3a0c2a1d7c3a9be5e45c02c in /
CMD ["/bin/bash"]
ARG PYTORCH_VERSION
ARG TRITON_VERSION
ARG TARGETPLATFORM
ARG CUDA_VERSION
LABEL com.nvidia.volumes.needed=nvidia_driver
RUN |4 PYTORCH_VERSION=2.2.1 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates libjpeg-dev libpng-dev && rm -rf /var/lib/apt/lists/* # buildkit
COPY /opt/conda /opt/conda # buildkit
RUN |4 PYTORCH_VERSION=2.2.1 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c if test -n "${TRITON_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends gcc; rm -rf /var/lib/apt/lists/*; fi # buildkit
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
ENV PYTORCH_VERSION=2.2.1
WORKDIR /workspace
/bin/sh -c apt-get update && apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 ffmpeg nano p7zip-full imagemagick wget unzip && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
/bin/sh -c mkdir -p model && wget -O model/model.zip https://cdn.d.aiengines.ir/sa-archive/NER008.zip && unzip model/model.zip -d model/
COPY file:faf0ac5e5693d634c0176243095d7a36981deff79d7a0112ebec2aca691e349d in ./
/bin/sh -c pip install --no-cache-dir -r requirements.txt
COPY multi:1b6ae47b827d63236f734f541e5e3fdc29d4a43781bd0cdf91910820cca3f099 in ./
EXPOSE 6560
ENTRYPOINT ["python3"]
CMD ["Scripts/Service/main.py"]
LABEL org.opencontainers.image.created=2024-05-26T06:12:26Z
LABEL org.opencontainers.image.revision=0c06c7d41dc1fe0848989a497901a70909c12a79
LABEL org.opencontainers.image.source=https://git.d.aiengines.ir/bi/NER_service.git
LABEL org.opencontainers.image.url=https://git.d.aiengines.ir/bi/NER_service

Labels

Key Value
com.nvidia.volumes.needed nvidia_driver
org.opencontainers.image.created 2024-05-26T06:12:26Z
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 0c06c7d41dc1fe0848989a497901a70909c12a79
org.opencontainers.image.source https://git.d.aiengines.ir/bi/NER_service.git
org.opencontainers.image.url https://git.d.aiengines.ir/bi/NER_service
org.opencontainers.image.version 22.04
Details
Container
2024-05-26 06:40:02 +00:00
1
OCI / Docker
linux/amd64
4.6 GiB
Versions (3) View all
latest 2025-03-17
v8 2025-03-17
v7 2024-05-26