Skip to content

refactor output tracing in dpr#44030

Open
omkar-334 wants to merge 3 commits intohuggingface:mainfrom
omkar-334:refactor-dpr
Open

refactor output tracing in dpr#44030
omkar-334 wants to merge 3 commits intohuggingface: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
Contributor

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

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.

2 participants