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

Run onnxsim python version in docker #282

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

boltomli
Copy link

@boltomli boltomli commented May 4, 2023

No description provided.

Copy link
Owner

@daquexian daquexian left a 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 .
Copy link
Owner

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
Copy link
Owner

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"?

Copy link
Author

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).

@boltomli
Copy link
Author

boltomli commented May 5, 2023

thanks for your contribution!

what's the motivation of this PR?

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.

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.

None yet

2 participants