Skip to content

Conversation

@CesarLiu
Copy link
Owner

No description provided.

emankov and others added 30 commits June 22, 2022 23:53
[AMD][build][docker]Install RPP into AMD Docker image
+ Affecting PR #73
+ How to repro: `./apollo.sh build --config=gpu perception/camera/common`

[Misc]
+ Move porting code snippet from `test/camera_common_undistortion.cc` to `common/undistortion_handler.h`
+ Formatting, indentation
[AMD][perception/camera][fix] Fix multiple compilation errors
…mage

+ Added creating symlinks in `install_migraphx.sh` script
+ Build new AMD dev docker image and push it to temopary docker hub 
repository
+ Update AMD dev version in dev_start.sh

[Tests]
Successfully build perception/inference/migraphx submodule in 
perception/migraphx_inference branch
[AMD][perception/inference/tesorrt][#84][fix] Exclude the `tensorrt` submodule on the `AMD` path
[AMD][#84][build][docker] Create symlinks for MIGraphX in AMD Docker image
…hX` detection

+ Regenerate `find_rocm_config.py.gz.base64`

[Test]
+ With #86 MIGraphX is detected successfully:

`
migraphx_include_dir: /opt/rocm-5.1.1/migraphx/include/migraphx
migraphx_library_dir: /opt/rocm-5.1.1/lib
migraphx_version_number: 20000
`

[ToDo]
+ Update `rocm_configure.bzl` accordingly
[AMD][MIGraphX][#84][fix] Populate `find_rocm_config.py` with `MIGraphX` detection
+ change `TF_NEED_TENSORRT` to `TF_NEED_MIGRAPHX` on AMD stream
+ change `build:gpu --config=tensorrt` to `build:gpu --config=migraphx` 
on AMD stream

[Tests]
+ AMD `.apollo.bazelrc`: tensorrt -> `migraphx`
+ NVIDIA `.apollo.bazelrc`:  hasn't changed
+ Introduce `MIGraphX`'s header and library files
+ Populate `local_rocm_repository` and `rocm_config` with `MIGraphX`

[ToDo]
+ Switch `BUILD` files to use `MIGraphX` instead of `tensorRT` for AMD target
[AMD][#84][MIGraphX][build] Introduce `MIGraphX` in `bootstrap.py`
[AMD][#84][MIGraphX][build][bazel] Introduce `MIGraphX` in `Bazel` subsystem
[build][#90][bazel] Remove define duplicates: `USE_GPU`, `AMD`, `NVIDIA`, `GPU_PLATFORM`
+ Fix typos

[TEMP]
+ Add verbose mode to CUDA compilation by nvcc
[build][#90][bazel] Remove more duplicates
[AMD][libTorch][fix] Fix namespace-related porting of libTorch
This PR adds the MIGraphX backend to the perception module for inference.
`[TODO]
* Adding tests for MIGraphX dependent parts
* Adding `mi_net` dependencies to other submodules
…aphx` submodule on the `NVIDIA` path

+ Depends on #94 which should go first
[AMD][#84][MIGraphX] Introduction of the `MIGraphX` backend to the `perception` module (Step 1)
[AMD][perception/inference/migraphx][#84][#94][fix] Exclude the `migraphx` submodule on the `NVIDIA` path
…A` builds

`./apollo.sh test perception/inference/utils`: 2 of 2 tests are passed on both targets
[AMD][#96][perception/inference/utils][fix] Separate `AMD` and `NVIDIA` builds
…`, `tensorrt` and `migraphx` builds

[Tests]
`./apollo.sh test perception`:
+ NVIDIA: 82 of 82 passed
+ AMD: still has a build failures (onnx)
[AMD][#84][#96][perception/inference][fix] Separate `AMD` and `NVIDIA`, `tensorrt` and `migraphx` builds
+ Rename `cc_library` to `gpu_library` and `cc_test` to `gpu_test` in GPU-related rules

[Tests] `./apollo.sh test perception`:
+ NVIDIA: ok
+ AMD: still failed but the build got a bit further
[Synopsis]
+ `nvcc` "knows" its own header files and adds missing includes implicitly, `clang` doesn't

[Solution]
+ Add missing include - it doesn't affect `NVIDIA` compilation path

[Tests]
+ NVIDIA: ok
+ AMD: still failed, but the failed `postprocess_cuda.cu` is compiled now
+ Added `rocm_config.h.tpl` and `rocm_config.py.tpl` in `gpus/rocm` 
similar to `gpus/cuda/cuda_config.*`
+ Populate `*.tpl` in `rocm_configure.bzl`
+ Uncomment `rocm/rocm_config.h` in `BUILD.tpl` add `py_library` with 
`rocm_config.py`

[Tests]
+ NVIDIA: OK
+ AMD: No regression, no progression
zero and others added 30 commits March 25, 2023 17:06
Change-Id: I6056536ab864bc4c8133698e479b235cac60b754
Signed-off-by: liangjinping <liangjinping@baidu.com>
Change-Id: Iff5f8efe5a110a22ed0b517732e672b84321eacf
…14634)

* Fix perception.velocity direction bug

The green arrow of obstacle velocity direction doesn't change in the Dreamview because the perception.velocity is not updated in the linear_project_perception function. Here we add a line of code to update the perception.velocity.

* fix(tools): modify sleep_time calculation from int to float

Modify the default value of period. sleep_time should be float and _s_delta_t should equal to sleep_time

fix(tools): change from float(1.0/period) to float(period)

squash 8a92f5b fix(tools): change period default value from 10 to 0.1
Change-Id: I048600b66afcdd90237bd7f7ba4cf0b05f8f53e3
Add lslidar driver for Apollo platform,230714
- apollo rules replace native bazel rules
- merge the target of the module
- bugs fix

Change-Id: I2093de61f339bd7f73439d5c8257894630eff759
- update the documents of Apollo module
- release dreamview 2.0
- fix bugs

Change-Id: I52bb4443cfca668a43703b594f397d87fd838db6
    - dreamview 2.0 release
    - bugs fix

Change-Id: I5eab9d1149af7c2a09af8ef0d1884596d144f6dd
- dreamview support pnc mode
- fix bug: build error on arm
- fix bug: abnormal pnc behavior

Change-Id: I05d9eed4b3cd20cda8452cc383f2fa815d5a7e3b
Change-Id: I8e3241e6406bef0e6308598baba507bcfd4495da
Change-Id: I101e5f279c819768e39b422cda7b11353f85caed
Change-Id: I6f388ae29ed9af7e836b5fa90996a3f043ee4fc6
- fix DV1.0 profile module record dynamic record echo failure, download failure, and status change failure
- change spawn_strategy to standalone to improve compiling speed

Change-Id: Ieaf56e941b96cb2afcd29827366e02960c7d7055
Signed-off-by: liangjinping <liangjinping@baidu.com>
Change-Id: If1a9c24bc1279ff91e4c9acf9396d002bfaa40e3
Change-Id: I16f7c6cee3bf744ab3a3de3ce2417f41f0c452b2
Signed-off-by: liangjinping <liangjinping@baidu.com>
Signed-off-by: liangjinping <liangjinping@baidu.com>
Change-Id: I9b37556dc297450e91e6f9f0a10a6f2448f94007
Change-Id: I905e094ca98162ce8e61ee744d6fa14ff870f56a
Change-Id: I7caa205e88c105e13d2c33f9fb3436b29251e994
Change-Id: I76f8397cedbe88953502ba5d101291b73894d064
- dreamview-plus: Add real-car mode; fix existing bugs
- pnc: Refactoring planning module for easier secondary development
- perception: bugs fix
- docs: Completion of missing documents
- framework: installation script optimization

Change-Id: I12b55900933fe942c9f090c0ba6c4e0f98cee311
Change-Id: I954132d12733e7675f5ecda6c9bb8f68181c334e
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.