diff --git a/AI/cuda/13.0.0-python3.10/24.03-lts/Dockerfile b/AI/cuda/13.0.0-python3.10/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..a402dda17807642473ffa79b2d0e1ed6fcbb179d --- /dev/null +++ b/AI/cuda/13.0.0-python3.10/24.03-lts/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/python:3.10.17-oe2403lts +ARG VERSION=13.0.0 +ARG DRIVER_VERSION=580.65.06 + +FROM $BASE +ARG TARGETPLATFORM + +ARG DRIVER_VERSION +ARG VERSION + +RUN yum update -y && \ + yum install -y wget gcc g++ && \ + yum clean all + +RUN \ + if [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ + CUDA_TOOLKIT_URL="https://developer.download.nvidia.com/compute/cuda/${VERSION}/local_installers/cuda_${VERSION}_${DRIVER_VERSION}_linux_sbsa.run"; \ + elif [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ + CUDA_TOOLKIT_URL="https://developer.download.nvidia.com/compute/cuda/${VERSION}/local_installers/cuda_${VERSION}_${DRIVER_VERSION}_linux.run"; \ + fi && \ + wget $CUDA_TOOLKIT_URL -O /tmp/cuda-toolkit.run && \ + bash /tmp/cuda-toolkit.run --silent --toolkit && \ + rm -f /tmp/cuda-toolkit.run + +ENV PATH=/usr/local/cuda/bin:$PATH +ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH \ No newline at end of file diff --git a/AI/cuda/README.md b/AI/cuda/README.md index 4985f993f293b0a8b4ecaa5b9b0924bb18df67e6..724dd63c67e35632de9fa0b0c77c3bea6436f14b 100644 --- a/AI/cuda/README.md +++ b/AI/cuda/README.md @@ -19,6 +19,7 @@ The tag of each `cuda` docker image is consist of the complete software stack ve |----------|-------------|------------------| |[11.8.0-cudnn8.9.0-oe2203lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/AI/cuda/11.8.0-cudnn8.9.0/22.03-lts/Dockerfile)| CUDA 11.8.0 with cudnn 8.9.0 on openEuler 22.03-LTS | arm64,amd64 | |[13.0.0-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/AI/cuda/13.0.0/24.03-lts/Dockerfile)| CUDA 13.0.0 on openEuler 24.03-LTS | arm64,amd64 | +|[13.0.0-python3.10-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/AI/cuda/13.0.0-python3.10/24.03-lts/Dockerfile)| CUDA 13.0.0 with Python 3.10 on openEuler 24.03-LTS | arm64,amd64 | # Usage In this usage, users can select the corresponding `{Tag}` and `container startup options` based on their requirements. diff --git a/AI/cuda/meta.yml b/AI/cuda/meta.yml index b68ab597b67151dd4486dd92c98a86a220b8525b..331bc545c4fa5dd171078a0bff2944bb63e96f15 100644 --- a/AI/cuda/meta.yml +++ b/AI/cuda/meta.yml @@ -2,4 +2,7 @@ path: 11.8.0-cudnn8.9.0/22.03-lts/Dockerfile 13.0.0-oe2403lts: - path: 13.0.0/24.03-lts/Dockerfile \ No newline at end of file + path: 13.0.0/24.03-lts/Dockerfile + +13.0.0-python3.10-oe2403lts: + path: 13.0.0-python3.10/24.03-lts/Dockerfile \ No newline at end of file