Agent skill

Diffusers Ascend Pipeline

by ascend-ai-coding in ascend-ai-coding/awesome-ascend-skills

Diffusers Pipeline 推理指南,用于华为昇腾 NPU。覆盖环境预检、通用 Pipeline 推理(图像/视频模型)、内存优化(CPU offload、attention slicing、VAE slicing)、LoRA 加载与融合、多卡推理和按版本检索 Diffusers API。用户一旦提到在昇腾 NPU 上运行 FLUX、SDXL、Wan、CogVideoX 等…

No licenceAuto-check passedAI & LLM Engineering

Install Diffusers Ascend Pipeline

skills CLI
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill diffusers-ascend-pipeline -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ascend-ai-coding/awesome-ascend-skills diffusers-ascend-pipeline --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/inference/diffusers-ascend/diffusers-ascend-pipeline .claude/skills/diffusers-ascend-pipeline && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
diffusers-ascend-pipeline
GitHub stars
174
Token cost
~3.2k tokens
SKILL.md length
598 words
Files
10 (incl. scripts, references)
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

Diffusers Pipeline 推理指南,用于华为昇腾 NPU。覆盖环境预检、通用 Pipeline 推理(图像/视频模型)、内存优化(CPU offload、attention slicing、VAE slicing)、LoRA 加载与融合、多卡推理和按版本检索 Diffusers API。用户一旦提到在昇腾 NPU 上运行 FLUX、SDXL、Wan、CogVideoX 等…

  • Works in 7 steps: 预检 → 图像模型推理 → 视频模型推理 → …
  • Tasks that involve Diffusion and image models
  • SKILL.md covers 使用顺序, 前置要求, 快速开始 and 性能基准测试, plus 4 more sections
  • Runs Python scripts from its folder; calls python and pip; reaches huggingface.co and hf-mirror.com

What it does

Diffusers Ascend Pipeline is an agent skill from ascend-ai-coding/awesome-ascend-skills. Diffusers Pipeline 推理指南,用于华为昇腾 NPU。覆盖环境预检、通用 Pipeline 推理(图像/视频模型)、内存优化(CPU offload、attention slicing、VAE slicing)、LoRA 加载与融合、多卡推理和按版本检索 Diffusers API。用户一旦提到在昇腾 NPU 上运行 FLUX、SDXL、Wan、CogVideoX 等 Diffusers 推理,或需要排查推理参数、显存优化、LoRA 接入、Pipeline API 路径时,就应使用此 skill。

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `references/api-navigation.md`, `references/distributed-inference.md` and `references/lora-guide.md`).

It sits in AI & LLM Engineering, covering Diffusion and image models and Fine-tuning. It works with Stable Diffusion. The repository describes itself as: A comprehensive knowledge base for Huawei Ascend NPU development, structured as distributed Agent Skills. https://ascend-ai-coding.github.io/awesome-ascend-skills/.

When your agent uses it

  • Tasks that involve Diffusion and image models
  • Tasks that involve Fine-tuning

Example prompts

  • “Use the diffusers-ascend-pipeline skill to diffuser Pipeline 推理指南,用于华为昇腾 NPU。覆盖环境预检、通用 Pipeline 推理(图像/视频模型)、内存优化(CPU offload、attention slicing、VAE…”
  • “/diffusers-ascend-pipeline”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. 预检
  2. 图像模型推理
  3. 视频模型推理
  4. 内存优化
  5. LoRA 集成
  6. 多卡并行推理(Context Parallel)
  7. API 文档索引与按版本检索

What it can do on your machine

Read from SKILL.md and the folder at commit 62a4ecb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • huggingface.co
    • hf-mirror.com
    • github.com

    Also links to:

    • hiascend.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Diffusers Ascend Pipeline loads about 3.2k tokens when it runs, and up to ~8.4k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 598 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 598 words (~3,186 tokens).

“本 Skill 指导用户在华为昇腾 NPU 上运行 HuggingFace Diffusers Pipeline 推理,适用于任意 Diffusers 模型。”

— opening of SKILL.md by ascend-ai-coding
name
diffusers-ascend-pipeline
keywords
diffusers, pipeline, inference, npu, image-generation, video-generation, lora, memory-optimization, flux, sdxl, wan, cogvideox

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references) in skills/inference/diffusers-ascend/diffusers-ascend-pipeline of ascend-ai-coding/awesome-ascend-skills.

  • SKILL.md
  • references/api-navigation.md
  • references/distributed-inference.md
  • references/lora-guide.md
  • references/memory-optimization.md
  • references/troubleshooting.md
  • scripts/benchmark_pipeline.py
  • scripts/run_context_parallel.py
  • scripts/run_pipeline.py
  • scripts/validate_pipeline.py

Open the folder on GitHubat commit 62a4ecb

Compare with similar skills

Diffusers Ascend Pipeline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Diffusers Ascend Pipeline compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Diffusers Ascend Pipeline this skillascend-ai-coding/awesome-ascend-skills174—~3.2kAutomated safety check: PassNone
Model Compatibilityartokun/comfyui-mcp793—~4kAutomated safety check: PassMIT
Automatic1111majiayu000/claude-skill-registry6661 repos~1.6kAutomated safety check: PassApache-2.0
Castguaardvark/guaardvark251—~673Automated safety check: PassMIT
Workflow Template BuilderMooshieblob1/MooshieUI207—~640Automated safety check: PassAGPL-3.0
Model Registryartokun/comfyui-mcp793—~2.1kAutomated safety check: PassMIT

Similar skills

  • Model Compatibility

    artokun/comfyui-mcp

    Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models

    793 GitHub stars~4k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Automatic1111

    majiayu000/claude-skill-registry

    Feature-rich Stable Diffusion Web UI for image generation. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 1 repo~1.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Cast

    guaardvark/guaardvark

    Build consistent characters, environments and props in Guaardvark's Cast Library and train LoRAs for them locally (reference photos → vision bible → sample plan → approved samples → training).

    251 GitHub stars~673 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Workflow Template Builder

    Mooshieblob1/MooshieUI

    Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

    207 GitHub stars~640 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Model Registry

    artokun/comfyui-mcp

    Curated download URLs and target directories, organized by family (Flux, WAN, LTX, Qwen, Z-Image, SD15/SDXL), for every model the comfyui-mcp skills reference, covering checkpoints, VAEs, text…

    793 GitHub stars~2.1k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Flux2 Lora Training

    AnastasiyaW/codex-claude-code-config

    Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks.

    154 GitHub stars~4.5k tokensUpdated 5 days ago
    AI & LLM EngineeringAuto-check passed

More from ascend-ai-coding/awesome-ascend-skills

All 69 skills in this repo
  • Ascend Dmi

    ascend-ai-coding/awesome-ascend-skills

    当用户需要对华为昇腾 NPU 进行硬件层面的管理、测试或诊断时使用此 skill。典型场景: - 查看 NPU 卡的状态、温度、利用率 - 测试内存带宽(h2d/d2h/d2d/p2p) - 跑算力/功耗基准测试(TFLOPS、TOPS) - 诊断 NPU 硬件故障或做健康检查 - 对 NPU 卡做压力测试(aicore、内存) - 复位/恢复卡住或异常的 NPU 卡 典型用户问题(即使不提…

    174 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Ascendc

    ascend-ai-coding/awesome-ascend-skills

    End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.

    174 GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Atc Model Converter

    ascend-ai-coding/awesome-ascend-skills

    Complete toolkit for Huawei Ascend NPU model conversion and end-to-end inference adaptation.

    174 GitHub stars~4.6k tokensUpdated yesterday
    Auto-check passed
  • External Cannbot Ops Pypto Op Develop

    ascend-ai-coding/awesome-ascend-skills

    当需要编写 PyPTO 算子实现时使用此 skill。基于需求规格、设计方案和参考实现,生成完整可运行的 PyPTO 算子实现与配套测试、文档。Triggers: 实现算子、写 kernel、编写实现、写 impl、算子编码、开始编码、code the op、写 test、生成测试、写实现代码、op develop、kernel 实现。

    174 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • External Gitcode Ascend Megatron Change Analyzer

    ascend-ai-coding/awesome-ascend-skills

    Analyze official Megatron-LM commits, PRs, and branch change sets to identify feature evolution, candidate breaking changes, and migration-relevant events.

    174 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • External Gitcode Ascend Megatron Commit Tracker

    ascend-ai-coding/awesome-ascend-skills

    Track and normalize change requests against the official Megatron-LM repository by branch, PR, commit, commit range, or time window.

    174 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed

Questions about Diffusers Ascend Pipeline

What does Diffusers Ascend Pipeline do?

Diffusers Pipeline 推理指南,用于华为昇腾 NPU。覆盖环境预检、通用 Pipeline 推理(图像/视频模型)、内存优化(CPU offload、attention slicing、VAE slicing)、LoRA 加载与融合、多卡推理和按版本检索 Diffusers API。用户一旦提到在昇腾 NPU 上运行 FLUX、SDXL、Wan、CogVideoX 等…. Diffusers Ascend Pipeline is an agent skill from ascend-ai-coding/awesome-ascend-skills.

When should I use Diffusers Ascend Pipeline?

Diffusers Ascend Pipeline fits situations like: tasks that involve Diffusion and image models; tasks that involve Fine-tuning.

How do I install Diffusers Ascend Pipeline in Claude Code?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill diffusers-ascend-pipeline -a claude-code`. Or copy the skill folder (skills/inference/diffusers-ascend/diffusers-ascend-pipeline in ascend-ai-coding/awesome-ascend-skills) into .claude/skills/diffusers-ascend-pipeline in your project. Claude Code loads it when a task matches its description.

How do I install Diffusers Ascend Pipeline in Codex?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill diffusers-ascend-pipeline -a codex`. Or copy the skill folder (skills/inference/diffusers-ascend/diffusers-ascend-pipeline in ascend-ai-coding/awesome-ascend-skills) into .agents/skills/diffusers-ascend-pipeline in your project. Codex loads it when a task matches its description.

Can I use Diffusers Ascend Pipeline in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill diffusers-ascend-pipeline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diffusers-ascend-pipeline, .gemini/skills/diffusers-ascend-pipeline, .github/skills/diffusers-ascend-pipeline and .opencode/skills/diffusers-ascend-pipeline in your project.

What does Diffusers Ascend Pipeline need to run?

Going by SKILL.md and its folder, Diffusers Ascend Pipeline needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Diffusers Ascend Pipeline access the network?

SKILL.md names 4 domains. In commands or code: huggingface.co, hf-mirror.com and github.com; the agent is likely to contact these when it follows the instructions. As links in the text: hiascend.com. This is read from the text; nothing was executed.

Is Diffusers Ascend Pipeline safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Diffusers Ascend Pipeline use?

No licence was found for Diffusers Ascend Pipeline or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Diffusers Ascend Pipeline use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.2k tokens, read only when the agent opens those files.

What are the alternatives to Diffusers Ascend Pipeline?

Skills that share tags, products or a category with Diffusers Ascend Pipeline: Model Compatibility (artokun/comfyui-mcp, 793 stars), Automatic1111 (majiayu000/claude-skill-registry, 666 stars), Cast (guaardvark/guaardvark, 251 stars) and Workflow Template Builder (Mooshieblob1/MooshieUI, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Diffusers Ascend Pipeline?

ascend-ai-coding (a GitHub organization) maintains it in ascend-ai-coding/awesome-ascend-skills, which has 174 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 7, 2026.

Source: ascend-ai-coding/awesome-ascend-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.