JMalott commited on
Commit
27df13b
·
1 Parent(s): a5c89d0

Update min_dalle/min_dalle.py

Browse files
Files changed (1) hide show
  1. min_dalle/min_dalle.py +1 -1
min_dalle/min_dalle.py CHANGED
@@ -250,7 +250,7 @@ class MinDalle:
250
  prev_tokens=image_tokens[i],
251
  token_index=token_indices[[i]]
252
  )
253
- del attention_state
254
 
255
  with torch.cuda.amp.autocast(dtype=torch.float16):
256
  if ((i + 1) % 32 == 0 and progressive_outputs) or i + 1 == 256:
 
250
  prev_tokens=image_tokens[i],
251
  token_index=token_indices[[i]]
252
  )
253
+
254
 
255
  with torch.cuda.amp.autocast(dtype=torch.float16):
256
  if ((i + 1) % 32 == 0 and progressive_outputs) or i + 1 == 256: