Skip to content

Tensor rt testing#24

Merged
GerdsenAI-Admin merged 7 commits into
mainfrom
TensorRT-Testing
Feb 3, 2026
Merged

Tensor rt testing#24
GerdsenAI-Admin merged 7 commits into
mainfrom
TensorRT-Testing

Conversation

@GerdsenAI-Admin

@GerdsenAI-Admin GerdsenAI-Admin commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

This pull request updates all documentation and benchmarking results to reflect the latest, significantly improved TensorRT performance for Depth Anything 3 (DA3) on Jetson Orin NX 16GB. The new results show much higher throughput, lower latency, and improved speedup over PyTorch, with comprehensive new benchmarks and validation. The PR also marks the completion of several project phases and adds a detailed benchmarking document.

Key changes:

Major Performance Updates

  • All documentation now reports TensorRT acceleration achieving up to 17.8x speedup (93 FPS @ 308x308) and 7.7x speedup (40 FPS @ 518x518), replacing the previous 6.8x/35 FPS results. [1] [2] [3] [4] [5]
  • Added new benchmark tables and summaries for multiple resolutions and DA3 model sizes, including detailed breakdowns for FPS, latency, and engine size. [1] [2] [3] [4]

Documentation and Benchmarking

  • Introduced a new docs/JETSON_BENCHMARKS.md file with comprehensive performance data, deployment recommendations, methodology, and thermal/stability validation.
  • Updated README.md, TODO.md, and docs/BASELINES.md to reflect new results, phase completions, and best-practice recommendations for real-time robotics and quality-focused applications. [1] [2] [3]
  • Marked Phases 2, 3, and 4 (host-container split, benchmarking, and thermal validation) as complete, with detailed results and recommendations.

Technical and Platform Details

  • Updated platform specifications to JetPack 6.2 (L4T r36.4), CUDA 12.6, and TensorRT 10.3, and clarified all test conditions and deployment instructions. [1] [2] [3] [4]

Stability and Validation

  • Added results and documentation for a 10-minute sustained load test, confirming no thermal throttling and stable performance at 40.79 FPS. [1] [2] [3]

Miscellaneous

  • Updated last updated dates and status indicators throughout all documentation. [1] [2]

These updates provide clear, accurate, and actionable performance data for users, and establish robust documentation for future development and deployment.## Description

Please include a summary of the changes and the related issue. Include relevant motivation and context.

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring
  • CI/CD improvement

Testing

Please describe the tests you ran to verify your changes. Provide instructions so we can reproduce.

  • Test A: Description
  • Test B: Description

Test Configuration:

  • OS:
  • ROS2 Version:
  • Device (CPU/GPU):
  • Camera (if applicable):

Checklist

  • My code follows the style guidelines of this project (PEP 8, no emojis)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published
  • I have maintained camera-agnostic design principles
  • I have checked my code for potential security issues

Camera-Agnostic Design

  • This PR does not introduce camera-specific dependencies
  • All camera integration is done via topic remapping only
  • N/A - This PR does not involve camera integration

Performance Impact

  • No performance impact
  • Performance improved (please provide benchmarks)
  • Potential performance regression (please explain)

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Notes

Add any other context about the pull request here.

Update TODO.md to mark Phase 2 as COMPLETE: replace the planned files list with a completed implementation checklist (host TRT service, SharedMemoryInference, and host-aware deploy script), revise the IPC protocol filenames/status format, add a Jetson deployment snippet, and bump the last-updated date. Also add .DS_Store files in the repository root and examples/ (macOS metadata).
Add auto-install for huggingface_hub and onnx dependencies in deploy script
Fix PATH for huggingface-cli - add ~/.local/bin
- Replace huggingface-cli with huggingface_hub.snapshot_download()
- More reliable: CLI binary not always in PATH after pip install
- Auto-install huggingface_hub and onnx if missing
- Tested on fresh Jetson deployment
- Add JETSON_BENCHMARKS.md with full performance documentation
- Add benchmark_models.sh script for model size testing
- Update TODO.md with Phase 3 complete:
  - Resolution benchmarks: 40-110 FPS (518-256px)
  - Model benchmarks: Small (40 FPS), Base (19 FPS), Large (7.5 FPS)
- Recommend DA3-Small @ 308-400px for real-time robotics
- 10-minute sustained load test: PASSED
- Throughput: 40.79 FPS (stable throughout)
- Latency: 24.73ms mean, 25.19ms p99
- No thermal throttling detected
- Add thermal_stability_test.sh script
- Update benchmark documentation
Refresh Jetson/TensorRT documentation and deployment scripts to reflect new validation results and tooling changes. Key changes:

- README: update TensorRT performance claims (≈40 FPS @ 518x518, 93 FPS @ 308x308), speeds (7.7x / up to 17.8x), latency and benchmark references.
- docs/BASELINES.md: major rewrite with validated TensorRT FP16 tables, model/size throughput, thermal stability results and recommended configurations; update JetPack/CUDA versions and PyTorch baseline.
- docs/JETSON_DEPLOYMENT_GUIDE.md: adjust JetPack/CUDA versions, engine size (58 → 64 MB), performance numbers, host-container diagram formatting, shared-memory protocol (request/status), add model/benchmark/thermal script references, update validation date.
- Remove obsolete planning docs: docs/TENSORRT_DA3_PLAN.md and docs/TENSORRT_OPTIMIZATION_PLAN.md (deleted).
- scripts/demo.sh & scripts/deploy_jetson.sh: add auto-install and dependency checks (huggingface_hub, onnx, numpy, pycuda), improved ONNX download/embedding flow, better fallbacks to PyTorch when TRT unavailable, update displayed backend performance text and expected FPS.

These changes align docs and scripts with recently validated Jetson results, improve robustness of automated deployment (dependency handling and clearer fallbacks), and remove outdated planning artifacts.
@GerdsenAI-Admin GerdsenAI-Admin merged commit cc1e474 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