rhfeiyang commited on
Commit
cf66859
1 Parent(s): 5d89dc0
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -354,7 +354,7 @@ def inference(network: LoRANetwork, tokenizer: CLIPTokenizer, text_encoder: CLIP
354
  latent_model_input = noise_scheduler.scale_model_input(latent_model_input, timestep=t).to(weight_dtype)
355
  # predict the noise residual
356
  with network:
357
- print(f"dtype: {latent_model_input.dtype}, {text_embedding.dtype}, t={t}")
358
  noise_pred = unet(latent_model_input, t , encoder_hidden_states=text_embedding).sample
359
 
360
  # perform guidance
 
354
  latent_model_input = noise_scheduler.scale_model_input(latent_model_input, timestep=t).to(weight_dtype)
355
  # predict the noise residual
356
  with network:
357
+ # print(f"dtype: {latent_model_input.dtype}, {text_embedding.dtype}, t={t}")
358
  noise_pred = unet(latent_model_input, t , encoder_hidden_states=text_embedding).sample
359
 
360
  # perform guidance