Diffusers
Safetensors
English
RFD4ProteinaPipeline
biology
protein-design
biomolecular-design
structure-generation
flow-matching
annotated-cif
Instructions to use nvidia/RFD4-Proteina-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nvidia/RFD4-Proteina-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nvidia/RFD4-Proteina-Diffusers", 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
Split the scheduler per modality, move recycle_depths to the pipeline config, rename feature-embedding keys
5db5138 verified Download model_index.json from nvidia/RFD4-Proteina-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 817 Bytes
-
https://huggingface.co/nvidia/RFD4-Proteina-Diffusers/resolve/main/model_index.json
- Command line
-
hf download hf://nvidia/RFD4-Proteina-Diffusers/model_index.json
-
curl -L -o model_index.json https://huggingface.co/nvidia/RFD4-Proteina-Diffusers/resolve/main/model_index.json
817 Bytes
| { | |
| "_class_name": "RFD4ProteinaPipeline", | |
| "_diffusers_version": "0.42.0.dev0", | |
| "bb_ca_scheduler": [ | |
| "diffusers", | |
| "RFD4ProteinaScheduler" | |
| ], | |
| "local_latents_scheduler": [ | |
| "diffusers", | |
| "RFD4ProteinaScheduler" | |
| ], | |
| "recycle_depths": [ | |
| 6, | |
| 6, | |
| 6, | |
| 6, | |
| 6, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 5, | |
| 4, | |
| 4, | |
| 4, | |
| 4, | |
| 4, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 3, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 2, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| "transformer": [ | |
| "diffusers", | |
| "RFD4ProteinaTransformer" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "RFD4ProteinaAutoencoder" | |
| ] | |
| } | |