facebookresearch / facebookresearch/sam3
Printing torch properties fails on the Jetson Orin Agx
- Dominant language
- Python
- Stars
- 11.7k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Platform:
* Jetson orin agx 32GB
* CUDA Version: 12.6
* PyTorch Version: 2.5.0a0+872d972e41.nv24.08
This line crashes the app (sam3_video_predictor.py:125)
```
logger.debug(
f"started new session {session_id}; {self._get_session_stats()}; "
f"{self._get_torch_and_gpu_properties()}"
)
```
With following error:
```
Error: Failed to start inference session: 'utf-8' codec can't decode byte 0x9e in position 116: invalid start byte
```
After removing the problematic code works as expected
Contributor guide
Research direction
Start in sam3_video_predictor.py around line 125 and trace _get_torch_and_gpu_properties() while reproducing the failure on the Jetson Orin AGX environment described. Confirm that starting an inference session no longer fails with the UTF-8 decoding error when the debug message is assembled, and verify the existing inference path still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100