diffusers-ascend-pipeline

Community

Optimized Diffusers inference on Huawei Ascend NPU.

Authordongg622
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a comprehensive guide for running HuggingFace Diffusers pipeline inference efficiently on Huawei Ascend NPU hardware.

Core Features & Use Cases

  • Environment Prechecks: Validates software prerequisites, hardware readiness, and memory availability.
  • Optimized Inference Workflow: Supports environment setup, memory reduction techniques like attention slicing and VAE tiling, and multi-GPU deployment with distributed inference.
  • Use Case: Enables AI developers to deploy stable diffusion and other diffusion models on Ascend NPU with maximum efficiency and minimal manual configuration.

Quick Start

Run the diffusion model inference script specifying your model directory, prompt, and desired configurations to generate images on Ascend NPU.

Dependency Matrix

Required Modules

torchtorch_npudiffuserstransformersaccelerate

Components

referencesscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: diffusers-ascend-pipeline
Download link: https://github.com/dongg622/china-ai-chip-skill/archive/main.zip#diffusers-ascend-pipeline

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.