mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
reduce targets
This commit is contained in:
@@ -47,17 +47,17 @@ RUN /bin/sh ./dockerfiles/scripts/install_common_deps.sh
|
|||||||
ENV PATH=/opt/rocm-venv/bin:/code/cmake-3.31.9-linux-x86_64/bin:${PATH}
|
ENV PATH=/opt/rocm-venv/bin:/code/cmake-3.31.9-linux-x86_64/bin:${PATH}
|
||||||
ENV CCACHE_DIR="/ccache"
|
ENV CCACHE_DIR="/ccache"
|
||||||
# Note: the `parallel` setting uses a substantial amount of RAM
|
# Note: the `parallel` setting uses a substantial amount of RAM
|
||||||
RUN --mount=type=cache,target=/ccache \
|
RUN --mount=type=cache,target=/ccache,id=rocm-ccache \
|
||||||
./build.sh \
|
./build.sh \
|
||||||
--allow_running_as_root \
|
--allow_running_as_root \
|
||||||
--config Release \
|
--config Release \
|
||||||
--build_wheel \
|
--build_wheel \
|
||||||
--update \
|
--update \
|
||||||
--build \
|
--build \
|
||||||
--parallel 17 \
|
--parallel 21 \
|
||||||
--cmake_extra_defines \
|
--cmake_extra_defines \
|
||||||
ONNXRUNTIME_VERSION="${ONNXRUNTIME_VERSION}" \
|
ONNXRUNTIME_VERSION="${ONNXRUNTIME_VERSION}" \
|
||||||
CMAKE_HIP_ARCHITECTURES="gfx900;gfx906;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201" \
|
CMAKE_HIP_ARCHITECTURES="gfx900;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201" \
|
||||||
--skip_tests \
|
--skip_tests \
|
||||||
--use_rocm \
|
--use_rocm \
|
||||||
--rocm_home=/opt/rocm \
|
--rocm_home=/opt/rocm \
|
||||||
|
|||||||
Reference in New Issue
Block a user