-
Notifications
You must be signed in to change notification settings - Fork 658
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
Move downloading artifacts outside CMake #3137
Move downloading artifacts outside CMake #3137
Comments
Thank you for your proposal. |
@yukkysaito thanks for your comment. I've only submitted changes to the packages that download ONNX models. Could you link to the packages that download In any case, the reason for not downloading external files by default is because the processes we use for generating Debian packages restrict access to the network (as is the Debian policy for building packages), so we can't download files in
Thanks. |
@esteve sorry, I may have written it badly and caused a misunderstanding. rosbag replay simulator uses DNN such as centerpoint, so it is necessary to download the onnx file. I would preferably download it when setting up the environment in ansible, so that no internet connection is needed at build time. |
@yukkysaito ah, sorry, I misunderstood. Thanks, I agree it'd be much easier if downloading the ONNX models is done outside the build process of |
I agree, the links are in the Moving them to ansible and also adding the manual steps in the readme of the role should be enough. And yes like @esteve suggested we should remove the remains of the downloads from the So we should remove the |
Following this discussion I've closed autowarefoundation/autoware_common#164 and will rework the rest of the PRs to remove the download logic. I'll also update the documentation and the ansible scripts. |
There are a few things to consider for downloading with ansible.
As an example,to refer to the downloaded file in launch file by ansible, we can create a specific package, put the weight file there, and refer to it from launch. |
Right now Autoware has ros2 launch autoware_launch logging_simulator.launch.xml \
map_path:=$HOME/autoware_map/sample-map-rosbag \
vehicle_model:=sample_vehicle \
sensor_model:=sample_sensor_kit What about adding a Then this path could be passed to the necessary nodes. |
Sorry, I'm afraid I'm not following here. Will the package store the weight file? And if not using |
I think this is a good idea, it'll standardize how to access the models across all nodes. What path by default should we tell users to download files to? With Also, when/if we generate Debian packages for these packages, should the models be installed system-wide or in a user's folder? |
@xmfcx @mitsudome-r |
This pull request has been automatically marked as stale because it has not had recent activity. |
Closing this ticket now that all the linked PRs are merged. Thanks everyone, especially @lexavtanke |
Checklist
Description
Some packages download artifacts by default, which is not necessary for compiling them. Additionally, during the process for generating Debian packages, access to the network is restricted, so building these packages fail (see autowarefoundation/autoware#3222 (comment))
The packages that download ONNX models are:
Other types of artifacts:
Update ansible scripts to download artifacts files:
fix: update all downloaded files with their SHA256 checksum autoware#3856Update documentation with instructions on how to download ONNX files:
Disable internet access for CI actions:
Add
data_path
variable toautoware_launch
:Update default path to artifacts in package launch files:
Purpose
Be able to build the packages without requiring to download the ONNX models
Possible approaches
Remove the download logic so that ONNX models, update
ansible
scripts to download them when deploying the packages and document how to manually download the models.Definition of done
Packages can be built without downloading the ONNX models. Documentation is updated to let users manually download the ONNX models. Update
ansible
scripts to download the models.The text was updated successfully, but these errors were encountered: