Skip to content

Conversation

@BoyuanFeng
Copy link
Contributor

Previously, self.set_cell_anchors(dtype, device) leads to cudagraph error "accessing tensor output of CUDAGraphs that has been overwritten by a subsequent run". This pr fixes the anti-pattern to enable cudagraph.

@pytorch-bot
Copy link

pytorch-bot bot commented May 22, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 5a9709a with merge base 11ed64e (image):

NEW FAILURE - The following job has failed:

  • Lint / python-types / linux-job (gh)
    RuntimeError: Command docker exec -t 57ea20a41084667238b5ac0ff82d8e88b4dc79d2041bcaf226b99c4d18cd5f42 /exec failed with exit code 1

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

@BoyuanFeng
Copy link
Contributor Author

@pytorchbot merge -f "skip unrelated lint issue"

@pytorch-bot
Copy link

pytorch-bot bot commented May 22, 2025

Mergebot is not configured for this repository. Please use the merge button provided by GitHub.

@BoyuanFeng BoyuanFeng merged commit 966da7e into main May 22, 2025
57 of 58 checks passed
@github-actions
Copy link

Hey @BoyuanFeng!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

@NicolasHug
Copy link
Member

Hi folks,

Sorry but I have to revert this PR as it is BC-breaking. Happy to consider alternative fixes (ideally, with non-regression tests), but next time please do allow time for a maintainer's review.

NicolasHug added a commit to NicolasHug/vision that referenced this pull request May 29, 2025
facebook-github-bot pushed a commit that referenced this pull request Jul 30, 2025
Reviewed By: AntoineSimoulin

Differential Revision: D79175034

fbshipit-source-id: db5d7274acec39086de4e3dbd9b5f860c8024a17
facebook-github-bot pushed a commit that referenced this pull request Jul 30, 2025
Reviewed By: AntoineSimoulin

Differential Revision: D79175066

fbshipit-source-id: 365931e3d3af4dac97f343561c9d3ebb26720cf7
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.

5 participants