ARM-software/ComputeLibrary
Fork: 758 Star: 2584 (更新于 1970-01-01 00:00:00)
license: MIT
Language: C++ .
The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.
最后发布版本: v23.08 ( 2023-08-24 23:27:16)
⚠ Important From release 22.05: 'master' branch has been replaced with 'main' following our inclusive language update, more information here.
⚠ Important From release 22.08: armv7a with Android build will no longer be tested or maintained.
⚠ Important From release 23.02: The 23.02 release introduces a change to the default tensor extend padding behavior. To remain compatible with previous behavior, users will need to set the new flag
ITensorInfo::lock_paddings()
on tensors for which paddings should not be extended, such as the input and output of the model that need to be mapped to a camera frame or frame buffer.
Compute Library
The Compute Library is a collection of low-level machine learning functions optimized for Arm® Cortex®-A, Arm® Neoverse® and Arm® Mali™ GPUs architectures.
The library provides superior performance to other open source alternatives and immediate support for new Arm® technologies e.g. SVE2.
Key Features:
- Open source software available under a permissive MIT license
- Over 100 machine learning functions for CPU and GPU
- Multiple convolution algorithms (GeMM, Winograd, FFT, Direct and indirect-GeMM)
- Support for multiple data types: FP32, FP16, INT8, UINT8, BFLOAT16
- Micro-architecture optimization for key ML primitives
- Highly configurable build options enabling lightweight binaries
- Advanced optimization techniques such as kernel fusion, Fast math enablement and texture utilization
- Device and workload specific tuning using OpenCL tuner and GeMM optimized heuristics
Repository | Link |
---|---|
Release | https://github.com/arm-software/ComputeLibrary |
Development | https://review.mlplatform.org/#/admin/projects/ml/ComputeLibrary |
Documentation
Note: The documentation includes the reference API, changelogs, build guide, contribution guide, errata, etc.
Pre-built binaries
All the binaries can be downloaded from here or from the tables below.
Platform | Operating System | Release archive (Download) |
---|---|---|
Raspberry Pi 4 | Linux® 32bit | |
Raspberry Pi 4 | Linux® 64bit | |
Odroid N2 | Linux® 64bit | |
HiKey960 | Linux® 64bit |
Architecture | Operating System | Release archive (Download) |
---|---|---|
armv7 | Linux® | |
arm64-v8a | Android™ | |
arm64-v8a | Linux® | |
arm64-v8.2-a | Android™ | |
arm64-v8.2-a | Linux® |
Please refer to the following link for more pre-built binaries:
Pre-build binaries are generated with the following security / good coding practices related flags:
-Wall, -Wextra, -Wformat=2, -Winit-self, -Wstrict-overflow=2, -Wswitch-default, -Woverloaded-virtual, -Wformat-security, -Wctor-dtor-privacy, -Wsign-promo, -Weffc++, -pedantic, -fstack-protector-strong
Supported Architectures/Technologies
-
Arm® CPUs:
- Arm® Cortex®-A processor family using Arm® Neon™ technology
- Arm® Neoverse® processor family
- Arm® Cortex®-R processor family with Armv8-R AArch64 architecture using Arm® Neon™ technology
- Arm® Cortex®-X1 processor using Arm® Neon™ technology
-
Arm® Mali™ GPUs:
- Arm® Mali™-G processor family
- Arm® Mali™-T processor family
-
x86
Supported Systems
- Android™
- Bare Metal
- Linux®
- OpenBSD®
- macOS®
- Tizen™
Resources
- Tutorial: Running AlexNet on Raspberry Pi with Compute Library
- Gian Marco's talk on Performance Analysis for Optimizing Embedded Deep Learning Inference Software
- Gian Marco's talk on optimizing CNNs with Winograd algorithms at the EVS
- Gian Marco's talk on using SGEMM and FFTs to Accelerate Deep Learning
Experimental builds
⚠ Important Bazel and CMake builds are experimental CPU only builds, please see the documentation for more details.
How to contribute
Contributions to the Compute Library are more than welcome. If you are interested on contributing, please have a look at our how to contribute guidelines.
Developer Certificate of Origin (DCO)
Before the Compute Library accepts your contribution, you need to certify its origin and give us your permission. To manage this process we use the Developer Certificate of Origin (DCO) V1.1 (https://developercertificate.org/)
To indicate that you agree to the the terms of the DCO, you "sign off" your contribution by adding a line with your name and e-mail address to every git commit message:
Signed-off-by: John Doe <john.doe@example.org>
You must use your real name, no pseudonyms or anonymous contributions are accepted.
Public mailing list
For technical discussion, the ComputeLibrary project has a public mailing list: acl-dev@lists.linaro.org The list is open to anyone inside or outside of Arm to self subscribe. In order to subscribe, please visit the following website: https://lists.linaro.org/mailman3/lists/acl-dev.lists.linaro.org/
License and Contributions
The software is provided under MIT license. Contributions to this project are accepted under the same license.
Other Projects
This project contains code from other projects as listed below. The original license text is included in those source files.
-
The OpenCL header library is licensed under Apache License, Version 2.0, which is a permissive license compatible with MIT license.
-
The half library is licensed under MIT license.
-
The libnpy library is licensed under MIT license.
-
The stb image library is either licensed under MIT license or is in Public Domain. It is used by this project under the terms of MIT license.
Trademarks and Copyrights
Android is a trademark of Google LLC.
Arm, Cortex, Mali and Neon are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
Bazel is a trademark of Google LLC., registered in the U.S. and other countries.
CMake is a trademark of Kitware, Inc., registered in the U.S. and other countries.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries.
Tizen is a registered trademark of The Linux Foundation.
Windows® is a trademark of the Microsoft group of companies.
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2023-08-24 23:27:16 v23.08
2023-07-06 22:24:33 v23.05.1
2023-05-23 17:20:47 v23.05
2023-03-18 00:09:00 v23.02.1
2023-02-23 21:29:12 v23.02
2022-11-26 01:19:31 v22.11
2022-08-24 20:06:17 v22.08
2022-05-30 22:42:30 v22.05
2022-03-03 22:47:51 v22.02
2021-11-22 23:21:03 v21.11
主题(topics):
aarch64, android, arm, armv7, armv8, computer-vision, cpp, linux, machine-learning, neon, neural-network, opencl, simd, sve
ARM-software/ComputeLibrary同语言 C++最近更新仓库
2024-11-25 02:55:44 PCSX2/pcsx2
2024-11-23 23:18:58 matanki-saito/EU4dll
2024-11-22 19:14:23 ClickHouse/ClickHouse
2024-11-22 19:09:45 manticoresoftware/manticoresearch
2024-11-20 09:02:24 dail8859/NotepadNext
2024-11-20 04:28:15 microsoft/terminal