Skip to content

Conversation

@pranavm-nvidia
Copy link
Collaborator

Adds --cap-add=SYS_PTRACE to docker commands so that gdb can be used with child processes in the container.

Removes unnecessary stream synchronize in SAMv2 demo.

@pranavm-nvidia pranavm-nvidia requested a review from Copilot May 23, 2025 23:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates docker run instructions to support debugging with gdb and removes an unnecessary stream synchronization call in the SAMv2 image encoder.

  • Updates docker commands in CONTRIBUTING.md by adding --cap-add=SYS_PTRACE
  • Removes an unneeded tp.default_stream().synchronize() call in the SAMv2 image encoder

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
tripy/examples/segment-anything-model-v2/sam2/modeling/backbones/image_encoder.py Removed stream synchronization in the compiled execution branch
tripy/CONTRIBUTING.md Updated docker run commands with --cap-add=SYS_PTRACE for enhanced debugging
Files not reviewed (1)
  • tripy/docs/packages.html: Language not supported

@pranavm-nvidia pranavm-nvidia changed the title Adds an entry for MLIR-TRT 0.1.41 in packages, other minor changes Various improvements to SAMv2 demo May 27, 2025
@pranavm-nvidia
Copy link
Collaborator Author

Pulled out the package index changes into a separate PR: #647

@pranavm-nvidia pranavm-nvidia force-pushed the upd-packages branch 2 times, most recently from a2851c7 to f0ab3c7 Compare May 28, 2025 17:25
…yTorch operations

Adds `--cap-add=SYS_PTRACE` to docker commands so that `gdb` can be used
with child processes in the container.

Removes unnecessary stream synchronize in SAMv2 demo.
@pranavm-nvidia pranavm-nvidia merged commit 309efca into main Jun 12, 2025
1 check passed
@pranavm-nvidia pranavm-nvidia deleted the upd-packages branch June 12, 2025 00:14
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.

3 participants