Skip to content

Conversation

@eesoymilk
Copy link

Some operators are intended to produce 1 or more outputs and will always return a Sequence[torch.Tensor]. Therefore, when len(output_values) == 1, the code breaks since it treated it as a single output tensor. I fix this issue by modifying the condition to index into output.

Include op types are: ['If', 'Loop', 'Scan', 'SequenceMap', 'Split']

…ve sequence-like output.

Include op types are: ['If', 'Loop', 'Scan', 'SequenceMap', 'Split']
@senysenyseny16 senysenyseny16 requested review from senysenyseny16 and removed request for irkjero and ivkalgin April 2, 2024 11:05
@senysenyseny16 senysenyseny16 self-assigned this Apr 2, 2024
@senysenyseny16 senysenyseny16 added the fix bug fix for the user label Apr 2, 2024
@eesoymilk
Copy link
Author

@senysenyseny16 the workflows should now all pass. Thanks!

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

Labels

fix bug fix for the user

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants