Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hackable_diffusion/kdiff/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
Conditioning = hd_typing.Conditioning
DataTree = hd_typing.DataTree
LossOutput = hd_typing.LossOutput
PyTree = hd_typing.PyTree
TargetInfo = hd_typing.TargetInfo
TimeArray = hd_typing.TimeArray
typechecked = hd_typing.typechecked


################################################################################
# MARK: Diffusion
################################################################################
Expand Down Expand Up @@ -113,7 +113,7 @@ def __call__(
self,
x0: DataTree,
cond: Conditioning | None = None,
) -> dict[str, dict[str, Array] | Array]:
) -> dict[str, PyTree]:
"""Run the diffusion training step.

Samples timesteps, corrupts the input data according to the corruption
Expand Down
Loading