kuprel / min-dalle

min(DALL·E) is a fast, minimal port of DALL·E Mini to PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something after 3e64e86 doubled image generation time

w4ffl35 opened this issue · comments

still digging into it, but something after commit 3e64e86 doubled image generation time again. will update with more info if i can find it

I was finally able to start debugging this, first update:

  • 3e64e86: average generation time per image was approx. 3 seconds
  • ...: the commits after this one are broken until...
  • b913b58: average generation time at this commit per image jumps to approx 6 seconds
  • HEAD: average generation time remains approx 6 seconds

I'm performing tests with flags mega False and is_reusable False at all times

will do a diff between 3e64e86 and b913b58 later today to try and determine what caused the generation to slow down

I'm guessing its related to #39

#39 (comment)

ok wow... this only applies if you're not using is_reusuable... 🥇 this is what i get for multitasking.

future programmer, learn from my pain: just turn that bool on and your images will generate in half the time when used in a loop