You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial deep_ort_gpu plugin with internal library issues
* Functioning onnxruntime with CUDA as execution provider
* Removed requirement for cuda toolkit
* cleaning up cmake
* updating tests
* parameterizing parameters that weren't actually parameters, updating tests in the process
* addressing issues with IO binding, thread-loca caching bug (idk this one), unused members and hardcoded float types
* launch tests for local use only
* trying to get the tensorrt EP working
* tensorrt tested to be working apparently, check deep_sample
* debugging ci
* testing
---------
Co-authored-by: Eddy Zhou <edsteredward@gmail.com>
Copy file name to clipboardExpand all lines: DEVELOPING.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,3 +29,37 @@ This project includes VS Code dev container configurations for easy ROS2 develop
29
29
### Common Commands
30
30
31
31
Inside the container, you can do ros2 commands, colcon commands, rosdep, etc.
32
+
33
+
## Testing
34
+
35
+
### CI Testing (CPU Only)
36
+
37
+
```bash
38
+
export IS_CI=1
39
+
colcon build
40
+
source install/setup.bash && colcon test
41
+
colcon test-result --verbose
42
+
```
43
+
44
+
GPU backends are automatically skipped when `IS_CI=1`.
45
+
46
+
### Local GPU Testing
47
+
48
+
**Requires**: NVIDIA container with GPU access (Runtime Libraries and CuDNN)
49
+
Testing with GPU can be done using one of the support GPU devcontainers.
50
+
51
+
```bash
52
+
export IS_CI=0 # or unset IS_CI
53
+
colcon build
54
+
source install/setup.bash && colcon test
55
+
colcon test-result --verbose
56
+
```
57
+
58
+
### Testing Philosophy
59
+
60
+
Given that access to GPU runners are limited, we settled on a testing procedure to test GPU-related software locally. The codebase is designed such that **if a backend works with `deep_sample`, it works everywhere.**
61
+
62
+
- CPU backends: Tested in CI automatically
63
+
- GPU backends: Must be tested locally with GPU before release
64
+
-`deep_sample` validates all backend plugins end-to-end
0 commit comments