awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ml-explore avatar

ml-explore/mlx-examples

0
View on GitHub↗
8,254 stars·1,124 forks·Python·mit·12 vues

Mlx Examples

This repository provides a collection of reference implementations and code examples for training and deploying machine learning models using the MLX framework. It serves as a practical guide for executing distributed training, fine-tuning large language models, converting model weights, and implementing multimodal generative workflows.

The project distinguishes itself through specialized examples for local hardware execution, featuring weight quantization to reduce memory usage and low-rank adaptation for parameter-efficient fine-tuning. It also includes scripts for transforming external model formats into MLX-compatible versions and merging adapter weights for standalone deployment.

The examples cover a broad range of capabilities, including natural language processing with decoder-only and mixture-of-experts architectures, computer vision for image classification and segmentation, and audio processing for speech-to-text and music generation. Additionally, it demonstrates generative AI workflows for text-to-image and text-to-video synthesis, alongside graph-based neural networks and multimodal systems that utilize shared embedding spaces.

Features

  • Reference Model Implementations - Provides a comprehensive collection of reference implementations for training and deploying models using the MLX framework.
  • Generative AI Workflows - Provides sequences of automated steps for creating images, video, music, and text using diffusion models and transformers.
  • Large Language Model Fine-Tuning - Offers code samples for adapting large language models using LoRA and quantization for local hardware.
  • Model Fine-Tuning - Implements procedures for adapting pre-trained models to specific datasets using parameter-efficient training.
  • Low-Rank Adaptation - Provides reference implementations for parameter-efficient fine-tuning using low-rank adaptation to reduce hardware requirements.
  • Language Model Training - Implements transformer-based language models trained on text corpora to predict subsequent tokens.
  • Weight Quantization - Includes techniques for compressing model weights into 4-bit or 8-bit precision to reduce memory footprint on local hardware.
  • Text Generation - Enables the generation of human-like text by running large language models on local hardware.
  • MLX Format Conversions - Provides scripts to transform model weights into formats optimized for the MLX framework on Apple Silicon.
  • Local Model Deployment - Provides examples for running and managing large language models on local hardware using quantization.
  • Model Weight Conversions - Ships scripts for transforming model weights and formats into MLX-compatible versions with precision quantization.
  • Mistral Model Integrations - Provides an optimized implementation for integrating and executing Mistral large language models.
  • Multimodal Generation - Implements generative workflows for producing text, images, audio, and video from mixed-modal inputs.
  • Distributed Training - Provides reference code for parallelizing model training and computation across multiple devices.
  • Data-Parallel Training - Includes examples for distributing training workloads across multiple hardware units by synchronizing gradients.
  • Text-to-Video Generators - Synthesizes high-resolution video sequences from textual descriptions using a diffusion transformer.
  • Latent Diffusion Models - Implements generative architectures that perform iterative denoising within compressed latent spaces to create visual content.
  • Inference Acceleration - Accelerates inference by skipping redundant transformer computations when embeddings remain similar.
  • Mixture of Experts - Supports the execution of large-scale mixture-of-experts models for efficient text generation.
  • Adapter Fusion - Provides utilities to merge trained low-rank adaptation weights into the base model for standalone deployment.
  • Multi-Modal Embedding Models - Implements neural networks that map images and text into a shared vector space for joint retrieval.
  • Multimodal AI Systems - Implements systems that combine text, image, and audio data for joint embeddings and generative workflows.
  • Multimodal Embeddings - Implements shared vector spaces that map images and text together to enable joint retrieval and multimodal generation.
  • Image-to-Video Generation - Transforms static images into animated video sequences using model parameters.
  • Multimodal Generation - Enables the production of text descriptions and answers based on combined image and text inputs.
  • Audio and Speech Models - Implements speech recognition, neural audio compression, and text-to-music generation using specialized acoustic models.
  • Unified Memory Systems - Leverages a shared memory pool between CPU and GPU to eliminate redundant data copying during tensor operations.

Historique des stars

Graphique de l'historique des stars pour ml-explore/mlx-examplesGraphique de l'historique des stars pour ml-explore/mlx-examples

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Mlx Examples

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Mlx Examples.
  • openbmb/minicpmAvatar de OpenBMB

    OpenBMB/MiniCPM

    9,464Voir sur GitHub↗

    MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp

    Jupyter Notebook
    Voir sur GitHub↗9,464
  • tingsongyu/pytorch_tutorialAvatar de TingsongYu

    TingsongYu/PyTorch_Tutorial

    8,018Voir sur GitHub↗

    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

    Python
    Voir sur GitHub↗8,018
  • dusty-nv/jetson-inferenceAvatar de dusty-nv

    dusty-nv/jetson-inference

    8,734Voir sur GitHub↗

    jetson-inference is a set of libraries and tools for executing optimized deep learning models on embedded GPU hardware. Its primary purpose is to enable real-time computer vision and AI inference at the edge with low latency and high throughput. The project distinguishes itself through high-performance streaming analytics and the ability to execute concurrent AI pipelines on auto-grade silicon. It provides specialized support for multi-sensor stream processing, utilizing zero-copy data transport to load camera frames directly into GPU memory. The codebase covers a broad surface of capabiliti

    C++caffecomputer-visiondeep-learning
    Voir sur GitHub↗8,734
  • facebookresearch/fairseqAvatar de facebookresearch

    facebookresearch/fairseq

    32,228Voir sur GitHub↗

    Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic speech recognition, and large-scale language model training. It provides a framework for processing and aligning diverse data sources, including text, audio, and video, to support tasks such as speech-to-text conversion and multimodal sequence learning. The project is distinguished by its distributed training capabilities, which utilize parameter sharding, mixed-precision training, and CPU offloading to handle models that exceed single-device memory. It also includes specializ

    Python
    Voir sur GitHub↗32,228
Voir les 30 alternatives à Mlx Examples→

Questions fréquentes

Que fait ml-explore/mlx-examples ?

This repository provides a collection of reference implementations and code examples for training and deploying machine learning models using the MLX framework. It serves as a practical guide for executing distributed training, fine-tuning large language models, converting model weights, and implementing multimodal generative workflows.

Quelles sont les fonctionnalités principales de ml-explore/mlx-examples ?

Les fonctionnalités principales de ml-explore/mlx-examples sont : Reference Model Implementations, Generative AI Workflows, Large Language Model Fine-Tuning, Model Fine-Tuning, Low-Rank Adaptation, Language Model Training, Weight Quantization, Text Generation.

Quelles sont les alternatives open-source à ml-explore/mlx-examples ?

Les alternatives open-source à ml-explore/mlx-examples incluent : openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… dusty-nv/jetson-inference — jetson-inference is a set of libraries and tools for executing optimized deep learning models on embedded GPU… facebookresearch/fairseq — Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic… zai-org/cogvideo — CogVideo is a video generation framework and large language model architecture designed for synthesizing… nvlabs/sana — Sana is a framework for high-resolution image and video synthesis based on a linear diffusion transformer. It provides…