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

PyTorch's TorchScript vs torch2trt #49

Closed
ar13pit opened this issue Aug 26, 2019 · 1 comment
Closed

PyTorch's TorchScript vs torch2trt #49

ar13pit opened this issue Aug 26, 2019 · 1 comment

Comments

@ar13pit
Copy link

ar13pit commented Aug 26, 2019

Hi,

I wanted to know what is the difference between serializing a model with torch2trt and PyTorch's TorchScript?

Both seem to have a similar process of serialization. Although I am not sure if TorchScript supports GPUs. Any insight into this will be highly appreciated.

Thanks

@xsacha
Copy link

xsacha commented Oct 3, 2019

TorchScript does support GPUs and runs over the model with a just in time compiler.
I'd like to see the performance difference of TorchScript vs TRT because TorchScript often makes Pytorch models run up to 3x faster.

Edit: See this specific comparison with IR_50/IR152:
#86 (bottom of page)

@jaybdub jaybdub closed this as completed Jul 18, 2022
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

No branches or pull requests

3 participants