awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

21 रिपॉजिटरी

Awesome GitHub RepositoriesMemory Optimization

Techniques for reducing VRAM usage during model training or inference.

Distinguishing note: Focuses on VRAM reduction for generative models.

Explore 21 awesome GitHub repositories matching artificial intelligence & ml · Memory Optimization. Refine with filters or upvote what's useful.

Awesome Memory Optimization GitHub Repositories

AI के साथ बेहतरीन रिपॉजिटरी खोजें।हम AI का उपयोग करके सबसे सटीक रिपॉजिटरी खोजेंगे।
  • hiyouga/llama-factoryhiyouga का अवतार

    hiyouga/LLaMA-Factory

    72,241GitHub पर देखें↗

    LLaMA-Factory is a comprehensive suite for dataset preparation, model fine-tuning, memory optimization, and standardized API deployment. It provides a unified platform for the supervised and reward-based fine-tuning of large language models and vision-language models. The framework includes a specialized toolkit for training vision-language models and a model serving interface that deploys trained models through high-performance APIs. It utilizes precision tuning and quantization techniques to reduce the hardware requirements and memory footprint of large models. The system covers data pipel

    Optimizes VRAM usage during training and inference through precision tuning and quantization.

    Python
    GitHub पर देखें↗72,241
  • lllyasviel/controlnetlllyasviel का अवतार

    lllyasviel/ControlNet

    33,942GitHub पर देखें↗

    ControlNet is a framework for structural image generation that extends pre-trained diffusion models with neural network architectures designed for precise spatial control. By injecting structural guidance directly into the latent-space denoising process, the system enables users to enforce geometric or semantic constraints on generated outputs while maintaining style consistency. The framework distinguishes itself through a weight-locked copying mechanism that preserves the integrity of the original model while introducing new control signals. It supports multi-condition synthesis, allowing f

    Reduces video memory consumption to enable larger batch sizes on limited hardware.

    Python
    GitHub पर देखें↗33,942
  • xming521/weclonexming521 का अवतार

    xming521/WeClone

    18,028GitHub पर देखें↗

    WeClone is an end-to-end framework designed for the creation, training, and deployment of personalized conversational AI digital twins. By fine-tuning large language models on individual chat history, the platform enables the replication of unique communication styles, speech patterns, and conversational habits. The system manages the entire lifecycle of these digital avatars, from initial data preparation to final integration into messaging platforms for real-time interaction. The platform distinguishes itself through a comprehensive suite of data processing utilities that prepare raw messag

    Implements memory optimization techniques like quantization and batch size adjustment to fit large models into limited hardware memory.

    Pythonchat-historydigital-avatarllm
    GitHub पर देखें↗18,028
  • cjpais/handycjpais का अवतार

    cjpais/Handy

    15,515GitHub पर देखें↗

    Handy is a local speech-to-text automation tool designed to convert spoken audio into text and inject it directly into active desktop applications. By running machine learning models entirely on the host hardware, it provides a private, offline-first environment for dictation and command execution. The system functions as a background service that manages microphone input, transcription state, and text output, enabling hands-free typing across various software environments. The project distinguishes itself through a modular pipeline that integrates local language models for post-transcription

    Frees system memory by unloading transcription models after periods of inactivity.

    Rustaccessibilitycross-platformspeech-to-text
    GitHub पर देखें↗15,515
  • lllyasviel/stable-diffusion-webui-forgelllyasviel का अवतार

    lllyasviel/stable-diffusion-webui-forge

    12,730GitHub पर देखें↗

    Stable Diffusion WebUI Forge is a web-based interface and inference engine designed for the generation of AI media. It functions as a platform for executing diffusion-based models, providing a centralized environment to manage image preprocessors, custom generation logic, and hardware-accelerated sampling. The project distinguishes itself through a neural network patching framework that allows for the modification of model layers and the application of spatial conditioning during inference. By injecting custom logic and adapters directly into the network, users can influence output behaviors

    Minimizes video memory consumption to allow high-resolution models to run on hardware with limited capacity.

    Python
    GitHub पर देखें↗12,730
  • bmaltais/kohya_ssbmaltais का अवतार

    bmaltais/kohya_ss

    12,384GitHub पर देखें↗

    kohya_ss is a graphical user interface and workbench for fine-tuning diffusion models, specifically designed for Stable Diffusion. It provides a suite of tools for training generative AI models, including specialized interfaces for creating Low-Rank Adaptation weights and training ControlNet spatial control networks. The project distinguishes itself through integrated VRAM usage optimization and hardware acceleration, featuring specific support for Intel GPUs via XPU-accelerated libraries. It implements parameter-efficient training methods and memory-saving techniques like gradient checkpoint

    Minimizes VRAM consumption using techniques like gradient checkpointing and caching to prevent out-of-memory errors.

    Python
    GitHub पर देखें↗12,384
  • openaccess-ai-collective/axolotlOpenAccess-AI-Collective का अवतार

    OpenAccess-AI-Collective/axolotl

    12,062GitHub पर देखें↗

    Axolotl is a distributed training orchestrator and fine-tuning framework for large language models, multimodal systems, and quantized models. It provides a structured environment for specializing pre-trained models through full parameter updates or low-rank adaptation, as well as aligning model outputs with human expectations via preference tuning pipelines and reward modeling. The system distinguishes itself through a configuration-driven pipeline that manages preprocessing and training workflows via a single file for reproducibility. It implements high-throughput optimizations such as multi

    Reduces VRAM requirements during training through quantization and reduced-precision fine-tuning.

    Python
    GitHub पर देखें↗12,062
  • lyogavin/airllmlyogavin का अवतार

    lyogavin/airllm

    11,508GitHub पर देखें↗

    Airllm is a framework designed to execute and fine-tune large language models on consumer-grade hardware. By employing layer-wise model decomposition and memory-efficient loading techniques, the engine enables the operation of massive models that would otherwise exceed available system or video memory. The project distinguishes itself through a suite of optimization strategies that balance memory footprint with performance. It utilizes block-wise weight quantization and asynchronous layer prefetching to reduce resource consumption and hide data transfer latency. Additionally, the framework su

    Reduces VRAM usage for large models using attention optimizations and parameter-efficient techniques to enable execution on consumer hardware.

    Jupyter Notebookchinese-llmchinese-nlpfinetune
    GitHub पर देखें↗11,508
  • intel/ipex-llmintel का अवतार

    intel/ipex-llm

    8,836GitHub पर देखें↗

    Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning on Intel CPUs, GPUs, and NPUs. It provides a distributed inference engine for scaling models across multiple accelerators, a multimodal model runtime for vision and speech tasks, and a low-bit model quantization tool for converting weights into INT4, FP8, and GGUF formats. The project features a parameter-efficient finetuning framework that enables model adaptation using QLoRA and DPO on Intel hardware. It distinguishes itself by providing specialized optimizations for Intel XP

    Reduces memory usage during first token generation to support longer context windows.

    Python
    GitHub पर देखें↗8,836
  • focus-creative-games/hybridclrfocus-creative-games का अवतार

    focus-creative-games/hybridclr

    7,863GitHub पर देखें↗

    HybridCLR is a hybrid C# execution engine and assembly loader designed for Unity. It provides a system for hot-updating C# logic across all platforms at runtime without requiring the application to be rebuilt or reinstalled. The project is distinguished by its mixed-mode execution, which runs unmodified code at native speed while using a high-performance interpreter for updated functions. It includes a generic type resolver that allows hot-updated code to use generic classes and functions regardless of whether they were pre-instantiated in the main binary. To protect proprietary source code,

    Completely unloads existing assemblies from memory to allow for clean replacement of updated code.

    C++csharpframeworkhot
    GitHub पर देखें↗7,863
  • kohya-ss/sd-scriptskohya-ss का अवतार

    kohya-ss/sd-scripts

    7,133GitHub पर देखें↗

    sd-scripts is a suite of utilities designed for fine-tuning generative models, preprocessing datasets, and converting model weights. It provides a collection of scripts for executing Stable Diffusion training through methods such as DreamBooth, textual inversion, and full fine-tuning, alongside a framework for creating and managing Low-Rank Adaptation weights. The project features specialized capabilities for model weight conversion between different architectures and precision formats. It includes tools for merging adaptation weights into base models, extracting weights from trained models,

    Reduces VRAM requirements during training and inference through block swapping, mixed precision, and latent caching.

    Python
    GitHub पर देखें↗7,133
  • meta-pytorch/gpt-fastmeta-pytorch का अवतार

    meta-pytorch/gpt-fast

    6,223GitHub पर देखें↗

    gpt-fast एक PyTorch ट्रांसफॉर्मर इन्फरेंस इंजन है जिसे नेटिव टेंसर लाइब्रेरी इम्प्लीमेंटेशन का उपयोग करके टेक्स्ट जनरेशन के लिए डिज़ाइन किया गया है। यह बाहरी C++ एक्सटेंशन की आवश्यकता के बिना बड़े भाषा मॉडल को निष्पादित करने के लिए एक रनटाइम प्रदान करता है। यह प्रोजेक्ट टोकन भविष्यवाणी के लिए एक छोटे ड्राफ्ट मॉडल और सत्यापन के लिए एक बड़े मॉडल का उपयोग करके जनरेशन को गति देने के लिए स्पेक्युलेटिव डिकोडिंग को लागू करता है। यह एक संकलित प्रीफिल स्टेज और एक मल्टी-GPU टेंसर पैरेललिज़्म लाइब्रेरी के माध्यम से प्रदर्शन को और अधिक अनुकूलित करता है जो कई ग्राफिक्स प्रोसेसिंग यूनिट्स में लीनियर लेयर्स को शार्ड करती है। मेमोरी दक्षता को int8 और int4 वेट और ग्रुप टेंसर क्वांटाइज़ेशन का समर्थन करने वाले क्वांटाइज़्ड रनटाइम के माध्यम से प्रबंधित किया जाता है। सिस्टम में आर्किटेक्चर पैरामीट्रिज़ेशन, टेक्स्ट टोकनाइज़ेशन और मानकीकृत हार्नेस का उपयोग करके मॉडल सटीकता मूल्यांकन के लिए टूल्स भी शामिल हैं।

    Offers a high-performance implementation that optimizes the prefill stage through model compilation.

    Python
    GitHub पर देखें↗6,223
  • ai-dynamo/dynamoai-dynamo का अवतार

    ai-dynamo/dynamo

    6,112GitHub पर देखें↗

    Dynamo is a distributed inference orchestration platform designed for large language models. It functions as a system to coordinate prefill and decode phases across GPU nodes, utilizing a multi-backend runtime adapter to connect engines like vLLM and TensorRT-LLM through a unified block-oriented memory interface. An OpenAI-compatible API server provides the frontend for integration with existing tools and clients. The project is distinguished by its disaggregated serving architecture, which separates prompt processing and token generation onto independent GPU pools to optimize throughput and

    Adjusts the number of workers dedicated to prefill and decode phases separately based on real-time metrics.

    Rust
    GitHub पर देखें↗6,112
  • deepseek-ai/deepseek-vl2deepseek-ai का अवतार

    deepseek-ai/DeepSeek-VL2

    5,302GitHub पर देखें↗

    DeepSeek-VL2 is a multimodal large language model and vision-language system designed to analyze visual scenes and generate descriptive text. It functions as a visual question answering and visual grounding model, capable of extracting information from documents and locating specific objects or regions within images based on textual descriptions. The project utilizes a mixture-of-experts architecture to process combined image and text inputs. It is optimized for inference through incremental prefilling, which reduces the GPU memory requirements on hardware. The model covers multimodal data a

    Reduces GPU memory consumption during the initial prompt prefill stage via incremental processing.

    Python
    GitHub पर देखें↗5,302
  • flashinfer-ai/flashinferflashinfer-ai का अवतार

    flashinfer-ai/flashinfer

    4,996GitHub पर देखें↗

    FlashInfer is a library of high-performance GPU kernels purpose-built for accelerating large language model inference. It provides optimized implementations for attention operations (including flash attention, page attention, multi-head latent attention, and cascade attention) using paged key-value caches, fused kernel composition, and just-in-time compilation. The library also includes specialized kernels for mixture-of-experts layers, block-scaled low-precision quantization (FP8, FP4), and distributed collective communication. What distinguishes FlashInfer is its fused all-reduce communicat

    Implements fused batch prefill kernels for variable-length sequences with ragged page tables.

    Pythonattentioncudadistributed-inference
    GitHub पर देखें↗4,996
  • mostlygeek/llama-swapmostlygeek का अवतार

    mostlygeek/llama-swap

    4,786GitHub पर देखें↗

    Llama-swap is a local inference orchestrator and API gateway for large language models. It functions as an OpenAI API proxy that manages the lifecycle of multiple local model servers, automatically starting and stopping them to swap models based on incoming request identifiers. The project distinguishes itself through dynamic model swapping and hardware optimization. It utilizes a specialized matrix-based concurrency control to define which models can run simultaneously and employs cost-based eviction to remove inactive servers from memory based on relative resource costs. The system provide

    Removes inactive models from memory after a specific timeout period to free up system resources.

    Go
    GitHub पर देखें↗4,786
  • opennmt/ctranslate2OpenNMT का अवतार

    OpenNMT/CTranslate2

    4,319GitHub पर देखें↗

    CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di

    Releases GPU memory by moving a loaded model to CPU or fully unloading it, then reloads it later on demand.

    C++avxavx2cpp
    GitHub पर देखें↗4,319
  • lmstudio-ai/lmslmstudio-ai का अवतार

    lmstudio-ai/lms

    4,214GitHub पर देखें↗

    This project is a headless large language model inference engine and server manager designed for local deployments. It provides a developer toolkit and API gateway that allows for the management of model lifecycles and inference tasks without a graphical user interface. The system enables the deployment of model engines across different operating systems, cloud environments, or CI pipelines. It includes a command-line interface for bootstrapping development projects and automating the orchestration of loading and unloading model binaries based on specific workflow needs. The toolset covers i

    Removes a loaded model from memory to free resources, optionally unloading all models at once.

    TypeScriptllmlmstudionodejs
    GitHub पर देखें↗4,214
  • paddlepaddle/fastdeployPaddlePaddle का अवतार

    PaddlePaddle/FastDeploy

    3,700GitHub पर देखें↗

    FastDeploy is a high-performance deployment framework for large language models, vision models, and multimodal models. It provides the infrastructure to launch model services that process combined image, video, and text inputs, exposing these capabilities through a standardized, OpenAI-compatible API for chat and text completions. The project distinguishes itself through advanced inference pipeline engineering and GPU optimization. It employs speculative decoding, tensor parallelism, and a disaggregated execution model that separates prefill and decode phases across different hardware resourc

    Splits large input sequences into smaller subtasks to prevent memory errors during the initial prefill stage.

    Pythonernieernie-45ernie-45-vl
    GitHub पर देखें↗3,700
  • sgl-project/mini-sglangsgl-project का अवतार

    sgl-project/mini-sglang

    3,514GitHub पर देखें↗

    mini-sglang is a collection of tools for large language model inference, serving as an OpenAI-compatible inference server, a memory-efficient prefill engine, and a tensor parallelism runtime. It also functions as a local batch processing engine for offline benchmarking and ablation studies. The project focuses on acceleration and memory management through a KV cache manager that reuses precomputed caches for shared request prefixes. It handles large model workloads by distributing tasks across multiple GPUs and manages peak memory consumption by splitting long input sequences into smaller chu

    Implements chunked prefill execution to maintain a constant memory ceiling during initial sequence processing.

    Python
    GitHub पर देखें↗3,514
पिछला12अगला
  1. Home
  2. Artificial Intelligence & ML
  3. Memory Optimization

सब-टैग एक्सप्लोर करें

  • Assembly UnloadingThe process of completely removing loaded binary assemblies from memory to allow replacement. **Distinct from Model Unloading Policies:** Distinct from Model Unloading: targets .NET/C# assemblies rather than AI models.
  • Disaggregated Phase ScalingIndependently scaling the compute resources for the prefill and decode stages of LLM inference. **Distinct from Prefill Phase Optimizations:** Focuses on the elastic scaling of worker pools for specific phases, rather than just memory optimizations during the prefill phase.
  • Model Unloading PoliciesAutomated routines for freeing system memory by unloading inference models after inactivity. **Distinct from Memory Optimization:** Focuses on the lifecycle management of models in memory rather than general VRAM reduction.
  • Prefill Phase Optimizations4 सब-टैग्सReducing memory consumption during the initial prefill stage of token generation. **Distinct from Memory Optimization:** Focuses specifically on the prefill phase rather than general training or overall inference memory.