Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ Set up your environment by following the original [Quick Start Guide](https://hu
|
|
25 |
from OmniGen import OmniGenPipeline, OmniGen
|
26 |
|
27 |
# pass the quantized model in the pipeline
|
28 |
-
model = OmniGen.from_pretrained('gryan/OmniGen-v1-fp16-bnb-4bit')
|
29 |
pipe = OmniGenPipeline.from_pretrained("Shitao/OmniGen-v1", model=model)
|
30 |
|
31 |
# proceed as normal!
|
|
|
25 |
from OmniGen import OmniGenPipeline, OmniGen
|
26 |
|
27 |
# pass the quantized model in the pipeline
|
28 |
+
model = OmniGen.from_pretrained('gryan/OmniGen-v1-fp16-bnb-4bit', dtype=torch.float16)
|
29 |
pipe = OmniGenPipeline.from_pretrained("Shitao/OmniGen-v1", model=model)
|
30 |
|
31 |
# proceed as normal!
|