Instructions to use nvidia/RFD4-Proteina-prep with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nvidia/RFD4-Proteina-prep 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-prep", 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
Commit History
2 days ago
-
Install Diffusers from main, pin the current Diffusers weights, add wordmark and project page link
Verified signaturec99a272 -
Make run_examples.py run again against current Diffusers
`run_examples.py` takes a `--checkpoint` and runs against whatever Diffusers is installed, so it has to track the current pipeline API. It had stopped: * `pipe(features, ...)` passed the whole feature mapping positionally, where the first parameter is `padding_mask`. The same mistake was fixed in the README earlier; these scripts were missed. * `partial_t={"bb_ca": ..., "local_latents": ...}` is now two arguments, `partial_t_bb_ca` and `partial_t_local_latents`. * `coords_nm` is read by name, so it belongs with the arguments rather than in `conditioning_features`. Without it, partial diffusion and inverse folding raise "partial and inverse generation require clean coords_nm". A full run ignores it, so passing it always is correct for every task. The README's own `required` list had the same hole, and is corrected with it. * `TASKS` listed `antibody_design` and `nanobody`, whose inputs this repository does not ship -- the manifest lists them under `excluded` -- so the d…0a34f04
3 days ago
-
Add modular CIF helper and non-antibody Studio input catalog
Verified signatureAdditive helper, pinned example runner and CPU tests. Existing preprocessing source, model weights and repository visibility are unchanged.5ab5b72
7 days ago
-
Add the annotated-CIF preparation and export package for the Diffusers RFD4-Proteina pipeline
Verified signatureceb0adf -
Add the annotated-CIF preparation and export package for the Diffusers RFD4-Proteina pipeline
Verified signature75b53c6