Skip to content

Commit

Permalink
Remove comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Aug 9, 2024
1 parent e520ce9 commit 99abef5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions comfy/ldm/flux/controlnet_xlabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ def forward_orig(
return {"output": (controlnet_block_res_samples * 10)[:19]}

def forward(self, x, timesteps, context, y, guidance=None, hint=None, **kwargs):
# print(x.shape, timesteps.shape, context.shape, y.shape, guidance.shape, hint.shape)
# x = torch.zeros_like(x)
# timesteps = torch.zeros_like(timesteps)
# context = torch.zeros_like(context)
# y = torch.zeros_like(y)
# guidance = torch.zeros_like(guidance)
# hint = torch.zeros_like(hint)
hint = hint * 2.0 - 1.0

bs, c, h, w = x.shape
Expand Down

0 comments on commit 99abef5

Please sign in to comment.