| # SAM3 TensorRT Engine | |
| Pre-built TensorRT engine for [SAM3](facebook/sam3) segmentation. | |
| ## Specifications | |
| | Setting | Value | | |
| |---------|-------| | |
| | Resolution | 1008x1008 | | |
| | Batch Size | 1-8 | | |
| | Text Max Length | 32 | | |
| | Precision | fp16 | | |
| | TensorRT | 10.14.1.48 | | |
| | Built on | NVIDIA GeForce RTX 4090 | | |
| | Engine Size | 1597.92 MB | | |
| ## Usage | |
| The engine is automatically downloaded when using SAM3 with TensorRT enabled. | |
| ```python | |
| from ai.models.sam3 import Sam3SegmentationModel | |
| model = Sam3SegmentationModel() | |
| result = await model.segment_text(image, payload=payload, text_prompts="person") | |
| ``` | |
| ## Rebuild | |
| ```bash | |
| make run-ai-local -- python -m scripts.tensorrt.sam3 --force | |
| ``` | |
| Built at: 2026-01-22 12:47:50 UTC | |