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

Fix install_onnx.sh issue #1201

Merged
merged 4 commits into from
Jun 13, 2019
Merged

Fix install_onnx.sh issue #1201

merged 4 commits into from
Jun 13, 2019

Conversation

RandySheriffH
Copy link
Contributor

@RandySheriffH RandySheriffH commented Jun 11, 2019

Fix an issue in install_onnx.sh. The installation sequence of onnx versions should be kept strictly following onnx123, onnx130, onnx141, onnx150 and onnxtip. Further, we want to keep onnxtip after script finish running.
Quoting Dmitri's comment from another PR:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
"
Now you have to update strings in 3 places. Can we make it only one place for each commit?
For example the first occurence of commit is purely a comment. We could add a trailing comment for each entry in the map.
In fact, the map entries are self-documenting, no need for separate comments.
Or you simply describe in one line that Install ONNX for each release with specific commits.
Also, could we, instead of map declare a sequence of strings and each string is a composite of "committag".
We could iterate through it in order, split it obtaining commit and tag and then use it as before.
"

@RandySheriffH RandySheriffH requested a review from a team as a code owner June 11, 2019 00:33
@snnn
Copy link
Member

snnn commented Jun 11, 2019

@yuslepukhin Any comment? #Resolved

Copy link
Contributor

@skottmckay skottmckay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕐

@RandySheriffH RandySheriffH changed the title switch from map to array to keep visiting sequence Fix install_dep.sh issue Jun 12, 2019
@RandySheriffH RandySheriffH changed the title Fix install_dep.sh issue Fix install_onnx.sh issue Jun 12, 2019
@yuslepukhin
Copy link
Member

Randy, you need to follow the PR guidelines that just have been published. It is good that you quote me, however, it does not describe the overall motivation for the PR and the reason for this change.
Specifically, you need to say that we run tests with 3 difference ONNX releases and the current one and we need to install/uninstall it in order with the last one being the commit in the master. And that latter one is the motivation for your change, not my comment. My comment purely pertains to eliminate many copies of the same data.


In reply to: 501001784 [](ancestors = 501001784)

@skottmckay skottmckay dismissed their stale review June 13, 2019 07:19

revoking review

snnn
snnn previously approved these changes Jun 13, 2019
@RandySheriffH RandySheriffH merged commit 6850e55 into master Jun 13, 2019
@RandySheriffH RandySheriffH deleted the rashuai/FixScriptIssue branch June 13, 2019 20:38
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.

5 participants