← Open Source
flagos-ai

FlagGems

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

InfrastructureKernelsPython
Open on GitHub
Momentum
+2stars in 24 hours+0.2%
1.14k
Stars
576
Forks
+6
This week
100
Contributors
Created 2024-03-21 · Updated 2026-10-16 · #3949 today
Top developers

flagos-ai/FlagGems is ranked 3,949 with 1,138 stars.

Same-category comparison

flagos-ai/FlagGems is ranked 3,949 among these 8 peers; espressif/esp-dl is ranked 3,939.

Same-category comparison
NameRankMetrics
Willxup/cpa-usage-keeper3,915
Language:
Go
Stars:
1,273
Forks:
178
Description:
Standalone CliProxyAPI usage tracker with SQLite persistence and built-in dashboard.
bodaay/HuggingFaceModelDownloader3,930
Language:
Go
Stars:
1,190
Forks:
128
Description:
Simple go utility to download HuggingFace Models and Datasets.
lmstudio-ai/mlx-engine3,932
Language:
Python
Stars:
1,188
Forks:
134
Description:
LM Studio Apple MLX engine.
espressif/esp-dl3,939
Language:
Assembly
Stars:
1,174
Forks:
226
Description:
Espressif deep-learning library for AIoT applications.
ARM-software/CMSIS-DSP3,959
Language:
C
Stars:
1,115
Forks:
252
Description:
CMSIS-DSP embedded compute library for Cortex-M and Cortex-A.
kernel/kernel-images3,962
Language:
Go
Stars:
1,102
Forks:
89
Description:
Browsers-as-a-service for automations and web agents.
caozhiyuan/copilot-api3,972
Language:
TypeScript
Stars:
1,084
Forks:
243
Description:
GitHub Copilot, OpenAI Codex, OpenCode Go, and third-party AI provider gateway with OpenAI and Anthropic API compatibility.
denoland/clawpatrol3,973
Language:
Go
Stars:
1,083
Forks:
70
Description:
Security firewall for agents.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryInfrastructure
SubcategoryKernels
Stars1,138
Forks576
Contributors100
Created date2024-03-21
Updated date2026-10-16
Stars in 1 day2
Stars in 7 days6
Rank3,949
Previous rank11,399
Rank change7,450
7-day stars rank5,175
Previous 7-day stars rank5,178
7-day stars rank change3
Total stars rank10,101
Previous total stars rank10,108
Total stars rank change7
CountryChina
README summary

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.

Frequently asked questions

How many stars and forks are recorded?

flagos-ai/FlagGems has 1,138 stars and 576 forks.

What is the repository rank?

flagos-ai/FlagGems is ranked 3,949.

What language and category are recorded?

flagos-ai/FlagGems has 1,138 stars, uses Python and belongs to Infrastructure.

Which repository is closest in rank?

flagos-ai/FlagGems is compared with espressif/esp-dl, ranked 3,939 with 1,174 stars.

Nearby in the ranking
Similar items