Skip to content

Conversation

BoyuanFeng
Copy link
Contributor

  • Support prim::device and prim::dtype during torchscript migration to export
  • Add unit tests

Copy link

pytorch-bot bot commented May 29, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure, 2 Unrelated Failures

As of commit 595f409 with merge base 39cf2f8 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

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

elif output_name in self.constant_map:
args.append(self.constant_map[output_name])
self.output_specs.append(
OutputSpec(
Copy link
Contributor

Choose a reason for hiding this comment

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

Does PT2 IR allow graph returning constant?

Copy link
Contributor

@angelayi angelayi May 29, 2024

Choose a reason for hiding this comment

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

I don't think we do right now Sorry I misread the serializer -- we do allow returning constants.

@BoyuanFeng
Copy link
Contributor Author

@pytorchbot merge -f "skip unrelated flaky test"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

@BoyuanFeng BoyuanFeng deleted the bf/ts-device branch May 30, 2024 18:35
petrex pushed a commit to petrex/pytorch that referenced this pull request Jun 5, 2024
- Support prim::device and prim::dtype during torchscript migration to export
- Add unit tests
Pull Request resolved: pytorch#127466
Approved by: https://github.com/SherlockNoMad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants