Skip to content

czc-unac/dockerfile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ascend Docker Images

中文 Docker Hub GitHub Container Red Hat Quay

This repository hosts the following Ascend Docker images, providing base images based on both Ubuntu and OpenEuler. For detailed information, please refer to the README.md file in each image directory:

  • CANN:provides cann-toolkit runtime environment
  • PyTorch: provides torch_npu runtime environment
  • MindSpore: provides MindSpore runtime environment
  • Python: provides a base Python environment

Usage

Please make sure you have an NPU device and the driver has been installed, then refer to the docker run commands in the image directory's README.md.

Build

We recommend using Docker Buildx Bake for building the images. For build details, see the docker-bake.hcl, and for the build parameters, check arg.json.

Note

If you don't have Bake, you can find the traditional docker build commands in the image directory's README.md.

To build using Bake, Docker Engine 20.10+ is required. Run the following command in the root directory of this repository:

docker buildx bake -f arg.json -f docker-bake.hcl

To list all targets:

docker buildx bake -f arg.json -f docker-bake.hcl --print

To build single-arch images only:

docker buildx bake -f arg.json -f docker-bake.hcl \
    --set '*.platform=linux/arm64'

Note

Support

The team tracks bugs and enhancement requests using GitHub issues. Before submitting a suggestion or bug report, search the existing GitHub issues to see if your issue has already been reported.

License

This repository is licensed under the Apache License 2.0.

About

Ascend base image dockerfile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 55.0%
  • Dockerfile 36.9%
  • HCL 8.1%