Skip to main content

MindSpore Logo

PyPI - Python Version PyPI Downloads DockerHub LICENSE PRs Welcome

查看中文

What Is MindSpore

MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios. MindSpore is designed to provide development experience with friendly design and efficient execution for the data scientists and algorithmic engineers, native support for Ascend AI processor, and software hardware co-optimization. At the meantime MindSpore as a global AI open source community, aims to further advance the development and enrichment of the AI software/hardware application ecosystem.

MindSpore Architecture

For more details please check out our Architecture Guide.

Automatic Differentiation

Currently, there are two automatic differentiation techniques in mainstream deep learning frameworks:

  • Operator Overloading (OO): Overloading the basic operators of the programming language to encapsulate their gradient rules. Record the operation trajectory of the network during forward execution in an operator overloaded manner, then apply the chain rule to the dynamically generated data flow graph to implement automatic differentiation.
  • Source Transformation (ST): This technology is evolving from the functional programming framework and performs automatic differential transformation on the intermediate expression (the expression form of the program during the compilation process) in the form of just-in-time compilation (JIT), supporting complex control flow scenarios, higher-order functions and closures.

PyTorch used OO. Compared to ST, OO generates gradient graph in runtime, so it does not need to take function call and control flow into consideration, which makes it easier to develop. However, OO can not perform gradient graph optimization in compilation time and the control flow has to be unfolded in runtime, so it is difficult to achieve extreme optimization in performance.

MindSpore implemented automatic differentiation based on ST. On the one hand, it supports automatic differentiation of automatic control flow, so it is quite convenient to build models like PyTorch. On the other hand, MindSpore can perform static compilation optimization on neural networks to achieve great performance.

Automatic Differentiation

The implementation of MindSpore automatic differentiation can be understood as the symbolic differentiation of the program itself. Because MindSpore IR is a functional intermediate expression, it has an intuitive correspondence with the composite function in basic algebra. The derivation formula of the composite function composed of arbitrary basic functions can be derived. Each primitive operation in MindSpore IR can correspond to the basic functions in basic algebra, which can build more complex flow control.

Automatic Parallel

The goal of MindSpore automatic parallel is to build a training method that combines data parallelism, model parallelism, and hybrid parallelism. It can automatically select a least cost model splitting strategy to achieve automatic distributed parallel training.

Automatic Parallel

At present, MindSpore uses a fine-grained parallel strategy of splitting operators, that is, each operator in the figure is split into a cluster to complete parallel operations. The splitting strategy during this period may be very complicated, but as a developer advocating Pythonic, you don't need to care about the underlying implementation, as long as the top-level API compute is efficient.

Installation

Pip mode method installation

MindSpore offers build options across multiple backends:

Hardware Platform Operating System Status
Ascend Linux-x86 ✔️
Linux-aarch64 ✔️
GPU CUDA 11.6 Linux-x86 ✔️
CPU Linux-x86 ✔️
Linux-aarch64 ✔️
Windows-x86 ✔️
MacOS-x86 ✔️
MacOS-aarch64 ✔️

For installation using pip, take CPU and Linux-x86 build version as an example:

  1. Download whl from MindSpore download page, and install the package.

    pip install mindspore==2.10.0 -i https://repo.mindspore.cn/pypi/simple --trusted-host repo.mindspore.cn --extra-index-url https://repo.huaweicloud.com/repository/pypi/simple
    
  2. Run the following command to verify the install.

    python -c "import mindspore;mindspore.set_device(device_target='CPU');mindspore.run_check()"
    

Use pip mode method to install MindSpore in different environments. Refer to the following documents.

Source code compilation installation

Use the source code compilation method to install MindSpore in different environments. Refer to the following documents.

Docker Image

MindSpore docker image is hosted on Huawei SWR. Use Docker to install MindSpore in different environments, refer to the following documents.

Quickstart

See the Quick Start to implement the image classification.

Docs

More details about installation guide, tutorials and APIs, please see the User Documentation.

Community

Governance

Check out how MindSpore Open Governance works.

Communication

Contributing

Welcome contributions. See our Contributor Wiki for more details.

Maintenance phases

Project stable branches will be in one of the following states:

State Time frame Summary
Planning 1 - 3 months Features are under planning.
Development 3 months Features are under development.
Maintained 6 - 12 months All bugfixes are appropriate. Releases produced.
Unmaintained 0 - 3 months All bugfixes are appropriate. No Maintainers and No Releases produced.
End Of Life (EOL) N/A Version no longer accepting changes.

Maintenance status

Version Status Initial Release Date Next Phase EOL Date
r2.10 Maintained 2026-07-31 Unmaintained
2027-07-31 estimated
2027-07-31
r2.9 Maintained 2026-04-29 Unmaintained
2027-04-29 estimated
2027-04-29
r2.8 Maintained 2026-01-28 Unmaintained
2027-01-28 estimated
2027-01-28
r2.7 End Of Life 2025-08-08 2026-08-08
r2.6 End Of Life 2025-05-19 2026-05-19
r2.5 End Of Life 2025-02-08 2026-02-08
r2.4 End Of Life 2024-10-30 2025-10-30
r2.3 End Of Life 2024-07-15 2025-07-15
r2.2 End Of Life 2023-10-18 2024-10-18
r2.1 End Of Life 2023-07-29 2024-07-29
r2.0 End Of Life 2023-06-15 2024-06-15
r1.10 End Of Life 2023-02-02 2024-02-02
r1.9 End Of Life 2022-10-26 2023-10-26
r1.8 End Of Life 2022-07-29 2023-07-29
r1.7 End Of Life 2022-04-29 2023-04-29
r1.6 End Of Life 2022-01-29 2023-01-29
r1.5 End Of Life 2021-10-15 2022-10-15
r1.4 End Of Life 2021-08-15 2022-08-15
r1.3 End Of Life 2021-07-15 2022-07-15
r1.2 End Of Life 2021-04-15 2022-04-29
r1.1 End Of Life 2020-12-31 2021-09-30
r1.0 End Of Life 2020-09-24 2021-07-30
r0.7 End Of Life 2020-08-31 2021-02-28
r0.6 End Of Life 2020-07-31 2020-12-30
r0.5 End Of Life 2020-06-30 2021-06-30
r0.3 End Of Life 2020-05-31 2020-09-30
r0.2 End Of Life 2020-04-30 2020-08-31
r0.1 End Of Life 2020-03-28 2020-06-30

Release Notes

The release notes, see our RELEASE.

License

Apache License 2.0

Metadata

Release files for mindspore 2.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mindspore 2.11.0
File Actions
mindspore-2.11.0-cp312-none-any.whl CPython 3.12 none any Details for mindspore-2.11.0-cp312-none-any.whl
mindspore-2.11.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for mindspore-2.11.0-cp312-cp312-win_amd64.whl
mindspore-2.11.0-cp312-cp312-manylinux1_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.5+ x86-64 Details for mindspore-2.11.0-cp312-cp312-manylinux1_x86_64.whl
mindspore-2.11.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for mindspore-2.11.0-cp312-cp312-macosx_11_0_arm64.whl
mindspore-2.11.0-cp312-cp312-macosx_10_15_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.15+ x86-64 Details for mindspore-2.11.0-cp312-cp312-macosx_10_15_x86_64.whl
mindspore-2.11.0-cp311-none-any.whl CPython 3.11 none any Details for mindspore-2.11.0-cp311-none-any.whl
mindspore-2.11.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for mindspore-2.11.0-cp311-cp311-win_amd64.whl
mindspore-2.11.0-cp311-cp311-manylinux1_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64 Details for mindspore-2.11.0-cp311-cp311-manylinux1_x86_64.whl
mindspore-2.11.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for mindspore-2.11.0-cp311-cp311-macosx_11_0_arm64.whl
mindspore-2.11.0-cp311-cp311-macosx_10_15_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.15+ x86-64 Details for mindspore-2.11.0-cp311-cp311-macosx_10_15_x86_64.whl
mindspore-2.11.0-cp310-none-any.whl CPython 3.10 none any Details for mindspore-2.11.0-cp310-none-any.whl
mindspore-2.11.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for mindspore-2.11.0-cp310-cp310-win_amd64.whl
mindspore-2.11.0-cp310-cp310-manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details for mindspore-2.11.0-cp310-cp310-manylinux1_x86_64.whl
mindspore-2.11.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for mindspore-2.11.0-cp310-cp310-macosx_11_0_arm64.whl
mindspore-2.11.0-cp310-cp310-macosx_10_15_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.15+ x86-64 Details for mindspore-2.11.0-cp310-cp310-macosx_10_15_x86_64.whl

Total release size: 4.9 GB

Release files / mindspore-2.11.0-cp312-none-any.whl

Download URL mindspore-2.11.0-cp312-none-any.whl
Size 370.7 MB
Tags CPython 3.12
SHA-256 checksum
How to use checksums
04c2df40da0c7611a9e4327ddde7ef6e04c0a3a0590102cf72b0ef2e807461a6
BLAKE2b-256 checksum
How to use checksums
0fb25ecd219b6cb0287640e12132b21ea7ffdc2467e0a173ed40fbf0e627cfd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp312-cp312-win_amd64.whl

Download URL mindspore-2.11.0-cp312-cp312-win_amd64.whl
Size 114.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3e133a9dfe9176b0657574a796d1c820ae05d0a7b4e1d257c18a66e471c805da
BLAKE2b-256 checksum
How to use checksums
7b8d15133a18ff82f117db3bbd63c23d6aabd61d171e1093483fc81ed69126ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp312-cp312-manylinux1_x86_64.whl

Download URL mindspore-2.11.0-cp312-cp312-manylinux1_x86_64.whl
Size 802.8 MB
Tags CPython 3.12 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5883f86a85d75f3c7dfbd41c2f51c572a9c580b2e00933fedfa27c8036c46089
BLAKE2b-256 checksum
How to use checksums
0ca203a3f23aff4c4042a815256d3f8f9b1a3f966926c4bea4bdd631df2e1cfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL mindspore-2.11.0-cp312-cp312-macosx_11_0_arm64.whl
Size 146.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
68a8138ba2f39ccbebec0fb311adb923eaef522c1b136b08482eac43de0865ee
BLAKE2b-256 checksum
How to use checksums
653dab93e0fb967808133eb3bf08968ccf1b22caf0023a71a9d7849fd92b519e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp312-cp312-macosx_10_15_x86_64.whl

Download URL mindspore-2.11.0-cp312-cp312-macosx_10_15_x86_64.whl
Size 176.9 MB
Tags CPython 3.12 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b16352dc235b2cf8d603de692a77c71d78c37e4aaade521e39406b63373067ec
BLAKE2b-256 checksum
How to use checksums
9f7bc649d958108ea39d5c752acbf9a178efe61a0dcbbad5b31777dddfbeb31f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp311-none-any.whl

Download URL mindspore-2.11.0-cp311-none-any.whl
Size 372.1 MB
Tags CPython 3.11
SHA-256 checksum
How to use checksums
c827b3a573c49e54dc86f9b62a1442853727182b50ba77b4657715347890a6ef
BLAKE2b-256 checksum
How to use checksums
064738e9d38b5dc69410ac9b0547ff1d2ec129dd859a3dec21722df9eb0971d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp311-cp311-win_amd64.whl

Download URL mindspore-2.11.0-cp311-cp311-win_amd64.whl
Size 115.0 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0f01e5ca947eb05460bf1d32f41027862b19be45dca1f076015876cd0a89bec5
BLAKE2b-256 checksum
How to use checksums
17c45e244bd3850c6f5a24d9704a6000af8c8c9612894776d9e2956cf76d5139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp311-cp311-manylinux1_x86_64.whl

Download URL mindspore-2.11.0-cp311-cp311-manylinux1_x86_64.whl
Size 804.3 MB
Tags CPython 3.11 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
72e00b30c3cb2fadd8a4abd19ec93317b4707964eb87f7ba82e3d09062da3396
BLAKE2b-256 checksum
How to use checksums
cc6af1c611e0a56176b9610624518b539a9fbcfdd6a0326d3fc14424619cdc80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL mindspore-2.11.0-cp311-cp311-macosx_11_0_arm64.whl
Size 148.2 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e4d58516fb6651e5073d26d778d788e196baee79781847a42e593baeeb22a339
BLAKE2b-256 checksum
How to use checksums
5b779d02e0168845e0c3b69ebaf9ca6de1daac9b3e0de5d8121b8d429ac7335b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp311-cp311-macosx_10_15_x86_64.whl

Download URL mindspore-2.11.0-cp311-cp311-macosx_10_15_x86_64.whl
Size 178.6 MB
Tags CPython 3.11 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
d733e60a946488e575778754e17edf2de4a9da4c41f905fd609b1d175dfabebd
BLAKE2b-256 checksum
How to use checksums
ed24d7249741eb1d50bfb12eec1c8d74ea4de09b75280c73bef853f06de64432
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp310-none-any.whl

Download URL mindspore-2.11.0-cp310-none-any.whl
Size 372.0 MB
Tags CPython 3.10
SHA-256 checksum
How to use checksums
f28a53e45ea2a7728623a4acbc532694514d2ae38d434bf5932d81cd350bd70e
BLAKE2b-256 checksum
How to use checksums
a404e6d57d67aff53f7ffa68061eaf68abd0d712d5648528d58c3212ca273d58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp310-cp310-win_amd64.whl

Download URL mindspore-2.11.0-cp310-cp310-win_amd64.whl
Size 115.0 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
146c554dd7cc53e1b3c92453d62a17e704be4583cc356ac9e37108748b9df4b6
BLAKE2b-256 checksum
How to use checksums
6032bba2dba50bc6fdb902b239ac4a7688b63ba4fe0076eeaafbaee545a10571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp310-cp310-manylinux1_x86_64.whl

Download URL mindspore-2.11.0-cp310-cp310-manylinux1_x86_64.whl
Size 804.1 MB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
aa840c4a44a70bcaa97b57b79841f3041f1845625a2c3fde1fb9130c7d78a1dc
BLAKE2b-256 checksum
How to use checksums
4c750397c7c499baa0aca1150e0d294d9072af5119e33eb40c9a146ca5037377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL mindspore-2.11.0-cp310-cp310-macosx_11_0_arm64.whl
Size 160.3 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1683c20c0c5e887bf8f1d8d0aa6f5cf186991f3dc10f703178e04deeed6f9bf7
BLAKE2b-256 checksum
How to use checksums
a037a30face97a1f9f76317ec7454f1edc7bcb119da2bcf93d3e483bf7ddef5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Release files / mindspore-2.11.0-cp310-cp310-macosx_10_15_x86_64.whl

Download URL mindspore-2.11.0-cp310-cp310-macosx_10_15_x86_64.whl
Size 178.6 MB
Tags CPython 3.10 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
936b02c28e54259f5713b0c8f9d3968a8e5b08216ff4bd6ac1fc7e32e85a2df3
BLAKE2b-256 checksum
How to use checksums
20255fa6e0bcd4ee29bcda21b83c74e9173d7c42587b1a7c5b95a1dbbe00c988
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.17

Security for mindspore 2.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page