carpedm20 commited on
Commit
87259b2
·
verified ·
1 Parent(s): 6b24231

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SAM3 TensorRT Engine
2
+
3
+ Pre-built TensorRT engine for [SAM3](facebook/sam3) segmentation.
4
+
5
+ ## Specifications
6
+
7
+ | Setting | Value |
8
+ |---------|-------|
9
+ | Resolution | 1008x1008 |
10
+ | Batch Size | 1-4 |
11
+ | Text Max Length | 32 |
12
+ | Precision | fp16 |
13
+ | TensorRT | 10.14.1.48 |
14
+ | Built on | NVIDIA GeForce RTX 4090 |
15
+ | Engine Size | 1594.95 MB |
16
+
17
+ ## Usage
18
+
19
+ The engine is automatically downloaded when using SAM3 with TensorRT enabled.
20
+
21
+ ```python
22
+ from ai.models.sam3 import Sam3SegmentationModel
23
+
24
+ model = Sam3SegmentationModel(use_trt=True)
25
+ result = await model.segment_text(image, payload=payload, text_prompts="person")
26
+ ```
27
+
28
+ ## Rebuild
29
+
30
+ ```bash
31
+ make run-ai-local -- python -m scripts.tensorrt.sam3 --force
32
+ ```
33
+
34
+ Built at: 2026-01-22 07:49:22 UTC