Skip to content

Fix DynamicTransform1_CUDA test#594

Merged
jacobhinkle merged 3 commits intomainfrom
fix_dynamic_transform_test
Jul 17, 2023
Merged

Fix DynamicTransform1_CUDA test#594
jacobhinkle merged 3 commits intomainfrom
fix_dynamic_transform_test

Conversation

@jacobhinkle
Copy link
Collaborator

I did not commit the test change here before merging #590. This updates the test to reflect the new behavior, which is that reshape sizes of -1 must be constant at definition time: for dynamic reshapes with input scalars they must not be -1.

I did not commit the test change here before merging #590. This updates
the test to reflect the new behavior, which is that reshape sizes of -1
must be constant at definition time: for dynamic reshapes with input
scalars they must not be -1.
@jacobhinkle
Copy link
Collaborator Author

!build

@jacobhinkle jacobhinkle marked this pull request as ready for review July 17, 2023 12:52
@jacobhinkle jacobhinkle requested a review from naoyam July 17, 2023 12:56
@jacobhinkle
Copy link
Collaborator Author

The failing test is pytest python_tests/test_torchscript.py -k test_category_rule which succeeds on my machine. That test is unrelated to this PR, so I'm going to merge.

@jacobhinkle jacobhinkle merged commit 864bcd8 into main Jul 17, 2023
@jacobhinkle jacobhinkle deleted the fix_dynamic_transform_test branch July 17, 2023 15:25
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.

2 participants