Progress

data class Progress(val phase: DiffusionPhase, val step: Int, val totalSteps: Int, val secondsPerStep: Float) : DiffusionEvent(source)

Progress of the running generation. step is 0 when a phase starts, then 1..totalSteps after each completed step. Cancellation takes effect at these step boundaries.

Constructors

Link copied to clipboard
constructor(phase: DiffusionPhase, step: Int, totalSteps: Int, secondsPerStep: Float)

Properties

Link copied to clipboard

the part of the generation being reported.

Link copied to clipboard

stable-diffusion.cpp's timing estimate (0 when unknown).

Link copied to clipboard
val step: Int

completed steps of phase, 0..totalSteps.

Link copied to clipboard

number of steps of phase.