Skip to content

Add shared-memory TRT support and docker/launch updates#25

Merged
GerdsenAI-Admin merged 1 commit into
mainfrom
TensorRT-Testing
Feb 3, 2026
Merged

Add shared-memory TRT support and docker/launch updates#25
GerdsenAI-Admin merged 1 commit into
mainfrom
TensorRT-Testing

Conversation

@GerdsenAI-Admin

Copy link
Copy Markdown
Contributor

Add optional SharedMemoryInference support for Jetson host<->container TensorRT setups and update node, launch, and docker-compose accordingly.

  • da3_inference.py: add SharedMemoryInference no-op helpers (get_gpu_memory_usage -> None, clear_cache) to reflect GPU managed by host TRT service.
  • depth_anything_3_node.py: add use_shared_memory parameter, import SharedMemoryInference, initialize either SharedMemoryInference (with availability checks and logs) or DA3InferenceWrapper, and improve init logging/error message.
  • launch/depth_anything_3.launch.py: expose a use_shared_memory launch argument and pass it to the node.
  • docker-compose.yml: update container commands to source ROS/workspace setup scripts on startup (including a Jetson-friendly fallback) so interactive shells have the correct environment.

These changes enable an optional host TRT service integration for Jetson deployments while preserving existing local inference behavior.

Add optional SharedMemoryInference support for Jetson host<->container TensorRT setups and update node, launch, and docker-compose accordingly.

- da3_inference.py: add SharedMemoryInference no-op helpers (get_gpu_memory_usage -> None, clear_cache) to reflect GPU managed by host TRT service.
- depth_anything_3_node.py: add use_shared_memory parameter, import SharedMemoryInference, initialize either SharedMemoryInference (with availability checks and logs) or DA3InferenceWrapper, and improve init logging/error message.
- launch/depth_anything_3.launch.py: expose a use_shared_memory launch argument and pass it to the node.
- docker-compose.yml: update container commands to source ROS/workspace setup scripts on startup (including a Jetson-friendly fallback) so interactive shells have the correct environment.

These changes enable an optional host TRT service integration for Jetson deployments while preserving existing local inference behavior.
@GerdsenAI-Admin GerdsenAI-Admin merged commit e9f8332 into main Feb 3, 2026
1 of 2 checks passed
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.

1 participant