Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
a153f58
Add implementation plan for honouring instance-segmentation tradeoff_…
MTaraszewski Oct 1, 2026
2fbc39b
Fix Mermaid diagram rendering in the tradeoff_factor plan
MTaraszewski Oct 1, 2026
f92889a
Pin mask output geometry and add polygon-to-image scaling
MTaraszewski Oct 1, 2026
a40c809
Add implementation plan and TDD sequence for mask resolution factor
MTaraszewski Oct 1, 2026
e693d3c
Untrack plan documents
MTaraszewski Oct 1, 2026
287e099
Add masks_resolution_factor to instance segmentation mask alignment
MTaraszewski Oct 2, 2026
65edbc9
Carry the mask grid size explicitly on segmentation predictions
MTaraszewski Oct 2, 2026
474b2a0
Apply repository Python style rules to mask post-processing helpers
MTaraszewski Oct 2, 2026
40a5d1f
Honour mask_decode_mode and tradeoff_factor on the inference_models path
MTaraszewski Oct 2, 2026
7379065
Honour masks_resolution_factor on the RLE path and across model families
MTaraszewski Oct 2, 2026
8d8a37d
Replace the tradeoff_factor plan with the implemented version
MTaraszewski Oct 2, 2026
9804b12
Add instance segmentation block @v5 that honours mask resolution
MTaraszewski Oct 2, 2026
550bbdc
Replace the max_detections hypothesis in the plan with its measurement
MTaraszewski Oct 2, 2026
302811c
Replace plan hypotheses with measurements
MTaraszewski Oct 2, 2026
4a41afd
Bring the plan in line with what was built
MTaraszewski Oct 2, 2026
59425d2
Address review: correct the reduced-resolution path end to end
MTaraszewski Oct 2, 2026
50c4b39
Document the resolution endpoints and their non-monotonic case
MTaraszewski Oct 2, 2026
722385e
Merge origin/main; pin only where the fields were discarded
MTaraszewski Oct 2, 2026
17e2bd2
Merge branch 'main' into feat/instance-seg-tradeoff-factor
PawelPeczek-Roboflow Oct 2, 2026
970e47f
Make the legacy pin conditional and document the configuration field
MTaraszewski Oct 2, 2026
71f8393
Merge branch 'feat/instance-seg-tradeoff-factor' of https://github.co…
MTaraszewski Oct 2, 2026
4e11c83
Restore changelog entries displaced by the 1.7.3 release merge
MTaraszewski Oct 2, 2026
265f991
Fix configuration coverage and checkout wheels in CI
MTaraszewski Oct 5, 2026
22352fe
Merge branch 'main' into codex/pr-3113-ci-fixes
PawelPeczek-Roboflow Oct 5, 2026
ca448e0
Fix mask coordinate frames and workflow compatibility
MTaraszewski Oct 6, 2026
3c30803
Restore RLE responses for remote v4 segmentation
MTaraszewski Oct 6, 2026
8d40815
Update workflows/roboflow_workflows/core_steps/models/roboflow/instan…
MTaraszewski Oct 6, 2026
70d4697
Update workflows/roboflow_workflows/configuration.py
MTaraszewski Oct 6, 2026
e6ad1df
Remove repeated mask-resolution comments
MTaraszewski Oct 6, 2026
1ada751
Fix crop mask canvases and expand segmentation coverage
MTaraszewski Oct 6, 2026
0a79113
Merge branch 'main' into codex/pr-3113-ci-fixes
MTaraszewski Oct 6, 2026
f5f39ab
Align segmentation tests with model suites
MTaraszewski Oct 7, 2026
711e980
Compare bounding rectangles by equivalent geometry
MTaraszewski Oct 7, 2026
12726fd
Merge main and retain upstream rectangle test fix
MTaraszewski Oct 7, 2026
a88776b
Test v5 segmentation with visualization blocks
MTaraszewski Oct 7, 2026
cc3de00
Merge branch 'main' into codex/pr-3113-ci-fixes
PawelPeczek-Roboflow Oct 7, 2026
6f61792
Make configurable mask grids opt-in and defer workflow v5 (#3149)
MTaraszewski Oct 9, 2026
48983fa
Merge main and clarify mask-resolution release notes
MTaraszewski Oct 9, 2026
db65bc1
Align opted-in segmentation geometry with the mask grid
MTaraszewski Oct 9, 2026
11ba7a1
Merge main into segmentation PR branch
MTaraszewski Oct 9, 2026
ed035a0
Support configurable RF-DETR Triton mask grids
dkosowski87 Oct 9, 2026
dfa5a12
Cover reduced-grid fallbacks and empty deferred results
dkosowski87 Oct 9, 2026
f233b66
Merge main and preserve segmentation release notes
MTaraszewski Oct 9, 2026
4f16a61
Merge remote-tracking branch 'origin/codex/pr-3113-ci-fixes' into cod…
dkosowski87 Oct 9, 2026
ff4a683
Preserve global class selection in sparse mask postprocessing
dkosowski87 Oct 9, 2026
3f0098d
Batch interpolation table packing for new mask grids
dkosowski87 Oct 9, 2026
a8a10f4
Apply global selection before filtering ignored classes
dkosowski87 Oct 9, 2026
4ed9edd
Assert the requested grid for empty Triton results
dkosowski87 Oct 9, 2026
484801f
Merge remote-tracking branch 'origin/main' into codex/rfdetr-triton-m…
dkosowski87 Oct 9, 2026
88f28e5
Read strided mask logits without copying every query
dkosowski87 Oct 9, 2026
eee4c2e
Cover strided 2XLarge mask postprocessing shapes
dkosowski87 Oct 9, 2026
5cfa385
Document mask-grid first-use compilation cost
dkosowski87 Oct 9, 2026
884260f
Align Triton box coordinates with the final mask grid
dkosowski87 Oct 9, 2026
afcae76
Construct immutable metadata in coordinate regression tests
dkosowski87 Oct 9, 2026
772da05
Merge remote-tracking branch 'origin/main' into codex/rfdetr-triton-m…
dkosowski87 Oct 9, 2026
a52a201
Merge branch 'main' into codex/rfdetr-triton-mask-tradeoff
dkosowski87 Oct 9, 2026
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
16 changes: 14 additions & 2 deletions docs/instance_segmentation_mask_resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,20 @@ the new opt-in flag.
Values from 0 to 1 interpolate model-grid and image-grid dimensions. A lower
factor does not always mean a smaller grid or faster execution. `accurate`
selects factor 1.0, `fast` selects 0.0, and only `tradeoff` reads `tradeoff_factor`.
Damian's Triton optimization is separate; factors other than 1.0 currently use
the fallback post-processor.
The RF-DETR Triton RLE post-processor supports native and upsampled mask grids
at every factor. Boxes and masks share the encoded grid in `mask_size`, including
for empty and deferred results. It preserves fractional float32 boxes on grids
that differ from the image and rounds to integers only on the image grid.
It uses the same target-size rounding as the reference path. Antialiased downsampling, unsupported preprocessing
transforms, and other existing compatibility limits use the reference post-processor.
The existing Triton enablement flag still controls this path; no execution plan is
required. Sparse-record capacity limits are unchanged, including the existing
deferred-mode overflow error.

The first request for a new mask grid may compile Triton kernels and initialize
interpolation tables. Warm each expected image shape and mask-resolution factor
before serving latency-sensitive requests. Warm inference measurements exclude
this first-use time and memory cost.

Workflow versions v1–v4 retain their compatibility guards. Workflow v5,
reduced-mask downstream handling, and full tensor support are deferred to a
Expand Down
13 changes: 9 additions & 4 deletions inference_models/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,15 @@
COCO `size`. Manually constructed reduced dense detections must supply
`image_size` for image-space conversion because it cannot be inferred from the
reduced tensor.
- The RF-DETR fused Triton post-processor supports factor `1.0` only. Other
factors use the fallback post-processor so the requested resolution is honored.
Reduced-resolution Triton support and its benchmarking are deferred to a
separate PR.
- The RF-DETR fused Triton RLE post-processor now honors `masks_resolution_factor`
for native and upsampled mask grids, including multiclass and deferred streaming
results. Boxes and masks share the selected grid, with float32 fractional boxes
when that grid differs from the image and final integer rounding otherwise.
Empty and deferred results preserve the same grid and box dtype. Antialiased
downsampling and previously unsupported transforms use the reference path.
Multiclass results respect RF-DETR's query-count cap even when `max_detections`
is larger. Multiclass and deferred selection use global top-k before remapping,
without a four-class-per-query cutoff, and encode each selected query mask once.
- The `inference_models` adapter now rejects unknown `mask_decode_mode` values
with `InvalidMaskDecodeArgument`; it previously ignored the mode. The legacy
backend already rejected invalid modes. Validation also runs without opt-in.
Expand Down
Loading
Loading