mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +08:00
Merge branch 'comfyanonymous:master' into feature/preview-latent
This commit is contained in:
commit
02bf3cb6f6
@ -628,6 +628,7 @@ def sample_dpmpp_2m_sde(model, x, sigmas, extra_args=None, callback=None, disabl
|
||||
if sigmas[i + 1] == 0:
|
||||
# Denoising step
|
||||
x = denoised
|
||||
h = None
|
||||
else:
|
||||
# DPM-Solver++(2M) SDE
|
||||
t, s = -sigmas[i].log(), -sigmas[i + 1].log()
|
||||
|
||||
@ -921,9 +921,8 @@ export class ComfyApp {
|
||||
this.graph.start();
|
||||
|
||||
function resizeCanvas() {
|
||||
canvasEl.width = canvasEl.offsetWidth * window.devicePixelRatio;
|
||||
canvasEl.height = canvasEl.offsetHeight * window.devicePixelRatio;
|
||||
canvasEl.getContext("2d").scale(window.devicePixelRatio, window.devicePixelRatio);
|
||||
canvasEl.width = canvasEl.offsetWidth;
|
||||
canvasEl.height = canvasEl.offsetHeight;
|
||||
canvas.draw(true, true);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user