Skip to content

Commit 8eea6cd

Browse files
authored
Merge branch 'develop' into feat/1066-executorch_export
2 parents 2401869 + 1bc58f6 commit 8eea6cd

27 files changed

Lines changed: 2183 additions & 235 deletions
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Dependency resolution
2+
3+
on:
4+
push:
5+
branches: ["main", "release/*", "develop"]
6+
paths: ["pyproject.toml"]
7+
pull_request:
8+
paths: ["pyproject.toml"]
9+
10+
permissions:
11+
contents: read
12+
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
concurrency:
18+
group: deps-resolution-${{ github.ref }}
19+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
20+
21+
jobs:
22+
tflite-resolution:
23+
name: Resolve [tflite] extra — Python ${{ matrix.python-version }}
24+
runs-on: ubuntu-latest
25+
timeout-minutes: 10
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
# tflite deps carry python_version>='3.12' and <'3.13' markers; onnx2tf pins numpy==1.26.4
30+
# exactly, which conflicts with ml-dtypes>=0.5.1 requiring numpy>=2.1.0 on 3.13.
31+
# Add 3.13 and relax the <'3.13' upper bound when onnx2tf drops the exact numpy pin.
32+
python-version: ["3.12"]
33+
steps:
34+
- name: 📥 Checkout the repository
35+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
36+
37+
- name: 🐍 Install uv and set Python version ${{ matrix.python-version }}
38+
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
39+
with:
40+
python-version: ${{ matrix.python-version }}
41+
42+
- name: 🔍 Resolve [tflite] optional dependencies
43+
run: |
44+
uv pip compile pyproject.toml \
45+
--extra tflite \
46+
--python-version ${{ matrix.python-version }} \
47+
--no-header \
48+
--quiet
49+
50+
- name: Minimize uv cache
51+
continue-on-error: true
52+
run: uv cache prune --ci

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- `HungarianMatcher.forward()` now uses the configured `focal_alpha` in the focal classification matching cost. Previously the value was hardcoded to `0.25`, silently ignoring any non-default `focal_alpha` passed to the constructor or `build_matcher`. This misaligned the bipartite matching cost with the focal classification loss in `criterion.py`, which correctly used `self.focal_alpha`. ([#1147](https://github.com/roboflow/rf-detr/pull/1147))
13+
- `spatial_shapes` in `Transformer.forward()` is now built from symbolic `Shape` ops (`torch.stack` of per-level `torch._shape_as_tensor` slices) instead of `torch.empty` + in-place index assignment. The previous pattern emitted a `ScatterND` feeding a shape tensor (`level_start_index`), which TensorRT rejected with "IScatterLayer cannot be used to compute a shape tensor". This fix is required to export any RF-DETR model to a TensorRT engine. ([#1155](https://github.com/roboflow/rf-detr/pull/1155))
14+
1015
---
1116

1217
## [1.8.1] — 2026-06-19

docs/cookbooks/cards.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
cards:
2+
- href: inference-latency-benchmark/
3+
name: "Inference Latency Benchmark"
4+
labels: [INFERENCE, ONNX, GPU]
5+
version: v1.8.1
6+
author: Borda
7+
description: "Benchmark detection, segmentation, and keypoint models across FP32, FP16+JIT, and ONNX Runtime — measures latency and FPS on GPU using CUDA events."
28
- href: fine-tune_keypoints/
39
name: "Fine-Tune RF-DETR Keypoint Detection"
410
labels: [TRAINING, PYTORCH LIGHTNING, INFERENCE]

0 commit comments

Comments
 (0)