Skip to content

Conversation

masahi
Copy link
Contributor

@masahi masahi commented Jan 25, 2022

This replaces in-place mutation with more backend compiler-friendly one. In-place ops generally cause problems for TVM, so we want an input model to be as pure as possible.

A related issue apache/tvm#10050

@facebook-github-bot
Copy link
Contributor

Hi @masahi!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jan 25, 2022

💊 CI failures summary and remediations

As of commit d5a2603 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@datumbox
Copy link
Contributor

@masahi I will merge once the CI passes.

@datumbox datumbox merged commit 45c15f5 into pytorch:main Jan 26, 2022
facebook-github-bot pushed a commit that referenced this pull request Feb 3, 2022
Summary:
* Remove in-place mutation in DefaultBoxGenerator

* device fix

* Update torchvision/models/detection/anchor_utils.py

Reviewed By: kazhang

Differential Revision: D33927514

fbshipit-source-id: 83cad27f7ef6a6135830750691299753fecdbca5

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
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.

'NotImplementedError: The following operators are not implemented:' errors when converting PyTorch Object Detection models

3 participants