Skip to content

[Torch] Fix converting torch slice op with dynamic slice length#7549

Merged
comaniac merged 2 commits into
apache:mainfrom
masahi:torch-slice-dyn-len
Mar 2, 2021
Merged

[Torch] Fix converting torch slice op with dynamic slice length#7549
comaniac merged 2 commits into
apache:mainfrom
masahi:torch-slice-dyn-len

Conversation

@masahi

@masahi masahi commented Mar 1, 2021

Copy link
Copy Markdown
Member

Fixes #7546

This is an easy PR to fix the bug introduced in #7479. Thanks @apivovarov for reporting.

Please review @kevinthesun @comaniac @siju-samuel @apivovarov

@masahi masahi force-pushed the torch-slice-dyn-len branch from 53c1069 to 5efd741 Compare March 1, 2021 11:25
@masahi masahi force-pushed the torch-slice-dyn-len branch from 5efd741 to 1f3f00d Compare March 2, 2021 08:41
@masahi

masahi commented Mar 2, 2021

Copy link
Copy Markdown
Member Author

ping @kevinthesun @comaniac @siju-samuel this is ready to go, @apivovarov needs this fix

@comaniac comaniac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@comaniac comaniac merged commit 08ea961 into apache:main Mar 2, 2021
@comaniac

comaniac commented Mar 2, 2021

Copy link
Copy Markdown
Contributor

Thanks @masahi @apivovarov

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
…he#7549)

* Fix converting torch slice op with dynamic slice length

* use isinstance

Co-authored-by: masa <masa@pop-os.localdomain>
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
…he#7549)

* Fix converting torch slice op with dynamic slice length

* use isinstance

Co-authored-by: masa <masa@pop-os.localdomain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[torch] slice with Var Length fails

3 participants