Use Comfy model sigma in free-run comparator
This commit is contained in:
parent
4018fbea15
commit
2ef5d00270
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import torch
|
||||||
from h3_blackwell_runtime.checkpoint import H3Checkpoint
|
from h3_blackwell_runtime.checkpoint import H3Checkpoint
|
||||||
from h3_blackwell_runtime.denoiser import H3PackedDenoiser
|
from h3_blackwell_runtime.denoiser import H3PackedDenoiser
|
||||||
from h3_blackwell_runtime.packing import H3PromptPacker, unpatchify_video
|
from h3_blackwell_runtime.packing import H3PromptPacker, unpatchify_video
|
||||||
from h3_blackwell_runtime.sampler import _audio_sigma, _unpack_audio, res_multistep_update
|
from h3_blackwell_runtime.sampler import _audio_sigma, _model_sigma, _unpack_audio, res_multistep_update
|
||||||
from h3_blackwell_runtime.t2v import random_av_latents
|
from h3_blackwell_runtime.t2v import random_av_latents
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -51,7 +51,7 @@ for index, sigma in enumerate(sigmas[:-1]):
|
||||||
text,
|
text,
|
||||||
video,
|
video,
|
||||||
audio_carried.to(torch.bfloat16) * carry,
|
audio_carried.to(torch.bfloat16) * carry,
|
||||||
float(sigma),
|
_model_sigma(sigma),
|
||||||
model_timesteps,
|
model_timesteps,
|
||||||
)
|
)
|
||||||
hidden_delta = (hidden.float() - h3_input["hidden"].to("cuda").float()).abs()
|
hidden_delta = (hidden.float() - h3_input["hidden"].to("cuda").float()).abs()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue