Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
"""Compare RF-DETR instance-segmentation outputs on same-shape COCO images.

This harness is used to reproduce the correctness table in the RF-DETR Triton
postprocess PR. It runs a baseline git ref with all RF-DETR fast paths disabled
and a candidate ref with only Triton RLE postprocess enabled, then compares
preprocess PR. It runs a baseline git ref with all RF-DETR fast paths disabled
and a candidate ref with Triton RLE postprocess and Triton preprocess enabled,
then compares
detection counts, classes, boxes, scores, and RLE masks.

Example:

env PARITY_MODEL_PATH=/path/to/rfdetr-seg-nano-orin-trt-package \
python development/stream_interface/rfdetr_coco_same_shape_parity.py \
--base-ref main \
--candidate-ref opt-python-postproc \
--candidate-ref opt-preprocess \
--height 480 \
--width 640 \
--image-count 1000
Expand Down Expand Up @@ -47,7 +48,7 @@
}
CANDIDATE_FLAGS_ON = {
"INFERENCE_MODELS_RFDETR_TRITON_POSTPROC_ENABLED": "true",
"INFERENCE_MODELS_RFDETR_TRITON_PREPROC_ENABLED": "false",
"INFERENCE_MODELS_RFDETR_TRITON_PREPROC_ENABLED": "true",
"RFDETR_PIPELINE_DEPTH": "1",
"ENABLE_AUTO_CUDA_GRAPHS_FOR_TRT_BACKEND": "false",
"RFDETR_NSIGHT_MARKERS": "false",
Expand Down
Loading