mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-29 09:07:10 +00:00
Full Finetune should work with this adapter removed the residual_x
This commit is contained in:
@@ -119,6 +119,10 @@ def conditioned_forward_pass(
|
||||
# encoder_hidden_states=prompt_embeds,
|
||||
# timestep=timesteps,
|
||||
# encoder_attention_mask=prompt_attention_mask,
|
||||
|
||||
if noisy_latents_residual == None:
|
||||
print("Residual Not included in the calculation.")
|
||||
|
||||
denoised_latents = transformer(
|
||||
hidden_states=noisy_latents,
|
||||
encoder_hidden_states=prompt_embeds,
|
||||
|
||||
Reference in New Issue
Block a user