Spaces:
Runtime error
Runtime error
Update min_dalle/min_dalle.py
Browse files- 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 |
-
|
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:
|