awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjektÜber unsHow we rankPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

20 Repos

Awesome GitHub RepositoriesGPU Memory Optimizations

Techniques for maximizing memory throughput and minimizing latency on GPU hardware, such as swizzling and double buffering.

Distinguishing note: Candidates refer to OS memory banking, process communication buffers, or AI agent context memory, not hardware-level GPU memory layout optimization.

Explore 20 awesome GitHub repositories matching operating systems & systems programming · GPU Memory Optimizations. Refine with filters or upvote what's useful.

Awesome GPU Memory Optimizations GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • xlite-dev/leetcudaAvatar von xlite-dev

    xlite-dev/LeetCUDA

    9,694Auf GitHub ansehen↗

    LeetCUDA is a collection of high-performance GPU kernel libraries focusing on memory optimization, activation functions, and attention mechanisms. It serves as a reference library for CUDA kernel implementations, ranging from basic element-wise operations to complex neural network components, and provides Python bindings to integrate these kernels into deep learning workflows. The project is distinguished by its focus on low-level hardware optimizations. This includes the use of tensor cores for half-precision matrix multiplication, asynchronous data pipelining with double buffering, and shar

    Implements shared memory swizzling, double buffering, and vectorized access to maximize GPU memory throughput.

    Cudacudacuda-12cuda-cpp
    Auf GitHub ansehen↗9,694
  • openrlhf/openrlhfAvatar von OpenRLHF

    OpenRLHF/OpenRLHF

    9,675Auf GitHub ansehen↗

    OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across distributed GPU clusters. It provides tools for aligning large language models and multimodal vision-language models using algorithms such as PPO, GRPO, and DPO. The framework distinguishes itself through a distributed inference engine that overlaps sample rollout with training to increase throughput. It supports scaling to models exceeding 70 billion parameters via parameter sharding and handles long-context sequences through ring-attention sequence parallelism. The project

    Reduces GPU memory footprint through gradient checkpointing and offloading optimizer states to secondary storage.

    Pythonlarge-language-modelsopenai-o1proximal-policy-optimization
    Auf GitHub ansehen↗9,675
  • sjtu-ipads/powerinferAvatar von SJTU-IPADS

    SJTU-IPADS/PowerInfer

    9,568Auf GitHub ansehen↗

    PowerInfer is an inference engine and serving framework designed to run large language models on local hardware. It combines a hybrid CPU-GPU offloader, a quantization tool, and a sparse model optimizer to enable the execution of high-parameter models on consumer-grade devices. The system distinguishes itself through neuron-activation-based offloading, using a predictor model to preload frequent neurons into VRAM while keeping rare neurons in system memory. This hybrid execution model balances workloads between the GPU and CPU based on input patterns to optimize memory access and increase tok

    Optimizes memory access by preloading frequent neurons onto the GPU and computing rare ones on the CPU.

    C++
    Auf GitHub ansehen↗9,568
  • fminference/flexllmgenAvatar von FMInference

    FMInference/FlexLLMGen

    9,362Auf GitHub ansehen↗

    FlexLLMGen is an inference engine and runtime designed to run large language models on a single GPU by combining weight compression with tensor offloading. It reduces model weight memory usage by approximately 70% through 4-bit quantization, and stores model parameters, attention cache, and hidden states across GPU, CPU, and disk to fit models larger than available GPU memory. The project distinguishes itself through a throughput-oriented batching approach that processes multiple generation requests together in large batches to maximize throughput on a single GPU. It also supports distributed

    Stores model parameters, attention cache, and hidden states across GPU, CPU, and disk to fit models larger than available GPU memory.

    Pythondeep-learninggpt-3high-throughput
    Auf GitHub ansehen↗9,362
  • fminference/flexgenAvatar von FMInference

    FMInference/FlexGen

    9,366Auf GitHub ansehen↗

    FlexGen is an inference engine for large language models designed for high-throughput execution on single or multiple GPUs. It functions as a framework for managing model execution through a combination of memory offloading, weight compression, and pipeline orchestration. The system enables the execution of models that exceed available GPU memory by moving tensors and caches between GPU memory, system RAM, and disk storage. It utilizes 4-bit weight quantization to reduce the memory footprint of model parameters, allowing for increased batch processing capacity. The project covers distributed

    Implements a mechanism to move model tensors between GPU memory, system RAM, and disk.

    Python
    Auf GitHub ansehen↗9,366
  • tiiny-ai/powerinferAvatar von Tiiny-AI

    Tiiny-AI/PowerInfer

    8,714Auf GitHub ansehen↗

    PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It provides a runtime for executing models on consumer-grade hardware, utilizing a GPU acceleration backend to optimize tensor operations for graphics processors. The system distinguishes itself through a sparse inference framework that increases generation speed by skipping computations based on activation sparsity in model weights. It includes a GGUF model converter for transforming weights and metadata into a unified binary format, as well as an OpenAI API compatible server for inte

    Offloads model tensors and dense layers to video memory to increase computation speed.

    C++large-language-modelsllamallm
    Auf GitHub ansehen↗8,714
  • tingsongyu/pytorch_tutorialAvatar von TingsongYu

    TingsongYu/PyTorch_Tutorial

    8,018Auf GitHub ansehen↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Tracks GPU memory usage relative to input token counts to optimize hardware resource allocation.

    Python
    Auf GitHub ansehen↗8,018
  • krausest/js-framework-benchmarkAvatar von krausest

    krausest/js-framework-benchmark

    7,434Auf GitHub ansehen↗

    This project is a suite of analytical tools for quantifying web performance, specifically designed for benchmarking the rendering speed and memory usage of various JavaScript frameworks. It provides a standardized set of DOM manipulation tests and a comparison tool that uses weighted geometric means to measure efficiency across different web implementations. The benchmark harness distinguishes itself by providing deep analysis of DOM reconciliation strategies, comparing the performance and correctness of keyed versus non-keyed rendering. It also includes a memory profiler for tracking allocat

    Monitors memory consumption and overhead specifically for the runtime engine during DOM update cycles.

    JavaScript
    Auf GitHub ansehen↗7,434
  • jerryscript-project/jerryscriptAvatar von jerryscript-project

    jerryscript-project/jerryscript

    7,399Auf GitHub ansehen↗

    JerryScript is a lightweight, ECMAScript-compliant JavaScript engine and bytecode compiler designed for resource-constrained devices. It serves as an embedded interpreter and IoT scripting runtime, enabling the execution of JavaScript code within native C applications on hardware with limited memory. The project differentiates itself through a focus on low-memory runtime management, utilizing bytecode precompilation and pre-compiled state snapshots to reduce startup time and memory overhead. It features a C-binding native bridge for bidirectional communication between native code and scripts,

    Measures engine overhead by recording memory usage during runtime or termination.

    C
    Auf GitHub ansehen↗7,399
  • fla-org/flash-linear-attentionAvatar von fla-org

    fla-org/flash-linear-attention

    5,248Auf GitHub ansehen↗

    Flash Linear Attention is a training framework and inference engine for sequence models that use linear attention and state space mechanisms, designed to process long contexts with reduced memory and compute overhead. It provides hardware-optimized token mixing layers and fused CUDA kernels that minimize memory bandwidth and launch overhead across different GPU architectures, and includes a causal inference engine that generates text token-by-token using cached hidden states for efficient autoregressive decoding. The project supports building hybrid sequence models that interleave standard at

    Runs fused GPU kernels for token mixing operations that minimize memory bandwidth and launch overhead across different GPU architectures.

    Pythonlarge-language-modelsmachine-learning-systemsnatural-language-processing
    Auf GitHub ansehen↗5,248
  • nvidia/ncclAvatar von NVIDIA

    NVIDIA/nccl

    4,816Auf GitHub ansehen↗

    NCCL ist eine Hochleistungs-Kommunikationsbibliothek und ein Framework für verteiltes GPU-Computing, das für die Ausführung kollektiver und Punkt-zu-Punkt-Datenaustausche über mehrere GPUs in Einzel- oder Multi-Node-Systemen entwickelt wurde. Es dient als RDMA-GPU-Transportschicht und Speicher-Orchestrator, der die hochbandbreitige Synchronisation von Daten und Modellgradienten für verteiltes GPU-Training und Inference erleichtert. Die Bibliothek zeichnet sich durch ihre Fähigkeit aus, Kommunikationsprimitive direkt aus GPU-Kernels auszuführen, wodurch die Host-CPU aus dem kritischen Pfad entfernt wird. Sie nutzt topologiebewusste Pfadauswahl zur Optimierung der Datenbewegung und verwendet RDMA-basierten Netzwerktransport, einschließlich InfiniBand und NVLink, um Zero-Copy-Speicherzugriffe zwischen Geräten über verschiedene physische Knoten hinweg zu ermöglichen. Das Projekt deckt eine breite Palette an kollektiven Kommunikationsmustern ab, darunter Reduktionen, Broadcasts, Gathers und All-to-All-Austausche, neben Punkt-zu-Punkt-Remote-Speicherzugriffen. Es bietet umfassendes Communicator-Management für die Initialisierung, Partitionierung und Größenanpassung von GPU-Gruppen sowie spezialisiertes Speichermanagement für das Registrieren von Buffern und das Koordinieren von gemeinsam genutztem Gerätespeicher. Das System enthält eine Suite von Monitoring- und Observability-Tools für Health-Tracking, diagnostisches Logging und Echtzeit-Ereignisüberwachung sowie Integrationsschnittstellen für Machine-Learning-Frameworks, CUDA-Graphs, MPI und Python.

    Monitors and logs GPU memory usage, distinguishing between persistent and suspendable allocations.

    C++
    Auf GitHub ansehen↗4,816
  • tingsongyu/pytorch-tutorial-2ndAvatar von TingsongYu

    TingsongYu/PyTorch-Tutorial-2nd

    4,555Auf GitHub ansehen↗

    Dieses Projekt ist eine umfassende Lehrressource und ein Kurs zum Aufbau neuronaler Netze mit PyTorch. Es deckt die grundlegenden Bausteine des Deep Learning ab, einschließlich Tensor-Manipulation, automatischer Differenzierung und der Konstruktion modularer Komponenten für neuronale Netze. Das Repository dient als technischer Leitfaden für verschiedene spezialisierte Bereiche. Es bietet Implementierungsdetails für Computer-Vision-Aufgaben wie Bildklassifizierung, Objekterkennung und semantische Segmentierung sowie Workflows für die Verarbeitung natürlicher Sprache (NLP) mit Transformern, rekurrenten Netzen und generativen Modellen. Zudem enthält es eine Referenz für generative KI, mit Fokus auf die Synthese von Bildern mittels Diffusionsmodellen und adversarialen Netzwerken. Das Material erstreckt sich auf Modelloptimierung und Deployment-Pipelines. Es behandelt Techniken zur Reduzierung der Modellgröße und zur Erhöhung der Inferenzgeschwindigkeit durch Quantisierung und den Export von Modellen in Formate wie ONNX und TensorRT. Weitere Kompetenzbereiche umfassen Data Engineering für paralleles Laden, Modellevaluierung mittels benutzerdefinierter Metriken und das Deployment von Open-Source Large Language Models. Das Projekt wird primär als eine Reihe von Jupyter Notebooks bereitgestellt.

    Monitors GPU memory usage relative to input length to determine optimal context truncation limits.

    Jupyter Notebookcomputer-visiondeepsortdiffusion-models
    Auf GitHub ansehen↗4,555
  • pytorch/executorchAvatar von pytorch

    pytorch/executorch

    4,296Auf GitHub ansehen↗

    ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It provides an ahead-of-time compilation pipeline that exports, quantizes, and lowers model graphs into compact serialized programs, then executes them through a minimal runtime with hardware acceleration and on-device large language model inference capabilities. The project distinguishes itself through a hardware accelerator delegate system that partitions model subgraphs and offloads computation to specialized backends including NPUs, GPUs, and DSPs from Apple, Arm, Intel, MediaTek,

    ExecuTorch monitors peak and per-operator memory consumption to optimize resource usage on constrained hardware.

    Pythondeep-learningembeddedgpu
    Auf GitHub ansehen↗4,296
  • uxlfoundation/onednnAvatar von uxlfoundation

    uxlfoundation/oneDNN

    4,009Auf GitHub ansehen↗

    oneDNN is a library for deep learning acceleration that provides optimized building blocks for neural network training and inference. It manages tensor computation across CPU and GPU hardware, enabling the execution of high-performance primitives for model training and neural network inference optimization. The project distinguishes itself through hardware-specific kernel optimization and the use of just-in-time compilation to target specific processor instruction sets. It supports quantized neural network execution using both static and dynamic quantization to reduce memory usage and increas

    Optimizes memory throughput by managing format propagation and reordering data between CPU and GPU engines.

    C++aarch64amxavx512
    Auf GitHub ansehen↗4,009
  • imapsync/imapsyncAvatar von imapsync

    imapsync/imapsync

    3,945Auf GitHub ansehen↗

    imapsync is an IMAP mailbox synchronization tool and data migration utility designed to copy and synchronize email messages and folder structures between two IMAP servers. It functions as a migration manager for transferring bulk email accounts between different hosting providers, preserving folder hierarchies and message metadata. The tool is distinguished by its ability to automate the transfer of multiple mailboxes sequentially from delimited lists using administrative credentials or user-specific authentication. It supports advanced authentication methods including OAuth2 and XOAUTH2, and

    Saves memory during large folder synchronizations by using unique identifiers instead of full message headers.

    Shellemailsimapimaps
    Auf GitHub ansehen↗3,945
  • predibase/loraxAvatar von predibase

    predibase/lorax

    3,724Auf GitHub ansehen↗

    Lorax is a GPU-accelerated inference server and multi-adapter engine designed for serving large language models. It functions as a high-throughput system capable of deploying models via Kubernetes and managing the dynamic swapping of Low-Rank Adaptation adapters per request. The server distinguishes itself through multi-adapter dynamic batching, which allows requests using different adapter weights to be processed in a single GPU forward pass. It employs just-in-time adapter loading and weighted adapter merging to maximize throughput and enable multi-tasking without sacrificing performance.

    Optimizes throughput by asynchronously prefetching and offloading adapters between GPU and CPU memory.

    Pythonfine-tuninggptllama
    Auf GitHub ansehen↗3,724
  • mirix-ai/mirixAvatar von Mirix-AI

    Mirix-AI/MIRIX

    3,535Auf GitHub ansehen↗

    MIRIX is an AI agent state orchestrator and long-term memory system designed to provide persistent context for large language models. It functions as a multi-modal AI memory pipeline that processes text, voice, and screen captures into structured knowledge stores, including a dedicated screen activity knowledge base. The project distinguishes itself by integrating a multi-modal observation pipeline that monitors desktop activity in real-time to build a searchable history of user actions. It utilizes a multi-tiered memory hierarchy—separating episodic, semantic, procedural, and core stores—and

    Provides control over whether incoming information is processed immediately or batched for background memory updates.

    Pythonllm-agentsllm-memorymemory-agents
    Auf GitHub ansehen↗3,535
  • vllm-project/llm-compressorAvatar von vllm-project

    vllm-project/llm-compressor

    2,764Auf GitHub ansehen↗

    llm-compressor is a quantization toolkit and post-training library designed to reduce the memory footprint and size of large language models. It provides a framework for compressing models using weight and activation quantization to enable more efficient deployment. The project distinguishes itself through a distributed quantization framework that utilizes data-parallel processing and disk-based weight offloading to handle massive model checkpoints that exceed available system memory. It includes specialized compressors for diverse architectures, including Mixture-of-Experts, Vision-Language,

    Utilizes sequential onloading and disk offloading to quantize models that exceed available system memory.

    Pythoncompressionquantizationsparsity
    Auf GitHub ansehen↗2,764
  • llm-d/llm-dAvatar von llm-d

    llm-d/llm-d

    2,514Auf GitHub ansehen↗

    llm-d is a distributed serving framework designed for large language model inference. It functions as an inference orchestrator and gateway, providing a control plane for deploying model replicas and managing hardware accelerators. The system includes a batch inference scheduler and a cache manager to coordinate request flow and memory utilization. The project is distinguished by a disaggregated serving architecture that separates prefill and decode execution phases across specialized workers to maximize throughput. It employs a hardware-agnostic control plane and tiered cache offloading, mov

    Implements tiered cache offloading by moving memory blocks between GPU memory, host RAM, and shared storage for long-context workloads.

    Shell
    Auf GitHub ansehen↗2,514
  • rlinf/rlinfAvatar von RLinf

    RLinf/RLinf

    2,502Auf GitHub ansehen↗

    RLinf is a distributed reinforcement learning orchestrator and embodied AI training framework. It provides the infrastructure to train vision-language-action models and robotic policies using a combination of reinforcement learning and supervised fine-tuning. The system is designed for scaling workloads across GPU clusters, managing the placement of actors, rollout workers, and environment components. It features a specialized robotics data collection pipeline for gathering teleoperated demonstrations and simulation trajectories into standardized replay buffers, alongside a hardware interface

    Manages the movement of weights, gradients, and optimizers between memory tiers to prevent out-of-memory errors.

    Pythonagentic-aiembodied-aireinforcement-learning
    Auf GitHub ansehen↗2,502
  1. Home
  2. Operating Systems & Systems Programming
  3. GPU Memory Optimizations

Unter-Tags erkunden

  • Fused Token Mixing KernelsGPU kernels that perform token mixing operations with fused operations to minimize memory bandwidth and launch overhead. **Distinct from GPU Memory Optimizations:** Distinct from GPU Memory Optimizations: focuses on fused kernel implementations for token mixing specifically, not general GPU memory optimization techniques.
  • Memory Consumption Tracking2 Sub-TagsMonitoring and logging of GPU memory usage during model execution to optimize resource allocation. **Distinct from GPU Memory Optimizations:** Focuses on monitoring usage patterns over time rather than low-level hardware layout optimization
  • Memory Offloading Frameworks2 Sub-TagsSystems that manage the movement of tensors between different memory tiers to run oversized models. **Distinct from GPU Memory Optimizations:** Distinct from general GPU memory optimizations by focusing specifically on the offloading of tensors to CPU/Disk.
  • Neuron-Activation PreloadingMemory optimizations that preload frequently activated neurons into VRAM to reduce data transfer latency. **Distinct from GPU Memory Optimizations:** More specific than general GPU memory optimizations; it targets the predictive preloading of specific model parameters based on activation patterns.