manbeast3b commited on
Commit
bbfbefd
·
verified ·
1 Parent(s): 25d2078

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -2
src/pipeline.py CHANGED
@@ -190,7 +190,6 @@ class FluxSingleTransformerBlock(nn.Module):
190
  tinfo: Dict[str, Any] = None,
191
  ):
192
  if tinfo is not None:
193
- print("its working ")
194
  m_a, m_c, mom, u_a, u_c, u_m = calcular_fusion(hidden_states, tinfo)
195
  else:
196
  m_a, m_c, mom, u_a, u_c, u_m = (ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada)
@@ -370,7 +369,7 @@ class FluxTransformer2DModel(ModelMixin, ConfigMixin, PeftAdapterMixin, FromOrig
370
 
371
  self.norm_out = AdaLayerNormContinuous(self.inner_dim, self.inner_dim, elementwise_affine=False, eps=1e-6)
372
  self.proj_out = nn.Linear(self.inner_dim, patch_size * patch_size * self.out_channels, bias=True)
373
- ratio: float = 0.5
374
  down: int = 1
375
  sx: int = 4
376
  sy: int = 4
 
190
  tinfo: Dict[str, Any] = None,
191
  ):
192
  if tinfo is not None:
 
193
  m_a, m_c, mom, u_a, u_c, u_m = calcular_fusion(hidden_states, tinfo)
194
  else:
195
  m_a, m_c, mom, u_a, u_c, u_m = (ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada, ghanta.hacer_nada)
 
369
 
370
  self.norm_out = AdaLayerNormContinuous(self.inner_dim, self.inner_dim, elementwise_affine=False, eps=1e-6)
371
  self.proj_out = nn.Linear(self.inner_dim, patch_size * patch_size * self.out_channels, bias=True)
372
+ ratio: float = 0.3
373
  down: int = 1
374
  sx: int = 4
375
  sy: int = 4