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
Avoid failing partial clone in pinned prep installation
Browse files
README.md
CHANGED
|
@@ -69,10 +69,15 @@ python -m pip install --upgrade "certifi>=2026.10.19"
|
|
| 69 |
|
| 70 |
# RFD4-Proteina was merged into Diffusers on 2026-10-20 and ships in the next release.
|
| 71 |
# Until that release, install Diffusers from git:
|
| 72 |
-
python -m pip install
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
```
|
| 77 |
|
| 78 |
If using alternative installers, use `uv>=0.13.4` or `pixi>=0.82.1` before downloads.
|
|
|
|
| 69 |
|
| 70 |
# RFD4-Proteina was merged into Diffusers on 2026-10-20 and ships in the next release.
|
| 71 |
# Until that release, install Diffusers from git:
|
| 72 |
+
python -m pip install huggingface_hub
|
| 73 |
+
hf download nvidia/RFD4-Proteina-prep \
|
| 74 |
+
--revision c9959efdebd75ac7fe9129fbbf0e291a6e0487d5 \
|
| 75 |
+
--local-dir rfd4-prep
|
| 76 |
+
python -m pip install ./rfd4-prep
|
| 77 |
+
python -m pip install git+https://github.com/huggingface/diffusers accelerate
|
| 78 |
+
|
| 79 |
+
# Once the release is out, replace the final command above with:
|
| 80 |
+
# python -m pip install diffusers accelerate
|
| 81 |
```
|
| 82 |
|
| 83 |
If using alternative installers, use `uv>=0.13.4` or `pixi>=0.82.1` before downloads.
|