pytorch - 💡(How to fix) Fix Add registry API for configuration mechanism of testing [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#181348Fetched 2026-04-25 06:03:01
View on GitHub
Comments
1
Participants
2
Timeline
18
Reactions
0
Author
Participants
Assignees
Timeline (top)
labeled ×5mentioned ×4subscribed ×4project_v2_item_status_changed ×2
RAW_BUFFERClick to expand / collapse

As we discussed with @mikaylagawarecki, it would be best to provide an API for the vendor's developers that would allow them to register op_overrides and test_exclusions for subclasses of the DeviceTypeTestBase class (such as PrivateUse1TestBase or something like that).

cc @mruberry

extent analysis

TL;DR

Create an API to allow vendor developers to register overrides and exclusions for subclasses of the DeviceTypeTestBase class.

Guidance

  • Identify the specific subclasses of DeviceTypeTestBase that require overrides and exclusions, such as PrivateUse1TestBase.
  • Design an API endpoint to accept registrations for op_overrides and test_exclusions for these subclasses.
  • Consider implementing authentication and authorization mechanisms to ensure only authorized vendor developers can register overrides and exclusions.
  • Document the API endpoint and its usage for vendor developers.

Notes

The implementation details of the API are not specified, and the exact requirements for authentication and authorization are unclear.

Recommendation

Apply workaround: Design and implement the API as described, to provide a solution for vendor developers to register overrides and exclusions.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING