mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-25 05:40:15 +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:
|
if sigmas[i + 1] == 0:
|
||||||
# Denoising step
|
# Denoising step
|
||||||
x = denoised
|
x = denoised
|
||||||
|
h = None
|
||||||
else:
|
else:
|
||||||
# DPM-Solver++(2M) SDE
|
# DPM-Solver++(2M) SDE
|
||||||
t, s = -sigmas[i].log(), -sigmas[i + 1].log()
|
t, s = -sigmas[i].log(), -sigmas[i + 1].log()
|
||||||
|
|||||||
@ -921,9 +921,8 @@ export class ComfyApp {
|
|||||||
this.graph.start();
|
this.graph.start();
|
||||||
|
|
||||||
function resizeCanvas() {
|
function resizeCanvas() {
|
||||||
canvasEl.width = canvasEl.offsetWidth * window.devicePixelRatio;
|
canvasEl.width = canvasEl.offsetWidth;
|
||||||
canvasEl.height = canvasEl.offsetHeight * window.devicePixelRatio;
|
canvasEl.height = canvasEl.offsetHeight;
|
||||||
canvasEl.getContext("2d").scale(window.devicePixelRatio, window.devicePixelRatio);
|
|
||||||
canvas.draw(true, true);
|
canvas.draw(true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user