Skip to content
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

Additional converters for floordiv, mod, ne, and torch::tensor() operations #505

Merged
merged 4 commits into from
Feb 22, 2021

Conversation

meremeev
Copy link
Contributor

No description provided.

@jaybdub
Copy link
Contributor

jaybdub commented Feb 19, 2021

Hi @meremeev,

Thanks for this pull request! I took a quick glance, this looks nice!

I look forward to testing these features and getting back.

Out of curiosity, were these additions inspired by a particular use case / model? If so I'm interested to hear what this might be to better understand how you're using (or hoping to use) torch2trt.

Best,
John

@jaybdub
Copy link
Contributor

jaybdub commented Feb 20, 2021

Hi @meremeev ,

I've tested the changes, they seem to work well, and other functions are behaving as expected.

I think this is good to merge. I would only suggest that we add entries to the CHANGELOG under master just to help establish the practice in this project.

https://github.com/NVIDIA-AI-IOT/torch2trt/blob/master/CHANGELOG.md

Let me know if you're interested in adding the entries. Otherwise, I'm happy to add them.

Best,
John

@meremeev
Copy link
Contributor Author

Hi John,

At Luminar we are considering using torch2trt package to convert our semantic segmentation model to TensorRT engine.. These converters are what we need to make it working.

I will update CHANGELOG.md shortly.

Thank you,
Mark

@meremeev
Copy link
Contributor Author

meremeev commented Feb 20, 2021 via email

@jaybdub
Copy link
Contributor

jaybdub commented Feb 22, 2021

Looks great @meremeev, thanks! Will merge this now.

Please feel free to reach out with any other issues / pull request / general discussion , etc.

Thanks again,
John

@jaybdub jaybdub merged commit 3e4ed64 into NVIDIA-AI-IOT:master Feb 22, 2021
jaybdub pushed a commit that referenced this pull request Jun 28, 2021
…ations (#505)

* Initioal version of ne, floordiv, mod and tensor converters. Extend ops for relu and sigmoid.

* Converters for floordiv, mod, ne, and torch::tensor() operations . Extend relu and sigmoid converters to Tensor methods.

* Update CHANGELOG.md
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