Skip to content

[OpenReg][Feat][Docs] Enrich hook implementation and add focused documentation#165980

Closed
KarhouTam wants to merge 5 commits intopytorch:mainfrom
KarhouTam:openreg-hooks
Closed

[OpenReg][Feat][Docs] Enrich hook implementation and add focused documentation#165980
KarhouTam wants to merge 5 commits intopytorch:mainfrom
KarhouTam:openreg-hooks

Conversation

@KarhouTam
Copy link
Contributor

@KarhouTam KarhouTam commented Oct 21, 2025

Summary

This PR enriches the implementation of OpenRegHooks.h and adds focused documentation for OpenReg hooks.

Key Changes

  • A new document: docs/source/accelerator/hooks.md
  • New OpenReg hooks like isBuilt(), isAvailable() and so on...

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 21, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/165980

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 56405e6 with merge base 0dac408 (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@KarhouTam
Copy link
Contributor Author

@pytorchbot label "module: openreg"

@KarhouTam
Copy link
Contributor Author

@pytorchbot label "ciflow/trunk"

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 12, 2025
@KarhouTam KarhouTam marked this pull request as ready for review November 12, 2025 08:30
@soulitzer soulitzer requested a review from albanD November 13, 2025 01:10
@soulitzer soulitzer added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Nov 13, 2025
@pytorch-bot pytorch-bot bot removed the ciflow/trunk Trigger trunk jobs on your pull request label Nov 13, 2025
@fffrog
Copy link
Collaborator

fffrog commented Nov 13, 2025

Thank you for updating, it looks good to me.

@KarhouTam
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 13, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@KarhouTam
Copy link
Contributor Author

A lint job failed... Seems not my fault.

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@KarhouTam
Copy link
Contributor Author

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Successfully rebased openreg-hooks onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout openreg-hooks && git pull --rebase)

@pytorch-bot pytorch-bot bot removed the ciflow/trunk Trigger trunk jobs on your pull request label Nov 13, 2025
@KarhouTam
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 13, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@KarhouTam KarhouTam deleted the openreg-hooks branch November 14, 2025 12:33
Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
…mentation (pytorch#165980)

## Summary
This PR enriches the implementation of `OpenRegHooks.h` and adds focused documentation for `OpenReg` hooks.

## Key Changes
- A new document: `docs/source/accelerator/hooks.md`
- New `OpenReg` hooks like `isBuilt()`, `isAvailable()` and so on...

Pull Request resolved: pytorch#165980
Approved by: https://github.com/fffrog

Co-authored-by: Jiawei Li <ljw1101.vip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged module: openreg open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants