-
Notifications
You must be signed in to change notification settings - Fork 386
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
Run onnxsim python version in docker #282
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for your contribution!
what's the motivation of this PR?
README.md
Outdated
Or run in docker | ||
|
||
``` | ||
docker build -t onnx-simp . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer 'onnxsim' :)
README.md
Outdated
|
||
``` | ||
docker build -t onnx-simp . | ||
docker run --rm -it --entrypoint pytest onnx-simp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the use case of entry point "pytest"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make sure it would work properly. There are 3 failures so far (expected, as described in comments).
It would be convenient to run on most OS without having to prepare the environment, especially when onnxruntime/pytorch dependencies would be different/hard to install. |
No description provided.