sts reduced flux max seq length to 128
This commit is contained in:
parent
2ca883bb77
commit
bae3e88d2e
@ -36,7 +36,7 @@ output = pipe(
|
||||
width=width,
|
||||
num_images_per_prompt=4,
|
||||
num_inference_steps=4,
|
||||
max_sequence_length=256,
|
||||
max_sequence_length=128,
|
||||
guidance_scale=0.0,
|
||||
)
|
||||
print('Max mem allocated (GB) while denoising:', torch.cuda.max_memory_allocated() / (1024 ** 3))
|
||||
|
Loading…
Reference in New Issue
Block a user