计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
score_sde_reverse_sampling【效率与协作】Run reduced reverse-time SDE, probability-flow, and predictor-corrector sampling updates for Score SDE.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when you need an executable reduced sampler that follows the Score SDE reverse-time mechanism. It consumes SDE drift/diffusion callbacks and a score function; it does not depend on the original paper repository.
Do not use this skill to claim full image generation quality. It is a compact sampler for validating reverse SDE and predictor-corrector mechanics.
T to eps.SamplerConfig.run_sampler with callbacks for drift, diffusion, and score.probability_flow=True for deterministic ODE-style updates.corrector_steps > 0 to add Langevin correction before each predictor step.Run:
python scripts/reverse_sampling.py --self-test
python tests/test_reverse_sampling.py
The tests check deterministic probability-flow behavior, finite stochastic updates, and corrector movement under a controlled score.
The sampler is intentionally low-dimensional and standard-library only. Full PC sampling for images requires neural model replicas, device mapping, denoising options, and dataset scalers outside this skill.