diffusers-ascend-pipeline

diffusers-ascend-pipeline is a skill for Claude Code from ascend-ai-coding/awesome-ascend-skills. It costs 134 tokens per session (4,628 once invoked), scanned A, original, no licence file.

A guide for running image and video generation pipelines on Huawei Ascend NPUs with the Diffusers library. Diffusers is a software library for using generative models, and the guide covers model pipelines, memory settings, LoRA adapters, and multi-card inference.

In plain words
What is it for?
Running models such as FLUX, SDXL, Wan, and CogVideoX, loading or combining LoRA adapters, reducing memory use, and checking inference parameters or API paths.
Why use it?
It helps developers adapt these models to Ascend hardware and diagnose problems with pipeline settings or library APIs. It also addresses memory limits during inference.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the diffusers-ascend-skills plugin — 3 skills shipped together , and of ascend-inference

Good fit Running models such as FLUX, SDXL, Wan, and CogVideoX, loading or combining LoRA adapters, reducing memory use, and checking inference parameters or API paths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ascend-ai-coding/awesome-ascend-skills --skill diffusers-ascend-pipeline
Clone the repo
git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills

Made for: Claude Code.

Or install diffusers-ascend-skills, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diffusers-ascend-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline/github.svg)](https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline)
Your own site
<a href="https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline"><img src="https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diffusers-ascend-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline"><img src="https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/diffusers-ascend-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,628 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.04628
Opus 5 $0.00067 $0.02314
Sonnet 5 $0.00027 $0.00926
Haiku 4.5 $0.00013 $0.00463

Measured 4d ago against content hash 7d1f0d07495d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

diffusers-ascend-pipeline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/benchmark_pipeline.py, scripts/run_context_parallel.py, scripts/run_pipeline.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/inference/diffusers-ascend/diffusers-ascend-pipeline/SKILL.md · 489 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 489 lines · 134 tokens per session scan A 7d1f0d07495d

Subscribe to this mod's changes

diffusers-ascend-pipeline is a skill published in the GitHub repository ascend-ai-coding/awesome-ascend-skills (167 stars, last pushed yesterday), with no licence file. It adds 134 tokens to every session and 4,628 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

together-ai-inference

Serverless inference, fine-tuning, embeddings, image generation, and batch processing on 200+ open-source models via an OpenAI-compatible API. Use when you need fast, cost-effective access to open-source LLMs without managing infrastructure.

synthetic-sciences/openscience · 55 tokens

fal

Use when calling a fal.ai endpoint by id to generate image, audio, or video from JS/Python/curl: subscribe vs submit, queue states, ED25519 webhook signature verification, per-call cost, or migrating off @fal-ai/serverless-client. NOT which model or art direction (that is ai-media); NOT the same models on another…

ericrisco/rsc-harness · 78 tokens

peft-fine-tuning

Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when fine-tuning large models (7B-70B) with limited GPU memory, when you need to train <1% of parameters with minimal accuracy loss, or for multi-adapter serving. HuggingFace's official library integrated with transformers ecosystem.

davila7/claude-code-templates · 82 tokens

stable-diffusion-image-generation

State-of-the-art text-to-image generation with Stable Diffusion models via HuggingFace Diffusers. Use when generating images from text prompts, performing image-to-image translation, inpainting, or building custom diffusion pipelines.

davila7/claude-code-templates · 50 tokens

civitai-mcp-ultimate

Ultimate MCP server for Civitai — search models, browse top images with prompts, download LoRAs/Checkpoints, analyze trends. Use when user asks about AI models, LoRAs, checkpoints, Stable Diffusion, Flux, image generation prompts, or Civitai.

timoncool/civitai-mcp-ultimate · 65 tokens

Prompt craft for ComfyUI generation

Use when writing prompts for ComfyUI image or video models: choosing tags vs literary format, fixing composition and anatomy artifacts, picking samplers per LoRA, and writing short movement prompts for video. Neutral examples only.

howdeploy/deploychan_mcp · 52 tokens