FlagGems
FlagGems is an operator library for large language models implemented in the Triton Language.
flagos-ai/FlagGems is ranked 3,949 with 1,138 stars.
flagos-ai/FlagGems is ranked 3,949 among these 8 peers; espressif/esp-dl is ranked 3,939.
| Name | Rank | Metrics |
|---|---|---|
| Willxup/cpa-usage-keeper | 3,915 |
|
| bodaay/HuggingFaceModelDownloader | 3,930 |
|
| lmstudio-ai/mlx-engine | 3,932 |
|
| espressif/esp-dl | 3,939 |
|
| ARM-software/CMSIS-DSP | 3,959 |
|
| kernel/kernel-images | 3,962 |
|
| caozhiyuan/copilot-api | 3,972 |
|
| denoland/clawpatrol | 3,973 |
|
| Parameter | Value |
|---|---|
| Language | Python |
| Category | Infrastructure |
| Subcategory | Kernels |
| Stars | 1,138 |
| Forks | 576 |
| Contributors | 100 |
| Created date | 2024-03-21 |
| Updated date | 2026-10-16 |
| Stars in 1 day | 2 |
| Stars in 7 days | 6 |
| Rank | 3,949 |
| Previous rank | 11,399 |
| Rank change | 7,450 |
| 7-day stars rank | 5,175 |
| Previous 7-day stars rank | 5,178 |
| 7-day stars rank change | 3 |
| Total stars rank | 10,101 |
| Previous total stars rank | 10,108 |
| Total stars rank change | 7 |
| Country | China |
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.
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.