Skip to content

Fix version checks for _wrap_tensor_autograd#3630

Merged
jerryzh168 merged 1 commit intomainfrom
import-_wrap_tensor_autograd
Jan 13, 2026
Merged

Fix version checks for _wrap_tensor_autograd#3630
jerryzh168 merged 1 commit intomainfrom
import-_wrap_tensor_autograd

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Jan 13, 2026

Summary:
Trying to fix flaky CI error: https://github.com/pytorch/ao/actions/runs/20966568112/job/60258524576

  • the build is against the 2.10 test binary, which is cut in Dec 10, the PR that added _wrap_tensor_autograd (pytorch/pytorch@e629934) is landed in Dec 15
  • the wheel is build against 2.10, and the nightly test is on pytorch nightly (2.11.0.dev), so we have to make sure both works. the op exists only after 2.11.0.dev and not in 2.10 so we should be able to fix the build error by fixing the version check in fix CI #3548

Test Plan:
build wheels CI

https://github.com/pytorch/ao/actions/workflows/build_wheels_linux.yml

manual dispatch run: https://github.com/pytorch/ao/actions/runs/20968443825

Reviewers:

Subscribers:

Tasks:

Tags:

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Jan 13, 2026

🔗 Helpful Links

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

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

✅ No Failures

As of commit 25d19ac with merge base 23143f5 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 13, 2026
@jerryzh168 jerryzh168 requested a review from vkuzo January 13, 2026 18:16
@jerryzh168 jerryzh168 added the module: not user facing Use this tag if you don't want this PR to show up in release notes label Jan 13, 2026
Summary:
Trying to fix flaky CI error: https://github.com/pytorch/ao/actions/runs/20966568112/job/60258524576

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

Tags:
@jerryzh168 jerryzh168 force-pushed the import-_wrap_tensor_autograd branch from ce3eaa9 to 25d19ac Compare January 13, 2026 18:39
@jerryzh168 jerryzh168 changed the title Making sure _wrap_tensor_autograd is available Fix version checks for _wrap_tensor_autograd Jan 13, 2026
@jerryzh168 jerryzh168 merged commit f38e4f9 into main Jan 13, 2026
39 checks passed
jcaip pushed a commit that referenced this pull request Jan 22, 2026
Making sure `_wrap_tensor_autograd` is available

Summary:
Trying to fix flaky CI error: https://github.com/pytorch/ao/actions/runs/20966568112/job/60258524576

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants