Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ pip install -U bitsandbytes
|
|
| 16 |
After installing the required library, you can run the following script:
|
| 17 |
|
| 18 |
```python
|
| 19 |
-
from diffusers import
|
| 20 |
|
| 21 |
pipe = FluxPipeline.from_pretrained(
|
| 22 |
"diffusers/FLUX.1-dev-bnb-4bit",
|
|
@@ -50,7 +50,7 @@ This checkpoint was created with the following script using "black-forest-labs/F
|
|
| 50 |
```python
|
| 51 |
|
| 52 |
import torch
|
| 53 |
-
from diffusers import
|
| 54 |
from diffusers import BitsAndBytesConfig as DiffusersBitsAndBytesConfig
|
| 55 |
from diffusers.quantizers import PipelineQuantizationConfig
|
| 56 |
from transformers import BitsAndBytesConfig as TransformersBitsAndBytesConfig
|
|
|
|
| 16 |
After installing the required library, you can run the following script:
|
| 17 |
|
| 18 |
```python
|
| 19 |
+
from diffusers import FluxPipeline
|
| 20 |
|
| 21 |
pipe = FluxPipeline.from_pretrained(
|
| 22 |
"diffusers/FLUX.1-dev-bnb-4bit",
|
|
|
|
| 50 |
```python
|
| 51 |
|
| 52 |
import torch
|
| 53 |
+
from diffusers import FluxPipeline
|
| 54 |
from diffusers import BitsAndBytesConfig as DiffusersBitsAndBytesConfig
|
| 55 |
from diffusers.quantizers import PipelineQuantizationConfig
|
| 56 |
from transformers import BitsAndBytesConfig as TransformersBitsAndBytesConfig
|