← Open Source
antgroup

glake

GLake: optimizing GPU memory management and IO transmission.

InfrastructureKernelsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
502
Stars
45
Forks
+0
This week
5
Contributors
Created 2023-06-06 · Updated 2026-10-06 · #18283 today
Top developers
Zhaojp-Frankruizhang1230Parallel-Hao

antgroup/glake is ranked 18,283 with 502 stars.

Same-category comparison

antgroup/glake is ranked 18,283 among these 8 peers; langfuse/langfuse-python is ranked 18,319.

Same-category comparison
NameRankMetrics
terryky/tflite_gles_app18,216
Language:
C
Stars:
505
Forks:
132
Description:
GPU accelerated deep learning inference applications for RaspberryPi / JetsonNano / Linux PC using TensorflowLite GPUDelegate / TensorRT.
ultralytics/yolo-flutter-app18,217
Language:
Dart
Stars:
505
Forks:
173
Description:
Official Ultralytics YOLO Flutter plugin for real-time inference on Android and iOS across major vision tasks.
NoKV-Lab/NoKV18,224
Language:
Rust
Stars:
504
Forks:
61
Description:
The State Layer of Agent Sandbox.
TheLunarCompany/lunar18,227
Language:
TypeScript
Stars:
504
Forks:
56
Description:
lunar.dev: Agent native MCP Gateway for governance and security.
langfuse/langfuse-python18,319
Language:
Python
Stars:
501
Forks:
368
Description:
🪢 Langfuse Python SDK.
ninehills/chatglm-openai-api18,320
Language:
Python
Stars:
501
Forks:
51
Description:
Provide OpenAI style API for ChatGLM-6B and Chinese Embeddings Model.
NVIDIA/cuda-checkpoint18,331
Language:
C
Stars:
500
Forks:
40
Description:
CUDA checkpoint and restore utility.
unicitynetwork/whitepaper18,357
Language:
TeX
Stars:
20,098
Forks:
626
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryInfrastructure
SubcategoryKernels
KeywordsCUDA programming, Memory management
Stars502
Forks45
Contributors5
Created date2023-06-06
Updated date2026-10-06
Stars in 1 day0
Stars in 7 days0
Rank18,283
Previous rank18,039
Rank change-244
7-day stars rank16,577
Previous 7-day stars rank16,594
7-day stars rank change17
Total stars rank19,306
Previous total stars rank19,288
Total stars rank change-18
CountryChina
README summary

07] We release GlakeServe, our LLM serving and KV Cache management using VMM technique. 05] GLake overview and recent update is presented on AICon 2024 (in Beijing, China, 2024-05-17) here [2024. 05] The presentation slides in ASPLOS'24 can be found here [2024. 05] Preview: **serverless** with on-demand GPU memory shink (ckpt to CPU while), keeping process alive and auto backfill upon request coming [2024. 04] Preview: manage **LLM KV cache**, different from PagedAttention, it's flexible and

easy to use. 04] Preview: **cross-stream** GPU memory optimization dev done, will be released soon; integration with PyTorch expand segment is in-progress by AntGroup and Alibaba contributor [2024. 10] Our paper: GMLake: Efficient and Transparent GPU Memory Defragmentation for Large-scale DNN Training with Virtual Memory Stitching, just accepted by **ASPLOS'24** Blog Introduction AI large model training and inference are increasingly confronted with the challenges of memory wall and IO transmission wall, that is, the growth of

GPU memory capacity and IO bandwidth cannot keep up with the growth rate of AI model size. To address these challenges, GLake is an acceleration library and relevant utilites that work at the bottom layer (GPU virtual and physical memory management) and system layer (multi-GPU, multi-path, and multi-tasking) to optimize GPU memory and IO. GLake enables AI training, inference (including converting large models to TensorRT or ONNX Runtime on NVIDIA A10/3090) and DevOps (like Notebook) to

fully utilize the underlying hardware resources, improving training throughput by up to 4 times, saving inference memory by up to 3 times, and accelerating IO transmission by 3~12 times. To use GLake, the simplest way is to replace the underlying library (e. so), though more graceful way is to follow the detailed steps. Motivation **GPU memory bottleneck** GPUs are known for their high computing power and high concurrency. As a peripheral, however, its memory capacity (currently 80GB for mainstream

training GPUs A100 and 24GB for mainstream inference GPUs A10) still restricts the use of its computing power. Especially recently, the growing demand for GPU memory capacity for large models has been much higher than the hardware development of GPU memory. **IO transmission bottleneck** Comparing the GPU computing power and CPU-GPU IO bandwidth of various GPU generations, it is not difficult to find that the limitations of transmission wall are intensifying and will be unlikely to be solved in

the short term. It is worth noting that based on the customized interconnection NVLink, the GPU-to-GPU bandwidth is significantly faster than the PCIe bandwidth. In addition, GPU memory bandwidth (HBM, GDDR) is a performance bottleneck of large model inference. Architecture GLake is designed with a layered architecture. Currently tests and verfications focus on PyTorch and NVIDIA GPUs, we're working on more devices support: **Hardware interface** includes GPUs and interconnection, currently mainly based on NV GPU (supporting NVLink, P2P

, Unified Addressing, VMM, IPC, etc. The interface is adapting to support domestic AI cards, and will consider supporting new interconnections

Frequently asked questions

How many stars and forks are recorded?

antgroup/glake has 502 stars and 45 forks.

What is the repository rank?

antgroup/glake is ranked 18,283.

What language and category are recorded?

antgroup/glake has 502 stars, uses Python and belongs to Infrastructure.

Which repository is closest in rank?

antgroup/glake is compared with langfuse/langfuse-python, ranked 18,319 with 501 stars.

Nearby in the ranking
Similar items