mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 19:26:16 +02:00
[bitnami/pytorch-intel] Release 1.12.1-debian-11-r6 (#4035)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -6,7 +6,7 @@ ENV HOME="/" \
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.ref.name="1.12.1-debian-11-r5" \
|
||||
org.opencontainers.image.ref.name="1.12.1-debian-11-r6" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pytorch-intel" \
|
||||
org.opencontainers.image.title="pytorch-intel" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
@@ -15,9 +15,9 @@ LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages acl ca-certificates curl gzip libbz2-1.0 libc6 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgomp1 libgssapi-krb5-2 libjemalloc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtcmalloc-minimal4 libtinfo6 libtirpc3 numactl procps tar zlib1g
|
||||
RUN install_packages acl ca-certificates curl gzip libbz2-1.0 libc6 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgomp1 libgssapi-krb5-2 libjemalloc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 numactl procps tar zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "python" "3.8.13-165" --checksum 2bf41f60dccdcf65842d993083c2dcb27ab48a8a514fdeb1778e9b09f3e4a203
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pytorch-intel" "1.12.1-1" --checksum 5ca94f186bd2f06f0b40f70d029b32ba3bdc89fe5759a23850cde84dec68e2bb
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pytorch-intel" "1.12.1-2" --checksum 7e23b75241fb264a986df126e92acfb092ef3f79b7308436b0d28bf06931a6c0
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-153" --checksum d3ae0109be24e8bc56f97359b8290b91243454de946dd60bd8520a0896a88449
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -28,8 +28,6 @@ RUN /opt/bitnami/scripts/pytorch/postunpack.sh
|
||||
ENV APP_VERSION="1.12.1" \
|
||||
ATEN_CPU_CAPABILITY="avx512" \
|
||||
BITNAMI_APP_NAME="pytorch-intel" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/python/lib/python3.7/site-packages/torch/lib/:/opt/bitnami/python/lib/python3.7/site-packages/PIL/.libs/:$LD_LIBRARY_PATH" \
|
||||
LD_PRELOAD="/opt/bitnami/python/lib/libiomp5.so:/usr/lib/x86_64-linux-gnu/libjemalloc.so.2" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/common/bin:$PATH"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
+2
-2
@@ -15,9 +15,9 @@
|
||||
},
|
||||
"pytorch-intel": {
|
||||
"arch": "amd64",
|
||||
"digest": "5ca94f186bd2f06f0b40f70d029b32ba3bdc89fe5759a23850cde84dec68e2bb",
|
||||
"digest": "7e23b75241fb264a986df126e92acfb092ef3f79b7308436b0d28bf06931a6c0",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.12.1-1"
|
||||
"version": "1.12.1-2"
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,31 @@ set -o pipefail
|
||||
# Load libraries
|
||||
. /opt/bitnami/scripts/libbitnami.sh
|
||||
|
||||
########################
|
||||
# Find the path to the libjemalloc library file
|
||||
# Globals:
|
||||
# None
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
# Path to a libjemalloc shared object file
|
||||
#########################
|
||||
find_jemalloc_lib() {
|
||||
local -a locations=( "/usr/lib" "/usr/lib64" )
|
||||
local -r pattern='libjemalloc.so.[0-9]'
|
||||
local path
|
||||
for dir in "${locations[@]}"; do
|
||||
# Find the first element matching the pattern and quit
|
||||
[[ ! -d "$dir" ]] && continue
|
||||
path="$(find "$dir" -name "$pattern" -print -quit)"
|
||||
[[ -n "$path" ]] && break
|
||||
done
|
||||
echo "${path:-}"
|
||||
}
|
||||
|
||||
LD_PRELOAD="$(find_jemalloc_lib)${LD_PRELOAD:+ "$LD_PRELOAD"}"
|
||||
export LD_PRELOAD
|
||||
|
||||
print_welcome_page
|
||||
|
||||
echo ""
|
||||
|
||||
@@ -43,7 +43,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`1.12`, `1.12-debian-11`, `1.12.1`, `1.12.1-debian-11-r5`, `latest` (1.12/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/pytorch-intel/1.12/debian-11/Dockerfile)
|
||||
* [`1.12`, `1.12-debian-11`, `1.12.1`, `1.12.1-debian-11-r6`, `latest` (1.12/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/pytorch-intel/1.12/debian-11/Dockerfile)
|
||||
* [`1.10`, `1.10-debian-11`, `1.10.2`, `1.10.2-debian-11-r25` (1.10/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/pytorch-intel/1.10/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).
|
||||
|
||||
Reference in New Issue
Block a user