Instructions to use yuewu/chemical-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yuewu/chemical-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yuewu/chemical-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "A New Family of Hybrid Perovskites Based on the Hypophosphite Ligand" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add Diffusers weights
#1
by yuewu - opened
Add Diffusers weights converted from checkpoint last-000001.ckpt in revision 321b909435a128717c257139ce1e6d49073119bb
yuewu changed pull request status to closed