-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
feat: use ansible to download ONNX files #3375
Conversation
@kenji-miyake I don't have much experience with Ansible, could you please have a look to make sure I'm on the right path? I'll add more tasks for more files. Thanks 🙏 |
@xmfcx @mitsudome-r this PR is now ready for review |
Let the user pass the "autoware_data" folder directory to the ansible script. (ref: https://github.com/autowarefoundation/autoware/blob/main/setup-dev-env.sh ) (default:
Details in: https://github.com/orgs/autowarefoundation/discussions/3649#discussioncomment-6475228 Once this PR is tested and merged, We can modify the launch files to point to these new files. And we can proceed to remove existing cmake references. |
@xmfcx this PR is ready for review now, I've added an option to specify the directory to download the files to and updated the ansible scripts to cover all the artifacts. |
@lexavtanke could you review this please? If you have any questions, please don't hesitate to ask me or @esteve 🙏 |
Downloading part works good for ONNX files. But I have mention that it can be confusing for the user that he need to create the structure inside the I also checked updates in documentation and didn't find the folder preparation in the current version. |
@lexavtanke and I discussed this over Discord in private, I agree that this PR needs to be updated so that the folders for each package are created before downloading the models, |
@lexavtanke I've updated the PR to make sure that the directories are created per package before downloading the models, can you have another look? Thanks. |
@esteve Everything works good with creating folders but I experienced weird things during downloading some files:
And now I noticed that ansible role named |
Good idea, |
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Co-authored-by: Alexey Panferov <[email protected]> Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
@lexavtanke I've fixed all the ansible lint issues, could you have a look this PR again? Thanks. |
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.
@esteve LGTM, thank you.
@xmfcx I guess we need approval from you. Thanks |
@xmfcx thanks 🙂 |
Description
This PR uses Ansible to download ONNX files.
Fixes autowarefoundation/autoware.universe#3137
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.