← 开源
flagos-ai

FlagGems

FlagGems is an operator library for large language models implemented in the Triton Language.

InfrastructureKernelsPython
在 GitHub 打开
增长势头
+224 小时新增 Star+0.2%
1.14k
Star
576
Fork
+6
本周
100
贡献者
创建于 2024-03-21 · 更新于 2026-10-16 · 今日第 3949 名
主要开发者

flagos-ai/FlagGems 排名第 3,949,有 1,138 个星标。

同类别比较

flagos-ai/FlagGems 排名第 3,949,此处有 8 个同类条目;espressif/esp-dl 排名第 3,939。

同类别比较
名称排名指标
Willxup/cpa-usage-keeper3,915
语言:
Go
星标数:
1,273
分叉数:
178
简介:
Standalone CliProxyAPI usage tracker with SQLite persistence and built-in dashboard.
bodaay/HuggingFaceModelDownloader3,930
语言:
Go
星标数:
1,190
分叉数:
128
简介:
Simple go utility to download HuggingFace Models and Datasets
lmstudio-ai/mlx-engine3,932
语言:
Python
星标数:
1,188
分叉数:
134
简介:
LM Studio Apple MLX engine
espressif/esp-dl3,939
语言:
Assembly
星标数:
1,174
分叉数:
226
简介:
Espressif deep-learning library for AIoT applications
ARM-software/CMSIS-DSP3,959
语言:
C
星标数:
1,115
分叉数:
252
简介:
CMSIS-DSP embedded compute library for Cortex-M and Cortex-A
kernel/kernel-images3,962
语言:
Go
星标数:
1,102
分叉数:
89
简介:
Browsers-as-a-service for automations and web agents
caozhiyuan/copilot-api3,972
语言:
TypeScript
星标数:
1,084
分叉数:
243
简介:
GitHub Copilot, OpenAI Codex, OpenCode Go, and third-party AI provider gateway with OpenAI and Anthropic API compatibility.
denoland/clawpatrol3,973
语言:
Go
星标数:
1,083
分叉数:
70
简介:
Security firewall for agents
关键参数与规格
关键参数与规格
参数值
语言Python
类别Infrastructure
子类别Kernels
星标数1,138
分叉数576
贡献者100
创建日期2024-03-21
更新日期2026-10-16
1 天星标数2
7 天星标数6
排名3,949
上次排名11,399
排名变化7,450
7 天星标排名5,175
上次 7 天星标排名5,178
7 天星标排名变化3
总星标排名10,101
上次总星标排名10,108
总星标排名变化7
国家China
README 摘录

中文版 | English About FlagGems is part of FlagOS, a fully open-source system software stack designed to unify the model–system–chip layers and foster an open and collaborative ecosystem. It enables a "develop once, run anywhere" workflow across diverse AI accelerators, unlocking hardware performance, eliminating fragmentation among AI chipset-specific software stacks, and substantially lowering the cost of porting and maintaining AI workloads. FlagGems is a high-performance, generic operator library implemented in Triton language. It is

built on a collection of backend-neutral kernels that aims to accelerate LLM (Large-Language Models) training and inference across diverse hardware platforms. By registering with the ATen backend of PyTorch, FlagGems facilitates a seamless transition, allowing model developers to switch to Triton without changing the low level APIs. Users can continue using their familiar Pytorch APIs while at the same time benefit from new hardware acceleration technologies. For kernel developers, the Triton language offers readability, user-friendliness and performance

comparable to CUDA. This convenience allows developers to engage in the development of FlagGems with minimal learning investment. Features FlagGems provides the following technical features. A large collection of PyTorch compatible operators Hand-optimized performance for selective operators Eager-mode ready, independent of Automatic pointwise operator codegen supporting arbitrary input types and layout Fast per-function runtime kernel dispatching Multi-backend interface enabling support of diverse hardware platforms Over 10 supported backends C++ Triton function dispatcher (working in progress) Check

the features documentation for more details. Getting Started Refer to the Getting Started for a quick start. Refer to the usage documentation for some details on using the software. Sample models for testing Bert-base-uncased Llama-2-7b Llava-1. 5-7b Contribution If you are interested in contributing to the FlagGems project, please refer to contribution guide. Any contributions would be highly appreciated. Please file an issue for feature requests or bug reports. io when you have questions

or suggestions to share. Join the FlagGems WeChat group by scanning the QR code below. You will receive first-hand messages about updates and new releases. Let the team know your questions or ideas! Citation If you find our work useful, please consider citing our project: License The FlagGems project is licensed under the Apache License (Version 2.

常见问题

记录了多少星标和分叉?

flagos-ai/FlagGems 有 1,138 个星标和 576 个分叉。

仓库排名是多少?

flagos-ai/FlagGems 排名第 3,949。

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

flagos-ai/FlagGems 有 1,138 个星标,语言为 Python,类别为 Infrastructure。

哪个仓库排名最接近?

flagos-ai/FlagGems 与 espressif/esp-dl 比较,后者排名第 3,939,有 1,174 个星标。

README

中文版 | English

About

FlagGems is part of FlagOS, a fully open-source system software stack designed to unify the model–system–chip layers and foster an open and collaborative ecosystem. It enables a "develop once, run anywhere" workflow across diverse AI accelerators, unlocking hardware performance, eliminating fragmentation among AI chipset-specific software stacks, and substantially lowering the cost of porting and maintaining AI workloads.

FlagGems is a high-performance, generic operator library implemented in Triton language. It is built on a collection of backend-neutral kernels that aims to accelerate LLM (Large-Language Models) training and inference across diverse hardware platforms.

By registering with the ATen backend of PyTorch, FlagGems facilitates a seamless transition, allowing model developers to switch to Triton without changing the low level APIs. Users can continue using their familiar Pytorch APIs while at the same time benefit from new hardware acceleration technologies. For kernel developers, the Triton language offers readability, user-friendliness and performance comparable to CUDA. This convenience allows developers to engage in the development of FlagGems with minimal learning investment.

Features

FlagGems provides the following technical features.

  • A large collection of PyTorch compatible operators
  • Hand-optimized performance for selective operators
  • Eager-mode ready, independent of torch.compile
  • Automatic pointwise operator codegen supporting arbitrary input types and layout
  • Fast per-function runtime kernel dispatching
  • Multi-backend interface enabling support of diverse hardware platforms
  • Over 10 supported backends
  • C++ Triton function dispatcher (working in progress)

Check the features documentation for more details.

Getting Started

  • Refer to the Getting Started for a quick start.
  • Refer to the usage documentation for some details on using the software.

Sample models for testing

  • Bert-base-uncased
  • Llama-2-7b
  • Llava-1.5-7b

Contribution

  • If you are interested in contributing to the FlagGems project, please refer to contribution guide. Any contributions would be highly appreciated.

  • Please file an issue for feature requests or bug reports.

  • Drop us an email at contact@flagos.io when you have questions or suggestions to share.

  • Join the FlagGems WeChat group by scanning the QR code below. You will receive first-hand messages about updates and new releases. Let the team know your questions or ideas!

Citation

If you find our work useful, please consider citing our project:

@misc{flaggems2024,
    title={FlagOS/FlagGems: An operator library for large language models implemented in the Triton language.},
    url={https://github.com/flagos-ai/FlagGems},
    journal={GitHub},
    author={The FlagOS contributors},
    year={2024}
}

License

The FlagGems project is licensed under the Apache License (Version 2.0).

排名相邻
同类项目