You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some SD finetunes (and the official Stable Diffusion 2) use v-prediction because they observe that it's better
Currently, v-prediction models will export with Olive and run fine with the ONNX diffusers pipeline, but not here. This is "a castle" on one I exported
I tried modifying DpmPlusPlus2MScheduler::ApplyStep by modifying the predictedOriginalSample based off one of the diffusers implementations
auto predictedOriginalSample = output.BinaryOperation<float>(input, [currentSigma](float a, float b) {
float sigmaSquared = currentSigma * currentSigma;
return (a * (-currentSigma / sqrt(sigmaSquared + 1))) + (b / sqrt(sigmaSquared + 1));
});
If you could finish this (haven't figured out EulerAncestralScheduler) (I have everything here), it would greatly improve compatibility. I uploaded the model in case it's useful.
The text was updated successfully, but these errors were encountered:
Some SD finetunes (and the official Stable Diffusion 2) use v-prediction because they observe that it's better
Currently, v-prediction models will export with Olive and run fine with the ONNX diffusers pipeline, but not here. This is "a castle" on one I exported
I tried modifying
DpmPlusPlus2MScheduler::ApplyStep
by modifying thepredictedOriginalSample
based off one of the diffusers implementationsI could only make the result semi-coherentIn
DPMPlusPlus2MScheduler
, the formula from HF's euler discrete worksIf you could finish this
(haven't figured out(I have everything here), it would greatly improve compatibility. I uploaded the model in case it's useful.EulerAncestralScheduler
)The text was updated successfully, but these errors were encountered: