Skip to content

[Relax][PyTorch] tests for additional modules with exported program translator #17862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hugolatendresse
Copy link
Contributor

@hugolatendresse hugolatendresse commented Apr 19, 2025

I tested the ingestion and correctness of several PyTorch modules using the exported program translator. The tests in this PR passed out of the box so I'm including them as additional unit tests. The tests for the modules below failed and so will be addressed in future PRs:
[ ] nn.ConvTranspose1d
[ ] nn.ConvTranspose2d
[x] nn.CrossEntropyLoss #17863
[ ] Tensor.scatter
[ ] Tensor.is_floating_point
[ ] torch.lerp

@hugolatendresse hugolatendresse changed the title tests for add'l modules [Relax][PyTorch] tests for additional modules Apr 19, 2025
@hugolatendresse hugolatendresse changed the title [Relax][PyTorch] tests for additional modules [Relax][PyTorch] tests for additional modules with exported program translator Apr 19, 2025
@hugolatendresse hugolatendresse marked this pull request as ready for review April 19, 2025 17:16
@hugolatendresse
Copy link
Contributor Author

cc @MasterJH5574 @tlopex this is ready for review

@MasterJH5574
Copy link
Contributor

Looks like there's a conflict to resolve before we can merge this PR.

@hugolatendresse
Copy link
Contributor Author

This PR needs changes in light of comments in #17863. Setting back to draft for now.

@hugolatendresse hugolatendresse marked this pull request as draft April 21, 2025 16:11
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