transformers
🚨🚨🚨 Fix forward of Dinov2ForImageClassification for models with registers
#37836
Merged

🚨🚨🚨 Fix forward of Dinov2ForImageClassification for models with registers #37836

psandovalsegura
psandovalsegura add num_tokens_to_discard to the forward of Dinov2ForImageClassification
ef2c1674
github-actions
github-actions github-actions marked this pull request as draft 324 days ago
psandovalsegura Merge branch 'main' into bugfix/discard-registers-in-dinov2-with-regi…
51097d0d
qubvel
qubvel commented on 2025-04-29
psandovalsegura redefine forward in modular file, remove change to modeling_dinov2 file
d96a9ce8
psandovalsegura Merge branch 'main' into bugfix/discard-registers-in-dinov2-with-regi…
c3621368
psandovalsegura run make fixup
794771ea
psandovalsegura psandovalsegura marked this pull request as ready for review 323 days ago
qubvel
qubvel commented on 2025-04-30
psandovalsegura
qubvel Merge branch 'main' into bugfix/discard-registers-in-dinov2-with-regi…
6b228298
qubvel
qubvel
qubvel approved these changes on 2025-05-05
github-actions
HuggingFaceDocBuilderDev
qubvel qubvel changed the title Fix forward of Dinov2ForImageClassification for models with registers 🚨🚨🚨 Fix forward of Dinov2ForImageClassification for models with registers 316 days ago
qubvel qubvel requested a review from Cyrilvallez Cyrilvallez 316 days ago
qubvel
Cyrilvallez
Cyrilvallez approved these changes on 2025-05-06
Cyrilvallez Cyrilvallez merged 7cc78804 into main 316 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone