Repository navigation
Commit 9e7f5cd
[serge] Fix 8 integration tests for model
* [serge] Fix 8 integration tests for model `grounding_dino` failing with `output_mismatch` (tensor values differ (6), oth
* what pablo asked
* fix repo
* and the pos id thing seems valid
* trf
* Address review: required special_tokens, regression tests, new expectations
- `generate_masks_with_special_tokens_and_transfer_map` now requires `special_tokens`
- drop the buffer comment
- add fast tests for phrase masks / position ids and for float text position embeddings
- update detection-head expectations for the position-id fix (grounding_dino + mm_grounding_dino)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* no more flaky asserts and update loss
* add expectations from runner here
---------
Co-authored-by: serge[bot] <serge[bot]@users.noreply.github.com>
Co-authored-by: raushan <raushan@huggingface.co>
Co-authored-by: Tarek Ziade <tarek@ziade.org>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>grounding_dino failing with output_mismatch (tensor values differ (6), oth (#49886)1 parent 78a4daf commit 9e7f5cd
5 files changed
Lines changed: 267 additions & 132 deletions
File tree
- src/transformers/models
- grounding_dino
- mm_grounding_dino
- tests/models
- grounding_dino
- mm_grounding_dino
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1066 | 1062 | | |
1067 | 1063 | | |
1068 | 1064 | | |
| |||
1337 | 1333 | | |
1338 | 1334 | | |
1339 | 1335 | | |
| 1336 | + | |
| 1337 | + | |
1340 | 1338 | | |
1341 | 1339 | | |
1342 | 1340 | | |
| |||
1809 | 1807 | | |
1810 | 1808 | | |
1811 | 1809 | | |
1812 | | - | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
1813 | 1813 | | |
1814 | 1814 | | |
1815 | 1815 | | |
1816 | 1816 | | |
| 1817 | + | |
| 1818 | + | |
1817 | 1819 | | |
1818 | 1820 | | |
1819 | 1821 | | |
| |||
1823 | 1825 | | |
1824 | 1826 | | |
1825 | 1827 | | |
1826 | | - | |
| 1828 | + | |
1827 | 1829 | | |
1828 | 1830 | | |
1829 | 1831 | | |
1830 | 1832 | | |
1831 | 1833 | | |
1832 | 1834 | | |
1833 | 1835 | | |
| 1836 | + | |
1834 | 1837 | | |
1835 | 1838 | | |
1836 | 1839 | | |
| |||
1933 | 1936 | | |
1934 | 1937 | | |
1935 | 1938 | | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
1936 | 1943 | | |
1937 | 1944 | | |
1938 | 1945 | | |
| |||
2060 | 2067 | | |
2061 | 2068 | | |
2062 | 2069 | | |
2063 | | - | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
2064 | 2073 | | |
2065 | 2074 | | |
2066 | 2075 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
250 | 255 | | |
251 | 256 | | |
252 | 257 | | |
| |||
0 commit comments