Sign inSign up

ascendai/drivingsdk

By ascendai

•Updated 18 days ago

Image
0

4.0K

ascendai/drivingsdk repository overview

⁠DrivingSDK Docker Images

⁠Quick Reference


⁠DrivingSDK

DrivingSDK provides NPU-accelerated operators and runtime environments for autonomous-driving models based on Ascend CANN, PyTorch, and TorchNPU.


⁠Tag Naming Rules

All DrivingSDK image tags follow this pattern:

<drivingsdk-version>-<cann-version>-torch_npu<torchnpu-version>-<chip-series>-<os>-py<python-version>

The 8.5.1-* and 9.0.0-* directories are legacy tags whose names start with the CANN version. The devel directory is the source-build image.

FieldExample valuesDescription
drivingsdk-version26.1.0, 26.0.0, 7.3.0DrivingSDK version number
cann-version9.1.0, 9.0.0, 8.5.1CANN version number
torchnpu-version2.1.0.post17, 2.7.1.post6TorchNPU version number
chip-series950, a3, 910bTarget Atlas chip series
osubuntu22.04, openeuler24.03Base operating system
python-versionpy3.8, py3.10Python version
develdevelSpecial tag representing a development image
⁠LATEST DrivingSDK 26.1.0

The following table lists all images for the latest DrivingSDK 26.1.0 release. For all historical tags, see Supported Tags⁠.

TagDockerfileImage contents
26.1.0-9.1.0-torch_npu2.1.0.post17-910b-openeuler24.03-py3.8Dockerfile⁠PyTorch 2.1.0, TorchNPU 2.1.0.post17, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.1.0.post17-910b-ubuntu22.04-py3.8Dockerfile⁠PyTorch 2.1.0, TorchNPU 2.1.0.post17, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.1.0.post17-a3-openeuler24.03-py3.8Dockerfile⁠PyTorch 2.1.0, TorchNPU 2.1.0.post17, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.1.0.post17-a3-ubuntu22.04-py3.8Dockerfile⁠PyTorch 2.1.0, TorchNPU 2.1.0.post17, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.7.1.post6-910b-openeuler24.03-py3.10Dockerfile⁠PyTorch 2.7.1, TorchNPU 2.7.1.post6, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.7.1.post6-910b-ubuntu22.04-py3.10Dockerfile⁠PyTorch 2.7.1, TorchNPU 2.7.1.post6, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.7.1.post6-950-openeuler24.03-py3.10Dockerfile⁠PyTorch 2.7.1, TorchNPU 2.7.1.post6, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.7.1.post6-950-ubuntu22.04-py3.10Dockerfile⁠PyTorch 2.7.1, TorchNPU 2.7.1.post6, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.7.1.post6-a3-openeuler24.03-py3.10Dockerfile⁠PyTorch 2.7.1, TorchNPU 2.7.1.post6, DrivingSDK, model environments
26.1.0-9.1.0-torch_npu2.7.1.post6-a3-ubuntu22.04-py3.10Dockerfile⁠PyTorch 2.7.1, TorchNPU 2.7.1.post6, DrivingSDK, model environments

⁠Quick Start

⁠Prerequisites (optional)
⁠Install Driver

Install an Ascend NPU driver compatible with the CANN version used by the selected Dockerfile. The driver is provided by the host and is not installed by these Dockerfiles.


⁠Running a DrivingSDK Container
docker run \
    --name drivingsdk_container \
    --device /dev/davinci0 \
    --device /dev/davinci_manager \
    --device /dev/devmm_svm \
    --device /dev/hisi_hdc \
    -v /usr/local/dcmi:/usr/local/dcmi \
    -v /usr/local/bin/npu-smi:/usr/local/bin/npu-smi \
    -v /usr/local/Ascend:/usr/local/Ascend \
    -it drivingsdk:26.1.0-9.1.0-torch_npu2.7.1.post6-910b-ubuntu22.04-py3.10 bash
⁠How to build
docker buildx build \
    -t drivingsdk:26.1.0-9.1.0-torch_npu2.7.1.post6-910b-ubuntu22.04-py3.10 \
    -f docker/26.1.0-9.1.0-torch_npu2.7.1.post6-910b-ubuntu22.04-py3.10/Dockerfile .
⁠Development
# Add required software on top of a DrivingSDK image
FROM drivingsdk:26.1.0-9.1.0-torch_npu2.7.1.post6-910b-ubuntu22.04-py3.10

RUN apt-get update && apt-get install -y <package>

The devel image is intended for source development and builds DrivingSDK from the repository:

docker buildx build -t drivingsdk:devel -f docker/devel/Dockerfile .

⁠License

Refer to the repository license and the licenses of the pre-installed CANN, PyTorch, TorchNPU, Python, and system packages.

⁠Disclaimer

The released Ascend software images are community versions and are not intended for commercial accountability. They are provided solely as references for production practices.

Tag summary

Content type

Image

Digest

sha256:c59b2daf2…

Size

5 GB

Last updated

18 days ago

docker pull ascendai/drivingsdk:26.1.0-9.1.0-torch_npu2.1.0.post17-a3-ubuntu22.04-py3.8