← 开源
Tencent

FeatherCNN

FeatherCNN is a high performance inference engine for convolutional neural networks.

InfrastructureInference service optimizationC++
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.23k
Star
274
Fork
+0
本周
2
贡献者
创建于 2018-04-27 · 更新于 2026-10-08 · 今日第 11053 名
主要开发者
turbo0628Mengjintao

Tencent/FeatherCNN 排名第 11,053,有 1,229 个星标。

同类别比较

Tencent/FeatherCNN 排名第 11,053,此处有 8 个同类条目;microsoft/MInference 排名第 11,055。

同类别比较
名称排名指标
Scale3-Labs/langtrace11,036
语言:
TypeScript
星标数:
1,234
分叉数:
129
简介:
Langtrace 🔍 is an open-source, Open Telemetry based end-to-end observability tool for LLM applications, providing real-time tracing, evaluations and metrics for popular LLMs, LLM frameworks, vectorDBs and more.. Integrate using Typescript, Python. 🚀💻📊
zkonduit/ezkl11,044
语言:
Rust
星标数:
1,231
分叉数:
212
简介:
ezkl is an engine for doing inference for deep learning models and other computational graphs in a zk-snark (ZKML). Use it from Python, Javascript, or the command line.
NVIDIA/kvpress11,046
语言:
Python
星标数:
1,230
分叉数:
187
简介:
LLM KV cache compression made easy
bricks-cloud/BricksLLM11,049
语言:
Go
星标数:
1,230
分叉数:
97
简介:
🔒 Enterprise-grade API gateway that helps you monitor and impose cost or rate limits per API key. Get fine-grained access control and monitoring per user, application, or environment. Supports OpenAI, Azure OpenAI, Anthropic, vLLM, and open-source LLMs.
microsoft/MInference11,055
语言:
Python
星标数:
1,229
分叉数:
83
简介:
[NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention, which reduces inference latency by up to 10x for pre-filling on an A100 while maintaining accuracy.
run-house/kubetorch11,062
语言:
Python
星标数:
1,228
分叉数:
61
简介:
Distribute and run AI workloads on Kubernetes magically in Python, like PyTorch for ML infra.
basetenlabs/truss11,101
语言:
Python
星标数:
1,219
分叉数:
133
简介:
The simplest way to serve AI/ML models in production
anderskm/gputil11,114
语言:
Python
星标数:
1,215
分叉数:
131
简介:
A Python module for getting the GPU status from NVIDA GPUs using nvidia-smi programmically in Python
关键参数与规格
关键参数与规格
参数值
语言C++
类别Infrastructure
子类别Inference service optimization
星标数1,229
分叉数274
贡献者2
创建日期2018-04-27
更新日期2026-10-08
1 天星标数0
7 天星标数0
排名11,053
上次排名11,008
排名变化-45
7 天星标排名12,870
上次 7 天星标排名10,085
7 天星标排名变化-2,785
总星标排名9,506
上次总星标排名9,501
总星标排名变化-5
国家China
README 摘录

Introduction FeatherCNN is a high-performance lightweight CNN inference library, developed by Tencent AI Platform Department. FeatureCNN origins from our game AI project for King of Glory (Chinese: 王者荣耀), in which we aim to build a neural model for MOBA game AI and run it on mobile devices. FeatherCNN currently targets at ARM CPUs. We will extend it to cover other architecutures in the near future. Comparing with other libraries, FeatherCNN has the following features: **High Performance

** FeatherCNN delivers state-of-the-art inference computing performance on a wide range of devices, including mobile phones (iOS/Android), embedded devices (Linux) as well as ARM-based servers (Linux). **Easy Deployment** FeatherCNN packs everything in a single code base to get rid of third-party dependencies. Hence, it facilitates deployment on mobile platforms. **Featherweight** The compiled FeatherCNN library is small-sized (hundreds of KBs). Please kindly open an issue in this repo for bug reports and enhancement suggests. We

are grateful to user responses and will actively polish this library. Citation FeatherCNN: Fast Inference Computation with TensorGEMM on ARM Architectures (TPDS September 2019, In press, DOI:10. 2939785) Clone hints The FeatherCNN repository has a heavy development history, please only clone the master branch as follows: Detailed Instructions for iOS/Android/Linux **Build From Source** **iOS Guide** **Android Guide** **Android ADB Guide** Usage Model Format Conversion FeatherCNN accepts Caffemodels. caffemodel) into a single binary model (. The convert tool requires

protobuf, but you don't need them for the library. Runtime Interfaces The basic user interfaces are listed in feather/net. Currently we are using raw pointers to reference data. We may provide more convenient interfaces in the near future. Before inference, FeatherCNN requires two steps to initialize the network. The net can also be initialized with raw buffers and FILE pointers. We can perform forward computation with raw buffer consequently. The output can be extracted from the net by the

name of blobs. The blob names are kept consistent with caffe prototxt. BTW, you can also get the blob's data size by calling Performance Benchmarks We have tested FeatherCNN on a bunch of devices, see **this page** for details.

常见问题

记录了多少星标和分叉?

Tencent/FeatherCNN 有 1,229 个星标和 274 个分叉。

仓库排名是多少?

Tencent/FeatherCNN 排名第 11,053。

记录的语言和类别是什么?

Tencent/FeatherCNN 有 1,229 个星标,语言为 C++,类别为 Infrastructure。

哪个仓库排名最接近?

Tencent/FeatherCNN 与 microsoft/MInference 比较,后者排名第 11,055,有 1,229 个星标。

README

Introduction

FeatherCNN is a high-performance lightweight CNN inference library, developed by Tencent AI Platform Department. FeatureCNN origins from our game AI project for King of Glory (Chinese: 王者荣耀), in which we aim to build a neural model for MOBA game AI and run it on mobile devices. FeatherCNN currently targets at ARM CPUs. We will extend it to cover other architecutures in the near future.

Comparing with other libraries, FeatherCNN has the following features:

  • High Performance FeatherCNN delivers state-of-the-art inference computing performance on a wide range of devices, including mobile phones (iOS/Android), embedded devices (Linux) as well as ARM-based servers (Linux).

  • Easy Deployment FeatherCNN packs everything in a single code base to get rid of third-party dependencies. Hence, it facilitates deployment on mobile platforms.

  • Featherweight The compiled FeatherCNN library is small-sized (hundreds of KBs).

Please kindly open an issue in this repo for bug reports and enhancement suggests. We are grateful to user responses and will actively polish this library.

Citation

FeatherCNN: Fast Inference Computation with TensorGEMM on ARM Architectures (TPDS September 2019, In press, DOI:10.1109/TPDS.2019.2939785)

Clone hints

The FeatherCNN repository has a heavy development history, please only clone the master branch as follows:

git clone -b master --single-branch https://github.com/tencent/FeatherCNN.git

Detailed Instructions for iOS/Android/Linux

Build From Source

iOS Guide

Android Guide

Android ADB Guide

Usage

Model Format Conversion

FeatherCNN accepts Caffemodels. It merges the structure file (.prototxt) and the weight file (.caffemodel) into a single binary model (.feathermodel). The convert tool requires protobuf, but you don't need them for the library.

Model Convert Guide.

Runtime Interfaces

The basic user interfaces are listed in feather/net.h. Currently we are using raw pointers to reference data. We may provide more convenient interfaces in the near future.

Before inference, FeatherCNN requires two steps to initialize the network.

feather::Net forward_net(num_threads);
forward_net.InitFromPath(FILE_PATH_TO_FEATHERMODEL);

The net can also be initialized with raw buffers and FILE pointers. We can perform forward computation with raw float* buffer consequently.

forward_net.Forward(PTR_TO_YOUR_INPUT_DATA);

The output can be extracted from the net by the name of blobs. The blob names are kept consistent with caffe prototxt.

forward_net.ExtractBlob(PTR_TO_YOUR_OUTPUT_BUFFER, BLOB_NAME);

BTW, you can also get the blob's data size by calling

size_t data_size = 0;
forward_net.GetBlobDataSize(&data_size, BLOB_NAME);

Performance Benchmarks

We have tested FeatherCNN on a bunch of devices, see this page for details.

User Groups

Telegram: https://t.me/FeatherCNN

QQ: 728147343

排名相邻
同类项目