Instructions to use PYY2001/BizGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PYY2001/BizGen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PYY2001/BizGen", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Facing issues in trying to run it locally
#3
by Shrey00 - opened
- First error was about setting weights_only being default to True, so I set it to False.
torch.load(osp.join(config.byt5_ckpt_dir, BYT5_BASE_CKPT_NAME), map_location='cpu', weights_only=False)at line 162 - Second was this -
You are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.
Can you please help me out with this?