jimmycarter commited on
Commit
b8de496
·
verified ·
1 Parent(s): aa06741

Upload pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -2
pipeline.py CHANGED
@@ -1614,14 +1614,14 @@ class CustomPipeline(DiffusionPipeline, SD3LoraLoaderMixin):
1614
  if guidance_scale_real > 1.0 and i >= no_cfg_until_timestep:
1615
  progress_bar.set_postfix(
1616
  {
1617
- 'ts': timestep.detach().item() / 1000,
1618
  'cfg': self._guidance_scale_real,
1619
  },
1620
  )
1621
  else:
1622
  progress_bar.set_postfix(
1623
  {
1624
- 'ts': timestep.detach().item() / 1000,
1625
  'cfg': 'N/A',
1626
  },
1627
  )
 
1614
  if guidance_scale_real > 1.0 and i >= no_cfg_until_timestep:
1615
  progress_bar.set_postfix(
1616
  {
1617
+ 'ts': t / 1000.0,
1618
  'cfg': self._guidance_scale_real,
1619
  },
1620
  )
1621
  else:
1622
  progress_bar.set_postfix(
1623
  {
1624
+ 'ts': t / 1000.0,
1625
  'cfg': 'N/A',
1626
  },
1627
  )