gryan commited on
Commit
7446879
·
verified ·
1 Parent(s): 1549a78

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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!