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 provenance.json from nvidia/RFD4-Proteina-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 791 Bytes
-
https://huggingface.co/nvidia/RFD4-Proteina-Diffusers/resolve/main/provenance.json
- Command line
-
hf download hf://nvidia/RFD4-Proteina-Diffusers/provenance.json
-
curl -L -o provenance.json https://huggingface.co/nvidia/RFD4-Proteina-Diffusers/resolve/main/provenance.json
791 Bytes
| { | |
| "source_model": "nvidia/RFD4-Proteina", | |
| "source_format_version": 1, | |
| "source_bundle_revision": null, | |
| "source_weights_sha256": "5b549dd61adb2f6c6b5cb95bda13f40f5e31556b4e6c755edc0ca6f011c68fb0", | |
| "source_config_sha256": "154ea927ab8005b7eac2d047a792147fb4606ab4878e496aa8414b6b40dad368", | |
| "weights": "EMA, float32; the fused query/key/value projections are split and a few modules renamed, every other tensor is unchanged", | |
| "sampler_recipe": "thinking_medium", | |
| "num_inference_steps": 60, | |
| "residue_vocabulary_size": 147, | |
| "token_type_vocabulary_size": 7, | |
| "atom37_mask_sha256": "31670c6a6b5e89b97fcd0c09a24f074faa5460d9bc43deee6d59a9e1f22ef34e", | |
| "path_length_search_cutoff": 64, | |
| "converted_with": "diffusers 0.42.0.dev0, scripts/convert_rfd4_proteina_to_diffusers.py" | |
| } | |