awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
apple avatar

apple/ml-stable-diffusion

0
View on GitHub↗
17,901 星标·1,057 分支·Python·MIT·10 次浏览

Ml Stable Diffusion

This project is a framework for running Stable Diffusion image generation models on Apple Silicon using Core ML hardware acceleration. It provides a local generative AI pipeline for producing images from text prompts using Swift and Python without relying on external cloud APIs.

The system includes a model converter to transform deep learning checkpoints into Core ML formats and a model optimizer to quantize weights and activations. It features a ControlNet integration layer to guide image generation using external signals such as edge and depth maps.

Capabilities cover text-to-image generation with multilingual text encoding and image safety verification. Performance is managed through weight compression, palettization, and model splitting to fit within hardware memory constraints, while compute planning and quantization are used to reduce prediction latency.

The implementation provides native interfaces for both Python and Swift to integrate generative pipelines into macOS and iOS applications.

Features

  • Text-to-Image Generators - Provides a local generative AI pipeline for producing high-resolution images from text prompts on Apple Silicon.
  • Image Generation - Produces high-quality images from text prompts using local hardware acceleration on Apple Silicon.
  • Apple Hardware Acceleration - Offloads image generation inference to Apple's neural engine and hardware-optimized formats for high efficiency.
  • Diffusion Models - Implements Stable Diffusion image generation optimized for Apple Silicon via Core ML.
  • Guided Generation Layers - Implements a ControlNet integration layer to guide image generation using edge and depth maps.
  • Composition-Controlled Generators - Guides and constrains visual output using ControlNet with edge and depth maps.
  • Local AI Runtimes - Provides a complete local pipeline for text-to-image generation without cloud API dependencies.
  • Model Conversion Pipelines - Transforms deep learning checkpoints into specialized Core ML formats for optimized execution on Apple hardware.
  • Model Optimization Suites - Provides a suite of tools for quantizing weights and activations to reduce NPU latency.
  • On-Device Inference Engines - Optimizes on-device inference speed and memory usage via weight and activation compression.
  • Weight Quantization - Reduces model size using palettization and quantization to lower memory usage and improve mobile latency.
  • AI Application Frameworks - Provides dedicated libraries for integrating generative image pipelines into native macOS and iOS applications.
  • Sequential Model Splitting - Divides large generative models into sequential chunks to operate within Apple hardware memory constraints.
  • Hardware Compute Planning - Estimates execution costs and identifies target hardware devices for specific model operations to predict performance.
  • Inference Latency Optimizers - Configures specific hardware compute units and optimization hints to lower response times for model predictions.
  • Hardware Memory Splitting - Divides large models into smaller chunks to fit within Apple Silicon hardware memory limits.
  • Hardware Acceleration - Estimates execution costs and assigns operations to neural processing units for maximum performance.
  • Model Format Converters - Converts deep learning checkpoints into Core ML formats for deployment on Mac and iOS.
  • Model Loading Utilities - Loads pre-compiled model data and memory-mapped weights to decrease startup time for large generative models.
  • Diffusion Process Conditioners - Implements mechanisms to constrain and direct the visual output of the diffusion process using additional input models.
  • Activation Quantization - Lowers memory usage by estimating activation ranges from calibration data to apply precision reduction.
  • Quantized Inference Runtimes - Implements low-latency inference by utilizing lower precision formats for weights and activations.
  • Palettization - Reduces model memory footprint by mapping weights to a smaller set of representative values.
  • Multilingual Encodings - Uses system-level textual embeddings and projection layers to support image generation from diverse languages and scripts.
  • Dynamic Memory Allocation - Dynamically loads and unloads model resources during the generation process to reduce the system memory footprint.
  • Model Safety Filters - Includes a dedicated safety model to verify that generated images adhere to content safety guidelines.
  • Generative AI and LLM Tools - Optimized inference for diffusion models on Apple silicon hardware.

Star 历史

apple/ml-stable-diffusion 的 Star 历史图表apple/ml-stable-diffusion 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Ml Stable Diffusion 的开源替代方案

相似的开源项目,按与 Ml Stable Diffusion 的功能重合度排序。
  • sgl-project/sglangsgl-project 的头像

    sgl-project/sglang

    29,079在 GitHub 上查看↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Pythonattentionblackwellcuda
    在 GitHub 上查看↗29,079
  • pytorch/executorchpytorch 的头像

    pytorch/executorch

    4,296在 GitHub 上查看↗

    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,

    Pythondeep-learningembeddedgpu
    在 GitHub 上查看↗4,296
  • alibaba/mnnalibaba 的头像

    alibaba/MNN

    14,242在 GitHub 上查看↗

    MNN is a high-performance inference engine and framework designed for on-device machine learning. It provides a comprehensive environment for executing, optimizing, and deploying neural network models directly on mobile and resource-constrained edge devices. The framework distinguishes itself through a robust model optimization toolkit that supports quantization, compression, and structural graph manipulation to minimize memory footprint and maximize execution speed. It features a modular architecture that abstracts hardware-specific backends, allowing models to run efficiently across diverse

    C++armconvolutiondeep-learning
    在 GitHub 上查看↗14,242
  • black-forest-labs/fluxblack-forest-labs 的头像

    black-forest-labs/flux

    25,637在 GitHub 上查看↗

    Flux is a diffusion model inference engine designed for text-to-image generation and image-to-image manipulation. It provides a system for executing open-weight models to transform natural language descriptions into visual imagery or to modify existing images. The project distinguishes itself through a flow-matching framework for image generation and a structural image controller. This controller allows for guided synthesis by using depth maps and Canny edge detection to constrain the geometry and composition of the output. The toolkit covers a broad range of image editing capabilities, incl

    Python
    在 GitHub 上查看↗25,637
查看 Ml Stable Diffusion 的所有 30 个替代方案→

常见问题解答

apple/ml-stable-diffusion 是做什么的?

This project is a framework for running Stable Diffusion image generation models on Apple Silicon using Core ML hardware acceleration. It provides a local generative AI pipeline for producing images from text prompts using Swift and Python without relying on external cloud APIs.

apple/ml-stable-diffusion 的主要功能有哪些?

apple/ml-stable-diffusion 的主要功能包括:Text-to-Image Generators, Image Generation, Apple Hardware Acceleration, Diffusion Models, Guided Generation Layers, Composition-Controlled Generators, Local AI Runtimes, Model Conversion Pipelines。

apple/ml-stable-diffusion 有哪些开源替代品?

apple/ml-stable-diffusion 的开源替代品包括: sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… pytorch/executorch — ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It… alibaba/mnn — MNN is a high-performance inference engine and framework designed for on-device machine learning. It provides a… black-forest-labs/flux — Flux is a diffusion model inference engine designed for text-to-image generation and image-to-image manipulation. It… qwenlm/qwen-image — Qwen-Image is a text-to-image model and large language model image generation framework. It functions as an AI image… stability-ai/generative-models — This is a framework for training and sampling diffusion models to generate high-fidelity images, video, and 4D assets.…