Skip to content

Conversation

@BowenBao
Copy link
Collaborator

Still depending on rank of original tensor being known. i.e.

x[i, j, k] = y  # rank of x must be known at export time

@BowenBao BowenBao requested a review from apaszke as a code owner October 20, 2020 01:14
@facebook-github-bot
Copy link
Contributor

💊 CI failures summary and remediations

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


Commit ada6f36 was recently pushed. Waiting for builds...


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 1 time.

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Oct 20, 2020
@codecov
Copy link

codecov bot commented Oct 20, 2020

Codecov Report

Merging #46571 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #46571   +/-   ##
=======================================
  Coverage   68.40%   68.40%           
=======================================
  Files         411      411           
  Lines       54098    54098           
=======================================
+ Hits        37006    37007    +1     
+ Misses      17092    17091    -1     

@ezyang ezyang requested a review from neginraoof October 20, 2020 16:22
@ezyang ezyang added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 20, 2020
@skipIfUnsupportedMinOpsetVersion(11)
@disableScriptTest() # Missing input size (with ellipsis indexing)
# TODO: Limited scripting support with ellipsis indexing.
# Due to dependency on input tensor rank being known.
Copy link
Contributor

Choose a reason for hiding this comment

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

does this mean test will pass only when shape_inference is turned on?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no, shape inference won't affect this case. I will add stricter test case which require shape inference, with the PR of enabling passes dependent on shape/type info.

Copy link
Contributor

@neginraoof neginraoof left a comment

Choose a reason for hiding this comment

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

Perfect, looks good. Thanks for enabling this.
Can you let us know which cases are not supported, i.e. shape cannot be inferred?
Is it a known situation, or potential case?

@BowenBao
Copy link
Collaborator Author

Perfect, looks good. Thanks for enabling this.
Can you let us know which cases are not supported, i.e. shape cannot be inferred?
Is it a known situation, or potential case?

It's not supported when rank cannot be inferred. I think this is a potential case for now.

Copy link
Contributor

@neginraoof neginraoof left a comment

Choose a reason for hiding this comment

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

Looks good. Can we keep a (disabled) test case for the unsupported case?

@facebook-github-bot
Copy link
Contributor

Hi @BowenBao!

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but we do not have a signature on file.

In order for us to review and merge your code, 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.

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

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@bzinodev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@bzinodev merged this pull request in 5686d24.

@facebook-github-bot
Copy link
Contributor

@bzinodev merged this pull request in 5686d24.

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

Labels

cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue open source 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.

7 participants