Skip to content

Conversation

alexnorell
Copy link
Contributor

Description

Update Jetson 6.2.0 Dockerfile to use roboflow/l4t-ml:r36.4-slim base image, which includes pre-built PyTorch 2.8, ONNXRuntime with TensorRT, OpenCV with CUDA, cupy, pycuda, and scientific computing packages (NumPy, SciPy, scikit-learn, pandas, scikit-image).

Changes:

  • Replace nvcr.io/nvidia/l4t-jetpack:r36.4.0 with roboflow/l4t-ml:r36.4-slim
  • Remove OpenCV compilation step (~30+ min build time saved)
  • Remove PyTorch/torchvision installation (already in base)
  • Remove requirements.gpu.txt installation (ONNXRuntime already in base)
  • Remove JupyterLab from edge deployment requirements
  • Remove unnecessary system dependencies (gfortran, libopenblas-dev)

Type of change

  • New feature (non-breaking change which adds functionality)
  • Build optimization

How has this change been tested, please provide a testcase or example of how you tested the change?

Local build testing on Jetson AGX Orin with L4T 36.4.4 (JetPack 6.2.1). Verified all required packages are present in base image and inference server starts successfully.

Any specific deployment considerations

The new base image (roboflow/l4t-ml:r36.4-slim) is 12.3GB and available on Docker Hub. Build time significantly reduced by eliminating OpenCV compilation. All existing functionality preserved.

Docs

  • Docs updated - No documentation changes needed

@alexnorell alexnorell force-pushed the feat/cu126 branch 4 times, most recently from f5904db to 18a9520 Compare October 14, 2025 07:09
Update Jetson 6.2.0 Dockerfile to use roboflow/l4t-ml:r36.4-slim base image,
which includes pre-built PyTorch 2.8, ONNXRuntime with TensorRT, OpenCV with CUDA,
and scientific computing packages. This removes the need for OpenCV compilation
(~30+ min build time) and significantly improves build speed. Also removes
JupyterLab from edge deployment requirements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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