-
Notifications
You must be signed in to change notification settings - Fork 673
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 CUDA-dependent packages to a separate repository #3135
Comments
Is there any options not to separate CUDA dependent packages?
|
Name of the new cuda packages repositoryWhat are your naming choices about this new repository? I'd go for Make naming consistentAlso after moving the packages, we should make the naming conventions uniform too. And for that my proposal is:
Handling of TVM packagesAlso we should move This topic will also be discussed by @ambroise-arm @angry-crab @mitsudome-r @esteve @kenji-miyake and me. to separate or not to separateEdit: @miursh @yukkysaito I've just saw your comment after refreshing. Yes, I will think about not separating too. I understand the concerns, this is an issue with all separated repositories. |
I'm sorry for joining late. To give you some additional information, splitting repositories helps us reduce CI time. There is no need to test all packages with CUDA. autoware.universe/.github/workflows/build-and-test-differential.yaml Lines 15 to 17 in 541122f
But I understand splitting repositories may increase maintenance costs and troubles. I think it's okay not to split repositories right now, we should do the following at least:
I'll discuss how to proceed with this also in TIER IV. |
@kenji-miyake another reason for splitting the CUDA-related packages to another repository is because when/if we submit Autoware to the ROS buildfarm that Open Robotics maintains (https://build.ros.org/), all the packages in the repository are submitted and they need to be distributable and not covered by a proprietary license. However, following @mitsudome-r 's rationale of only submitting Autoware.core and not all of Autoware.universe to the ROS buildfarm, we can either leave CUDA packages in universe, or move them in a separate repository, but we can't migrate them to Autoware.core. |
Yes, I think so, too. |
As a result of TIER IV's internal discussion, we'd like to propose the following actions:
For that,
@xmfcx @esteve cc @mitsudome-r What do you think about this? Regarding the long-term milestones, I think as follows:
|
I agree that we can start by renaming.
I'd prefer prefix over suffix. But I'm OK either way. Also merging of |
I also agree with using suffixes, makes it clear that they are an extension to the base packages or that they are based on other packages.
I'm afraid I don't follow you here, can you elaborate? Thanks. |
For example,
could be merged into a single package. |
@xmfcx thanks for elaborating. I can't clearly remember what was the rationale for having Anyway, I agree with you, it'd simplify our tree, especially now that we're enforcing all nodes to be components, so they all have uniform instantiation. |
From what I remember, it was to separate ROS libraries from the rest of the packages. And it's a good practice in theory because the library can also be reused by other packages too. But in the implementation, this wasn't adhered strictly. So I think it lost its purpose along the way. Found the source:
Also I used to be 3-tier before (but I think it's just a matter of semantics for the executable): |
This pull request has been automatically marked as stale because it has not had recent activity. |
@xmfcx @idorobotics @mitsudome-r sorry for reviving a stale issue, but it's not clear to me whether we reached an agreement here. I'm working on adding support for building CUDA-enabled packages in our buildfarm and it'd be good to sort this topic out. Thanks. |
How to structure the separated CUDA packages. The reason to separate CUDA packages is because CUDA is hardware specific. For both Universe and Core, 2 new repositories:
Additional:
Pros:
Cons:
@YoshiRi @miursh @youtalk @oguzkaganozt In the future:
|
Checklist
Description
As discussed in autowarefoundation/autoware#3222 (comment), in order to be able to build Autoware.Universe with the available packages in the ROS index, we decided to move those packages that depend on CUDA to a separate repository
Purpose
Be able to compile a subset of the Autoware.universe without depending on CUDA
Possible approaches
Move the the packages that depend on CUDA to a separate repository
Definition of done
There are no packages that depend on CUDA in Autoware.universe
The text was updated successfully, but these errors were encountered: