revert dockerfile change

This commit is contained in:
Mathieu Broillet 2024-08-29 12:24:22 +02:00
parent 06d9e39f9d
commit 6687d59e84
Signed by: mathieu
GPG Key ID: A08E484FE95074C1

View File

@ -9,18 +9,22 @@ ENV DEBIAN_FRONTEND=noninteractive \
# For bitsandbytes # For bitsandbytes
ENV BNB_GPU_TARGETS="gfx803;gfx900;gfx906;gfx908;gfx90a;gfx1010;gfx1030;gfx1100;gfx1101;gfx1102" ENV BNB_GPU_TARGETS="gfx803;gfx900;gfx906;gfx908;gfx90a;gfx1010;gfx1030;gfx1100;gfx1101;gfx1102"
# For LLAMA # For LLAMA
#ARG ROCM_DOCKER_ARCH=\ # Synthax error but works
# gfx803 \ ARG ROCM_DOCKER_ARCH=\
# gfx900 \ gfx803 \
# gfx906 \ gfx900 \
# gfx908 \ gfx906 \
# gfx90a \ gfx908 \
# gfx1010 \ gfx90a \
# gfx1030 \ gfx1010 \
# gfx1100 \ gfx1030 \
# gfx1101 \ gfx1100 \
# gfx1102 gfx1101 \
ARG ROCM_DOCKER_ARCH="gfx803 gfx 900 gfx906 gfx908 gfx90a gfx1010 gfx1030 gfx1100 gfx1101 gfx1102" gfx1102
# no synthax error but doesn't work for some reason (error on llama compile)??
# CMake Error: The source directory "/tmp/llama-cpp-python/gfx1102" does not exist.
# ARG ROCM_DOCKER_ARCH="gfx803 gfx 900 gfx906 gfx908 gfx90a gfx1010 gfx1030 gfx1100 gfx1101 gfx1102"
ENV GPU_TARGETS=${ROCM_DOCKER_ARCH} ENV GPU_TARGETS=${ROCM_DOCKER_ARCH}
ENV CC=/opt/rocm/llvm/bin/clang ENV CC=/opt/rocm/llvm/bin/clang