Upload README.md
Browse files
README.md
CHANGED
@@ -8,6 +8,7 @@ base_model:
|
|
8 |
pipeline_tag: text-to-image
|
9 |
---
|
10 |
Credits: eramth
|
|
|
11 |
The Flux model with 4bit transformer and T5 encoder.
|
12 |
|
13 |
<!--
|
@@ -20,7 +21,7 @@ The Flux model with 4bit transformer and T5 encoder.
|
|
20 |
```python
|
21 |
from diffusers import FluxPipeline
|
22 |
import torch
|
23 |
-
pipe = FluxPipeline.from_pretrained("
|
24 |
|
25 |
pipe_kwargs = {
|
26 |
"prompt": "A cat holding a sign that says hello world",
|
|
|
8 |
pipeline_tag: text-to-image
|
9 |
---
|
10 |
Credits: eramth
|
11 |
+
|
12 |
The Flux model with 4bit transformer and T5 encoder.
|
13 |
|
14 |
<!--
|
|
|
21 |
```python
|
22 |
from diffusers import FluxPipeline
|
23 |
import torch
|
24 |
+
pipe = FluxPipeline.from_pretrained("newgenai79/flux-4bit",torch_dtype=torch.float16).to("cuda:1")
|
25 |
|
26 |
pipe_kwargs = {
|
27 |
"prompt": "A cat holding a sign that says hello world",
|