Skip to content

refactor output tracing in dpr - #44030

Closed
omkar-334 wants to merge 3 commits into
huggingface:mainfrom
omkar-334:refactor-dpr
Closed

omkar-334 wants to merge 3 commits into
huggingface:mainfrom
omkar-334:refactor-dpr

Conversation

@omkar-334

Copy link
Copy Markdown
Contributor

This PR refactors thedpr model as per #43979

cc @molbap
Screenshot 2026-02-16 at 9 13 30 AM

Comment on lines 546 to 547
output_attentions=output_attentions,
output_hidden_states=output_hidden_states,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contrib!
Here and everywhere in the modeling file,, output_attentions and output_hidden_states should not be explicitly mentioned anywhere anymore,capture_outputs ought to be added instead.

@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: dpr

@ArthurZucker

Copy link
Copy Markdown
Collaborator

Thanks for picking this up @omkar-334! The #43979 call for contributions has since been closed and this PR never got reviewed before falling behind main, so I'm closing it. Sorry it didn't land!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants