Update README.md
Browse files
README.md
CHANGED
@@ -8,9 +8,12 @@ tags:
|
|
8 |
---
|
9 |
|
10 |
|
11 |
-
This repo contains bitsandbytes 4bit-NF4 model weights for [OmniGen-v1](https://huggingface.co/Shitao/OmniGen-v1).
|
|
|
|
|
|
|
|
|
12 |
|
13 |
-
See the [original model card](https://huggingface.co/Shitao/OmniGen-v1) for more info.
|
14 |
|
15 |
## Usage
|
16 |
Set up your environment by following the original [Quick Start Guide](https://huggingface.co/Shitao/OmniGen-v1#5-quick-start) before getting started.
|
@@ -22,7 +25,7 @@ Set up your environment by following the original [Quick Start Guide](https://hu
|
|
22 |
from OmniGen import OmniGenPipeline, OmniGen
|
23 |
|
24 |
# pass the quantized model in the pipeline
|
25 |
-
model = OmniGen.from_pretrained('gryan/OmniGen-v1-bnb-
|
26 |
pipe = OmniGenPipeline.from_pretrained("Shitao/OmniGen-v1", model=model)
|
27 |
|
28 |
# proceed as normal!
|
|
|
8 |
---
|
9 |
|
10 |
|
11 |
+
This repo contains bitsandbytes 4bit-NF4 model weights for [OmniGen-v1](https://huggingface.co/Shitao/OmniGen-v1). For info about OmniGen see the [original model card](https://huggingface.co/Shitao/OmniGen-v1).
|
12 |
+
|
13 |
+
|
14 |
+
- 8-bit weights: [gryan/OmniGen-v1-bnb-8bit](https://huggingface.co/gryan/OmniGen-v1-bnb-8bit)
|
15 |
+
|
16 |
|
|
|
17 |
|
18 |
## Usage
|
19 |
Set up your environment by following the original [Quick Start Guide](https://huggingface.co/Shitao/OmniGen-v1#5-quick-start) before getting started.
|
|
|
25 |
from OmniGen import OmniGenPipeline, OmniGen
|
26 |
|
27 |
# pass the quantized model in the pipeline
|
28 |
+
model = OmniGen.from_pretrained('gryan/OmniGen-v1-bnb-4bit')
|
29 |
pipe = OmniGenPipeline.from_pretrained("Shitao/OmniGen-v1", model=model)
|
30 |
|
31 |
# proceed as normal!
|