Views
No views yet
ema/model.safetensors - EMA model weights (recommended for inference)config.json - Model configurationpytorch_model/ - DeepSpeed distributed training checkpoint
bf16_zero_pp_rank_*_optim_states.pt - Optimizer states (ZeRO Stage 2)mp_rank_00_model_states.pt - Model statesscheduler.bin - Learning rate scheduler staterandom_states_*.pkl - Random number generator stateszero_to_fp32.py - Utility to convert DeepSpeed checkpoint to FP321from transformers import AutoModel
2import torch
3
4# Load the EMA model for inference
5model = AutoModel.from_pretrained(
6 "TJ-chen/RDT-1B-LIBERO-Object",
7 subfolder="ema",
8 trust_remote_code=True
9)
10model.eval()1# The checkpoint can be loaded with DeepSpeed ZeRO Stage 2
2# Make sure your training script is configured with the same DeepSpeed settings1@article{rdt2024,
2 title={Residual Diffusion Transformer for Robotic Manipulation},
3 author={Your Name},
4 journal={arXiv preprint},
5 year={2024}
6}