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

feat(docker): Optimize GPU support in container startup scripts #15669

Open
wants to merge 50 commits into
base: master
Choose a base branch
from

Conversation

mang0825
Copy link

  • dev_start.sh:
    • Fix incorrect image version configuration
    • Remove erroneous comment for apollo_virtual_map
  • docker_base.sh:
    • Add strict type check for USE_GPU_HOST (== "1")
    • Add NVIDIA container runtime support for ARM64 architecture

wangchuang03 and others added 30 commits April 3, 2023 16:41
…on tf use system clock; support lidar fusion set target frame

Change-Id: I5ea7162389f605d5edef414c26b4db479828c069
Change-Id: Ic2c77851fd2dfdc7ed9ab35ea9b34b33945c1eb5
Change-Id: Icb666cf9f31de9227a12a254a73796b0dc3a5005
Change-Id: I45f8985b78d750369d9d8861ccfdcdfb380a8a2e
Change-Id: I4df4cea8cfe01be4e8ac7fc9f754c112d19ef1f7
Change-Id: I7c466a39bd7073e8fb75bc3a5297df673bd9b76f
…uest only send parkingspace id

Change-Id: I55f3be1b9caecd5f2ee455ff2251e527735a31d7
Change-Id: I2bd53495d62d41f2da4e452e210d70360745210a
Change-Id: I33fa8a07e8da1091fe67f1c3041afe1cc207fc22
Change-Id: I820ffef455ef548edfdc1e45bfd6efaa7a05a19a
Change-Id: I1b357c5ea3778f035b323424e08cbd166d7ec0ec
Change-Id: I243b372b69b2fb1cae295b9356c9efabf8163bd2
… for parking space

Change-Id: I4fe674938ec84c2e86266780f88d07e6e91b4bce
…uild fe output

Change-Id: Ib235c6fdc5ea74400b85ae65335e90cd084a2a1f
Change-Id: I82e0898455226ebbe3edeb6891dce017f3ca2924
Change-Id: Id0d3a3fb70f9742148e4013e8ab5f268bbcf2cce
Change-Id: I8052c1534cd0ded17d6053e66ea40bea4e3db4ca
Change-Id: Ie1ea3c5df8b38019a12a815ff71e73285ccfbb95
Change-Id: I590e942ed08d1baa94b554b6aa8b422d0de5cf9f
Change-Id: I0a4f670715d8890ad6c29518253642dd7dabecec
…pollo into r8.0.0

Change-Id: Id5a49ebe7cdf689eac9507b0c3129ff9d655f170
* changes:
  Merge branch 'r8.0.0' of ssh://icode.baidu.com:8235/baidu/apollo-bj/apollo into r8.0.0
  fix(planning): move static const to task config
Change-Id: I2676e035f1c8a6d411e0b01bda0b67683929e53f
1. add candidate path to get better solution
2. add cost func in reedshepp path
3. fix reedshepp bug

Change-Id: Ia137d79a18f756a66086a5b1d70ddd0fff14bb63
…c to obstacle

The old calculation method:  the distance from the center of the rear axle of the adc to the obstacle coordinates
The new calculation method: the coordinates of the adc bounding box to the obstacle bounding box

Change-Id: Id22056bb2c5bef6ef937e3e60284d1e1afbeeff2
Change-Id: Id89f2ada62612123d18b47262cd68d81394f7985
Change-Id: I045d7c82bc661ecf5539066e6b07200c27643244
Change-Id: Ib530ff30e3bec3943bb385cd58dec59c75978f5e
Change-Id: I3e09c2bc59f39a48180a737c01844d09f3ae7e7b
macDure and others added 13 commits June 19, 2023 20:58
Change-Id: I987393abbe7d5d0d1787959ea238a64fd3a55c47
…into r8.0.0

* changes:
  style(planning): fix lint error
  fix(planning):open space replan only in fallback
  fix(planning): fix core dump if no last path
  fix(planning): adjust parking space end buffer by parameter
  feat(planning): improve open space search 1. add candidate path to get better solution 2. add cost func in reedshepp path 3. fix reedshepp bug
  fix(planning): fix speed noise may cause kappa abnormal
Change-Id: I017e4058f703c9c2b915b1d9a81813b907f6eb32
Change-Id: I96ac52d7377942232fb924ddb2bc094425f6ebe0
…s to the main vehicle.

When the number of obstacle vertices is less than 3, calculate the obstacle distance through the bounding box and temporarily skip.

Change-Id: I42b2e6009cab2ffbec8826d5fb9bcf646a2842fc
Change-Id: I654db8e2d582030f52343406f92d93a9b885c621
fix(cyber):cyber_monitor no message bug fix
* dev_start.sh:
  - Fix incorrect image version configuration
  - Remove erroneous comment for apollo_virtual_map
* docker_base.sh:
  - Add strict type check for USE_GPU_HOST (== "1")
  - Add NVIDIA container runtime support for ARM64 architecture
@CLAassistant
Copy link

CLAassistant commented Mar 21, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
8 out of 10 committers have signed the CLA.

✅ qilinhu
✅ daohu527
✅ ad-litianjiao
✅ fanyueqiao
✅ macDure
✅ lykling
✅ lj0919
✅ hearto1314
❌ wangchuang03
❌ mang0825


wangchuang03 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

* third_party/localization_msf/BUILD:
  - Remove local build rules and static dependency declarations

* WORKSPACE:
  - Add @localization_msf external repository declaration
  - Integrate init.bzl initialization logic

* tools/workspace.bzl:
  - Declare localization_msf as an optional external component
  - Implement environment variable override strategy (LOCALIZATION_MSF_SOURCE)

* modules/localization/msf/local_integ/BUILD:
  - Update dependency declaration to @localization_msf//:core
  - Add header file visibility configuration

BREAKING CHANGE: Requires updating the localization_msf version defined in WORKSPACE
…ion compatibilit

1. C++ noexcept specification fixes:
   - Align base/derived class noexcept declarations
   - Explicitly mark overriding methods with noexcept override
   - Address "looser throw specifier" compiler errors

2. TensorRT plugin version compatibility:
   - Implement conditional compilation via NV_TENSORRT_MAJOR checks
   - Add version detection header: #include <NvInferVersion.h>
   - Maintain separate implementation paths:
     * TRT7: Legacy API workflow
     * TRT8: Modern API adaptation
* Add architecture conditional checks for image path selection:
  - aarch64 → Use precompiled ARM64 images
  - x86_64 → Use x86 images

* Update Bazel build rules:
  - Explicitly declare @caddn_infer_op external dependency
  - Configure cross-architecture symbolic link strategy
  - Verify paths through:
    ls -al bazel-out/*/bin/_solib_local/...
* scripts/apollo_build.sh:
  - Implement architecture-aware compilation flags:
    * aarch64: Enable native instruction set optimization (-march=native)
    * x86_64: Enable AVX2 instruction set optimization (-mavx2)
  - Unified resource control strategy:
    * Parallel jobs: $(nproc)
    * Memory constraints: HOST_RAM*0.7
  - Maintain backward compatibility for build command interfaces
* dev_start.sh:
  - Fix image version configuration mismatch
  - Add TODO marker for arm-compatible apollo_virtual_map image
    - Current implementation lacks ARM64 support for virtual map

* docker_base.sh:
  - Add NVIDIA container runtime support for ARM64 architecture
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.

10 participants