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

How to run convert_model in docker instead of local env? #16

Closed
leon2milan opened this issue Dec 2, 2021 · 2 comments
Closed

How to run convert_model in docker instead of local env? #16

leon2milan opened this issue Dec 2, 2021 · 2 comments

Comments

@leon2milan
Copy link

how to run convert_model -m roberta-large-mnli --backend tensorrt onnx pytorch --seq-len 16 128 128 --batch-size 1 32 32 in built docker env?

@pommedeterresautee
Copy link
Member

Right now, pre-built docker images from Nvidia are based on TRT 8.0.3, unfortunately it's a bit buggy, the code will work but the accuracy won't be good with mixed precision on some models using some patterns. We fixed those issues but only using TRT 8.2. New Nvidia docker image with updated TRT should be realeased in the coming weeks. When they are ready, I will update the documentation to only use docker image as it's more convenient and guarantee that all dependencies are where they need to be.

@pommedeterresautee
Copy link
Member

Documentation is now updated, and the docker image is online.
Don't hesitate to re open the issue if you have other related question.

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

2 participants