We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6288a5 commit d413881Copy full SHA for d413881
docs/source/en/quantization/gguf.md
@@ -45,12 +45,11 @@ transformer = FluxTransformer2DModel.from_single_file(
45
pipe = FluxPipeline.from_pretrained(
46
"black-forest-labs/FLUX.1-dev",
47
transformer=transformer,
48
- generator=torch.manual_seed(0),
49
torch_dtype=torch.bfloat16,
50
)
51
pipe.enable_model_cpu_offload()
52
prompt = "A cat holding a sign that says hello world"
53
-image = pipe(prompt).images[0]
+image = pipe(prompt, generator=torch.manual_seed(0)).images[0]
54
image.save("flux-gguf.png")
55
```
56
0 commit comments