MCPcopy Create free account
hub / github.com/alibaba/MNN / run

Method run

transformers/diffusion/engine/src/sana_diffusion.cpp:288–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 bool SanaDiffusion::run(const std::string prompt, const std::string imagePath, int iterNum, int randomSeed, std::function<void(int)> progressCallback) {
289 return true;
290 }
291 // 核心推理流程
292 // 输入:LLM特征(来自Qwen3-0.6B) -> Connector -> Projector -> DiT去噪 -> VAE解码 -> 输出图像
293 bool SanaDiffusion::run(const VARP input_embeds,

Callers

nothing calls this directly

Calls 15

_SplitFunction · 0.85
_ConcatFunction · 0.85
normalFunction · 0.85
_InputFunction · 0.85
_ConstFunction · 0.85
_ConvertFunction · 0.85
imwriteFunction · 0.85
fixMethod · 0.80
reverseFunction · 0.50
fillFunction · 0.50
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected