Skip to content

[jit] fix index_put_ error in subscript assignment#38378

Closed
jansel wants to merge 8 commits intopytorch:masterfrom
jansel:fix_index_put_error
Closed

[jit] fix index_put_ error in subscript assignment#38378
jansel wants to merge 8 commits intopytorch:masterfrom
jansel:fix_index_put_error

Conversation

@jansel
Copy link
Copy Markdown
Contributor

@jansel jansel commented May 13, 2020

Fixes #27493

@jansel jansel requested review from driazati, eellison and suo May 13, 2020 02:58
@jansel jansel requested a review from apaszke as a code owner May 13, 2020 02:58
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label May 13, 2020
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented May 13, 2020

💊 CI failures summary and remediations

As of commit e00b826 (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).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 20 times.

@jansel jansel removed the request for review from driazati May 13, 2020 03:04
Copy link
Copy Markdown
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.

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

Copy link
Copy Markdown
Contributor

@eellison eellison left a comment

Choose a reason for hiding this comment

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

Looks great! I think we just need to add handling for non-CPU devices and this should be good to land.

Comment thread test/jit/test_builtins.py Outdated
Comment thread torch/csrc/jit/frontend/ir_emitter.cpp Outdated
Comment thread test/jit/test_builtins.py
Copy link
Copy Markdown
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.

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

Copy link
Copy Markdown
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.

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

Copy link
Copy Markdown
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.

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

Copy link
Copy Markdown
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.

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@jansel merged this pull request in 31b57e3.

@jansel jansel deleted the fix_index_put_error branch May 19, 2020 03:51
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Fixes pytorch#27493
Pull Request resolved: pytorch#38378

Test Plan: `pytest ./test/test_jit.py -k test_tensor_subscript_assign`

Differential Revision: D21540489

Pulled By: jansel

fbshipit-source-id: a06e55175942b9d51ccc51d5440b7b122481b333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[jit] index_put_ on a tensor slice with the element type does not work

4 participants