-
Notifications
You must be signed in to change notification settings - Fork 113
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
Software Versions Tools #141
Conversation
@viswa-nvidia @mikemckiernan for feedback @benfred @EvenOldridge @jperez999 to see if we can use this for something else or you would like to extend in a certain way |
ci/versions.py
Outdated
info[cont]["models"] = get_pythonpkg_version(container, "models") | ||
# Get HugeCTR | ||
info[cont]["hugectr"] = get_pythonpkg_version(container, "hugectr") | ||
print(info) |
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'm tying what might be my user error to this line. Is there a print
or library that can use double-quotation marks instead of the apostrophe character?
jq . < /tmp/orig
parse error: Invalid numeric literal at line 1, column 19
jq . <(sed -e "s/'/\"/g" /tmp/orig)
{
"merlin-training": {
"CUDA": "V11.6.55",
...
I googled. Maybe json.dumps()
.
Huge thanks, btw.
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.
Updated the structures, to output a Markdown table. See comments
@EvenOldridge @mikemckiernan @viswa-nvidia See updates. This is the Markdown output table dynamically generated by the script using existing containers. We can use it in the following ways
It is easy to extend adding/removing packaged. We can change formatting as you wish
|
@mikemckiernan @EvenOldridge Discussed with Even I am gonna try to expand this to creating an automatic PR about the release |
@mikemckiernan @EvenOldridge I updated the script. Now creates a PR with the table. Look at: #147 |
Running the tool
Will produce output
We can do whatever with this dictionary: Create Json, Markdown, ...
We can also add more stuff we need to this script
EDIT: Output format updated to markdown table