Sign inSign up

kubegems/llama-factory-ascend:v0.7.1

Manifest digest

sha256:c0becadfe3db6f25e38589ad08f6ef53f53921ee38cce22ba569349b693507c1

OS/ARCH

linux/arm64

Compressed size

4.07 GB

Last pushed

about 2 years by linkmaq

Type

Image

Manifest digest

sha256:c0becadfe3db6f25e38589ad08f6ef53f53921ee38cce22ba569349b693507c1

Image Layers

1ARG RELEASE0 B
2ARG LAUNCHPAD_BUILD_ARCH0 B
3LABEL org.opencontainers.image.ref.name=ubuntu0 B
4LABEL org.opencontainers.image.version=22.040 B
5ADD file ... in / 26.09 MB
6CMD ["/bin/bash"]0 B
7ENV DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true PYTHONUNBUFFERED=10 B
8ARG PYVERSION0 B
9ENV PYVERSION=3.9.190 B
10RUN |1 PYVERSION=3.9.19 /bin/sh -c123.62 MB
11RUN |1 PYVERSION=3.9.19 /bin/sh -c59.72 MB
12RUN |1 PYVERSION=3.9.19 /bin/sh -c385 B
13ARG CANN_TOOLKIT_URL0 B
14ENV CANN_TOOLKIT_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-toolkit_8.0.RC1_linux-aarch64.run0 B
15RUN |2 PYVERSION=3.9.19 CANN_TOOLKIT_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-toolkit_8.0.RC1_linux-aarch64.run /bin/sh1.72 GB
16ARG CANN_KERNEL_URL0 B
17ENV CANN_KERNEL_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-kernels-910b_8.0.RC1_linux.run0 B
18RUN |3 PYVERSION=3.9.19 CANN_TOOLKIT_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-toolkit_8.0.RC1_linux-aarch64.run CANN_KERNEL_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-kernels-910b_8.0.RC1_linux.run1.54 GB
19ARG TORCH_VERSION0 B
20ENV TORCH_VERSION=2.2.00 B
21ARG TORCH_NPU_VERSION0 B
22ENV TORCH_NPU_VERSION=2.2.00 B
23RUN |5 PYVERSION=3.9.19 CANN_TOOLKIT_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-toolkit_8.0.RC1_linux-aarch64.run CANN_KERNEL_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-kernels-910b_8.0.RC1_linux.run29.24 MB
24RUN |5 PYVERSION=3.9.19 CANN_TOOLKIT_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-toolkit_8.0.RC1_linux-aarch64.run CANN_KERNEL_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-kernels-910b_8.0.RC1_linux.run314.74 MB
25ENV LD_LIBRARY_PATH=:/usr/local/Ascend/driver/lib64/common:/usr/local/Ascend/driver/lib64/driver0 B
26ENV LD_PRELOAD=:/usr/lib/aarch64-linux-gnu/libgomp.so.10 B
27RUN |5 PYVERSION=3.9.19 CANN_TOOLKIT_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-toolkit_8.0.RC1_linux-aarch64.run CANN_KERNEL_URL=https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.RC1/Ascend-cann-kernels-910b_8.0.RC1_linux.run179 B
28COPY LLaMA-Factory /app # buildkit84.27 MB
29WORKDIR /app32 B
30RUN /bin/sh -c apt update27.68 MB
31RUN /bin/sh -c pip install170.27 MB
32COPY entrypoint.ascend.sh /usr/bin/entrypoint.sh # buildkit246 B
33ENTRYPOINT ["/usr/bin/entrypoint.sh"]0 B
34COPY entrypoint.ascend.sh /usr/bin/entrypoint.sh # buildkit239 B
35ENTRYPOINT ["/usr/bin/entrypoint.sh"]0 B
36COPY entrypoint.ascend.sh /usr/bin/entrypoint.sh # buildkit240 B
37ENTRYPOINT ["/usr/bin/entrypoint.sh"]0 B

Command

 ARG RELEASE