yyk19 commited on
Commit
0fe31ac
1 Parent(s): cf74fcd

Not save memory

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def load_ckpt(model_ckpt = "LAION-Glyph-10M-Epoch-5"):
110
  allow_run_generation = False
111
  return output_str, None, allow_run_generation
112
 
113
- SAVE_MEMORY = True #False
114
  disable_verbosity()
115
  if SAVE_MEMORY:
116
  enable_sliced_attention()
 
110
  allow_run_generation = False
111
  return output_str, None, allow_run_generation
112
 
113
+ SAVE_MEMORY = False
114
  disable_verbosity()
115
  if SAVE_MEMORY:
116
  enable_sliced_attention()