Downloads · 30 days
0
AMD-PAVS-AI/raft-stereo
raft-stereo is a depth estimation model from AMD-PAVS-AI. Use it for the depth estimation task on the model card, and read the license before you ship it in a product. It is set up for onnxruntime. The card lists the license as bsd-3-clause.
Downloads · 30 days
0
Access
Public
Updated Aug 4, 2026
Repo size
951 KB
Likes
0
Public
Click a slice to open those files.
.png951 KB · 99%
From the Hugging Face model README

RAFT-Stereo (Princeton VL) estimates dense per-pixel disparity from a rectified stereo image pair using multilevel recurrent field transforms. This repository packages evaluation/inference for stereo disparity estimation using ONNX Runtime, exported and validated for AMD ROCm so it runs efficiently on AMD GPUs and CPUs, as well as AMD Ryzen AI NPUs.
This is based on the implementation of RAFT-Stereo found here. This repository contains configurations and scripts optimized for AMD® ROCm™ platforms. You can use the RAFT-Stereo AMD scripts to reproduce results or export with custom configurations.
Task: Stereo disparity estimation
Dataset: Middlebury MiddEval3 (F/H/Q splits), ETH3D two-view training set, KITTI 2012/2015 stereo, and FlyingThings3D (SceneFlow)
Output metrics: EPE (End-Point Error, px), D1-error (%)
ONNX Runtime note: CPU runs FP32 only. GPU supports FP32/FP16/INT8 individually or all at once via the MIGraphX execution provider. NPU has no precision knob (Vitis AI compiles the graph as-is); instead it offers a smoke graph (few unrolled GRU iterations, compiles in minutes) vs. the full graph (32 iterations, Vitis AI compilation can take hours).
This model export has been adapted and validated for AMD Instinct™ / Radeon™ GPUs running ROCm, as well as AMD CPUs and AMD Ryzen AI NPUs. Key points:
7.x for the MIGraphX execution provider.| Runtime | Precision | Backend | Hardware | Notes |
|---|---|---|---|---|
| ONNX Runtime | FP32 | CPU EP | AMD CPU | Only precision supported on CPU |
| ONNX Runtime | FP32 / FP16 / INT8 | MIGraphX EP | AMD GPU (e.g. gfx11xx) | Precisions run individually or all at once |
| ONNX Runtime | N/A (compiled as-is) | Vitis AI EP | AMD Ryzen AI NPU | Smoke graph (fast compile) vs. full graph (32 iterations, long compile) |
For setup instructions, evaluation scripts, and custom configuration options, see the RAFT-Stereo on GitHub.
Model Type: Stereo disparity estimation (multilevel recurrent field transform network)
Model Stats:
MODEL_SIZE variants — single architecture[1, 3, 384, 512] input resolution (configurable via --height/--width, or --dynamic for variable axes)Accuracy evaluation is not yet implemented for this model.
Want to explore the full evaluation scripts, config options, and other AMD-optimized model examples?
📂 View the full project on GitHub
The GitHub repository includes: