mindspore
Enrichment pendingMindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
GraphCanon updated today · GitHub synced today
Trust & integrity
Full report- Maintenance
- Dormant (712d since push)
- As of today · Source: github_public_v1
- Provenance
- Not a fork · Organization account
- As of today · Source: github_public_v1
- Security (OSV)
- 103 low (103 low)
- As of today · Source: osv@v1
Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.
Overview
MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
Capability facts
- Languages
- c++
Source: github.language · Jul 11, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Jul 11, 2026)
```python import numpy as npSource link
Tags
README
Pip mode method installation
MindSpore offers build options across multiple backends:
| Hardware Platform | Operating System | Status |
|---|---|---|
| Ascend910 | Ubuntu-x86 | ✔️ |
| Ubuntu-aarch64 | ✔️ | |
| EulerOS-aarch64 | ✔️ | |
| CentOS-x86 | ✔️ | |
| CentOS-aarch64 | ✔️ | |
| GPU CUDA 10.1 | Ubuntu-x86 | ✔️ |
| CPU | Ubuntu-x86 | ✔️ |
| Ubuntu-aarch64 | ✔️ | |
| Windows-x86 | ✔️ |
For installation using pip, take CPU and Ubuntu-x86 build version as an example:
-
Download whl from MindSpore download page, and install the package.
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.2.0-rc1/MindSpore/cpu/ubuntu_x86/mindspore-1.2.0rc1-cp37-cp37m-linux_x86_64.whl -
Run the following command to verify the install.
import numpy as np import mindspore.context as context import mindspore.nn as nn from mindspore import Tensor from mindspore.ops import operations as P context.set_context(mode=context.GRAPH_MODE, device_target="CPU") class Mul(nn.Cell): def __init__(self): super(Mul, self).__init__() self.mul = P.Mul() def construct(self, x, y): return self.mul(x, y) x = Tensor(np.array([1.0, 2.0, 3.0]).astype(np.float32)) y = Tensor(np.array([4.0, 5.0, 6.0]).astype(np.float32)) mul = Mul() print(mul(x, y))[ 4. 10. 18.]
Use pip mode method to install MindSpore in different environments. Refer to the following documents.
- Using pip mode method to install MindSpore in Ascend environment
- Using pip mode method to install MindSpore in GPU environment
- Using pip mode method to install MindSpore in CPU environment
Source code compilation installation
Use the source code compilation method to install MindSpore in different environments. Refer to the following documents.
- Using the source code compilation method to install MindSpore in Ascend environment
- Using the source code compilation method to install MindSpore in GPU environment
- Using the source code compilation method to install MindSpore in CPU environment
Docker Image
MindSpore docker image is hosted on Docker Hub, currently the containerized build options are supported as follows:
| Hardware Platform | Docker Image Repository | Tag | Description |
|---|---|---|---|
| CPU | mindspore/mindspore-cpu | x.y.z | Production environment with pre-installed MindSpore x.y.z CPU release. |
devel | Development environment provided to build MindSpore (with CPU backend) from the source, refer to https://www.mindspore.cn/install/en for installation details. | ||
runtime | Runtime environment provided to install MindSpore binary package with CPU backend. | ||
| GPU | mindspore/mindspore-gpu | x.y.z | Production environment with pre-installed MindSpore x.y.z GPU release. |
devel | Development environment provided to build MindSpore (with GPU CUDA10.1 backend) from the source, refer to https://www.mindspore.cn/install/en for installation details. | ||
runtime | Runtime environment provided to install MindSpore binary package with GPU CUDA10.1 backend. |
NOTICE: For GPU
develdocker image, it's NOT s