Segment a fixed image with original SAM 2 on a research CPU desktop
Use the exact facebook/sam2-hiera-large original July 2024 checkpoint and native image predictor in CPU float32. An original RGB geometry fixture and one positive point produce a binary mask and estimated IoU through a private educational endpoint. Native input resize is 1024 × 1024; its configured coarse visual embedding has 4,096 positions, separate from higher-resolution features and prompt/decoder tokens. The catalog version says 2.1, but this guide explicitly uses its exact original-SAM2 API artifact. Fit, speed and mask quality are unmeasured.
- Hardware
- Intel Core i5-12400 desktop, 4 inference threads, 32 GiB RAM
- Runtime
- Native SAM2 original image predictor CPU private research harness SAM2 source 2b90b9f5ceec907a1c18123530e92e794ad901a4; torch2.6.0+cpu; torchvision0.21.0+cpu; Python3.12; numpy2.2.3; Pillow11.1.0 · CPU
- Model format
- PyTorch checkpoint · Native CPU float32 eager inference; no autocast, quantization or compile optimization · Unquantized native checkpoint; reader CPU float32
- Workload
- 4,096 token context · 1 concurrent
Based on source documentation; this setup has not been executed by OpenTools. Memory: unknown. No compatible measurement available.
Read the complete setup guide
Before you start
- Use an owned Intel Core i5-12400 desktop with Ubuntu 24.04 x86_64, 32 GiB RAM, 40 GiB free disk and a four-thread allocation. These are planning choices, not measured minima.
- The frozen catalog says version 2.1, but its exact API facebook/sam2-hiera-large maps to the original July 29, 2024 checkpoint. This recipe deliberately uses that exact API artifact and native original config; it does not silently upgrade to SAM2.1 or rewrite catalog metadata.
- Review Apache2.0 obligations for the selected model/runtime. Use only the original geometric fixture generated by this harness; no third-party images, uploads, external URLs, arbitrary file inputs or model choices are accepted.
- This is a source-documented private educational image segmentation experiment, not measured quality or a production service. Python 3.12 and the source-supported CPU package versions below have not been installed/model-tested by the author. Save dependency resolution and stop on pip check, state-dictionary or shape errors.
Exact model and requirements
- Artifact:
- Meta / facebookresearch / SAM2 original Hiera Large; exact frozen API artifact, not SAM2.1 · checkpoint facebook/sam2-hiera-large
- Publisher revision:
- e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- Artifact digest:
- sha256:7442e4e9b732a508f80e141e7c2913437a3610ee0c77381a66658c3a445df87b
- Download size:
- 0.84 GiB
- Memory requirement (unknown):
- Unknown — No measured full-process peak for original Hiera Large CPU float32,1024image activations, prompt decoder and wrapper.
- System RAM / disk:
- Unknown / Unknown
- Placement:
- single device. One CPU host; no tensor or pipeline sharding. Whole native model, image and prompt handling on CPU; no GPU/disk offload.
- KV cache:
- Image segmentation does not use autoregressive text K/V caching. Image predictor feature state is reset after each request; video memory is outside this recipe.
- Workload:
- 4,096 token context; 4,096 input tokens; Not applicable; concurrency 1; batch 1; cache cold; repetitions Unknown.
- Tokenizer:
- Native 1024 × 1024 RGB image embedding, stride16 coarse grid64 × 64; no text tokenizer · 2b90b9f5ceec907a1c18123530e92e794ad901a4
- Sampling / reasoning:
- No text or audio generation sampling. Fixed original224 × 224 RGB geometry plus positive XY point [64,112], label1. Native ToTensor, square1024resize and ImageNet normalization. multimask_output=False selects one candidate; no hole/sprinkle filling, dynamic stability fallback or video propagation. 4,096 is the configured single-image coarse embedding position count only. Native high-resolution256 × 256 and128 × 128 feature maps, sparse spatial prompts and learned decoder tokens are separate; this is not a global/native maximum or text allowance. Point-label embedding types do not cap the number of possible points. This recipe fixes exactly one point and one image; masks do not supply semantic classes.
- Runtime prerequisites:
- Ubuntu 24.04 x86_64; See prerequisites above.
Actual upstream Apache License 2.0 text is archived, and upstream README expressly includes SAM2 model checkpoints. Retain license and relevant copyright/NOTICE material; observe redistribution/change-notice and patent conditions. No trademark endorsement or legal clearance is granted by this guide. Optional connected-component code has its own archived license; this CPU recipe skips that extension. Demo fonts and media are not included or presumed Apache-licensed. The original fixture is author-created geometry.
- Exact original SAM2 config from pinned native runtime · 0 GiB · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- 897,952,466 bytes is official LFS metadata for this exact native checkpoint, not independently downloaded weight-body proof or full runtime RAM.
- 32 GiB RAM,40 GiB disk and four threads are planning allocations, not measured minima or fit.1024image features, model buffers, native dependencies and OS add overhead.
One-time setup and hardware
- hardware
- Unknown — Existing desktop purchase price and incremental hardware cost depend on the reader; unknown.
- Existing desktop purchase price and incremental hardware cost depend on the reader; unknown. Tax: unknown.
- setup
- Unknown — Initial provisioning/build time and labor cost are unknown.
- Initial provisioning/build time and labor cost are unknown. Tax: unknown.
Recurring costs
- electricity
- Unknown — Actual wall power, electricity rate and powered hours are unknown; no TDP-to-wall-power conversion.
- Actual wall power, electricity rate and powered hours are unknown; no TDP-to-wall-power conversion. Tax: unknown.
- storage
- Unknown — Incremental cost of local disk capacity is unknown. The 40 GiB free-disk walkthrough allocation is an author choice, not a measured requirement.
- Incremental cost of local disk capacity is unknown. The 40 GiB free-disk walkthrough allocation is an author choice, not a measured requirement. Tax: unknown.
- egress
- Unknown — Data transfer price, allowances and traffic volume are unknown.
- Data transfer price, allowances and traffic volume are unknown. Tax: unknown.
- administration
- Unknown — Maintenance labor rate and hours are unknown.
- Maintenance labor rate and hours are unknown. Tax: unknown.
Install the runtime
1. Create the native CPU environment
Use exact official CPU wheels and a pinned native checkout. Explicitly skip the optional CUDA extension. Pin direct dependencies, save transitive/system resolution and stop on pip check failure; this is documented support rather than an executed environment.
Commandsudo apt-get update sudo apt-get install -y python3.12 python3.12-venv git curl ca-certificates openssl mkdir -p "$HOME/sam2-image/models" cd "$HOME/sam2-image" python3.12 -m venv .venv .venv/bin/python -m pip install 'https://download.pytorch.org/whl/cpu/torch-2.6.0%2Bcpu-cp312-cp312-linux_x86_64.whl#sha256=59e78aa0c690f70734e42670036d6b541930b8eabbaa18d94e090abf14cc4d91' 'https://download-r2.pytorch.org/whl/cpu/torchvision-0.21.0%2Bcpu-cp312-cp312-linux_x86_64.whl#sha256=d6874431e678ba107b60a83f255c33f3755f06bad587b1b919aa514ec325dcd8' .venv/bin/python -m pip install 'numpy==2.2.3' 'Pillow==11.1.0' 'hydra-core==1.3.2' 'omegaconf==2.3.0' 'antlr4-python3-runtime==4.9.3' 'iopath==0.1.10' 'tqdm==4.67.1' git clone https://github.com/facebookresearch/sam2.git native-sam2 git -C native-sam2 checkout --detach 2b90b9f5ceec907a1c18123530e92e794ad901a4 SAM2_BUILD_CUDA=0 .venv/bin/python -m pip install -e ./native-sam2 .venv/bin/python -m pip check .venv/bin/python -m pip freeze > resolved-environment.txtExpected result: Pinned checkout and hashed CPU wheels resolve; extension build is disabled, pip check passes and versions are saved. No CUDA driver/compiler or GPU runtime is required by this chosen path.
Download the model
1. Verify the exact original checkpoint and config
Reader download only: the author fetched metadata/text, not weights. Use exact HF revision for native .pt and exact config from pinned runtime. HF safetensors and HF-native YAML are different artifacts/config revisions and are not substituted.
Commandcd "$HOME/sam2-image" curl --fail --location --output models/sam2_hiera_large.pt 'https://huggingface.co/facebook/sam2-hiera-large/resolve/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/sam2_hiera_large.pt' sha256sum --check <<'SHA256' 7442e4e9b732a508f80e141e7c2913437a3610ee0c77381a66658c3a445df87b models/sam2_hiera_large.pt 0ee9f2037fd98489212bb0b78a56f33ac82eb177cf5e52c88be3714cb84eea26 native-sam2/sam2/configs/sam2/sam2_hiera_l.yaml c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 native-sam2/LICENSE SHA256Expected result: All three exact hashes report OK; stop on mismatch. Local native loader uses weights_only=True and checks state-dictionary keys. No native convenience from_pretrained call floats the model revision.
Configure
1. Create a stable private service key
Generate only when absent; preserve existing access. Do not print or share this local service key.
Commandcd "$HOME/sam2-image" umask 077 if [ ! -e .api-key ]; then openssl rand -hex 32 > .api-key; fi chmod 600 .api-key test -s .api-key || { echo "Restore empty service key before continuing"; exit 1; }Expected result: Private existing key is preserved; server requires 64 lowercase hexadecimal characters.
2. Create the reader-authored point-prompt harness
This custom serial HTTPServer binds loopback and accepts only a fixed fixture ID. It generates original 224 RGB geometry and uses a positive point inside its red rectangle. Native preprocessing resizes to 1024; optional CUDA-dependent hole/sprinkle postprocessing and dynamic multimask stability fallback are explicitly disabled. This is not publisher deployment code.
Commandcd "$HOME/sam2-image" cat > sam2_image.py <<'PYSERVER' """Reader-authored educational fixed-input SAM2 original-large harness; not publisher server.""" import hashlib import hmac import json import math import pathlib from http.server import BaseHTTPRequestHandler, HTTPServer ROOT = pathlib.Path(__file__).resolve().parent PORT = 8993 MODEL_SHA = '7442e4e9b732a508f80e141e7c2913437a3610ee0c77381a66658c3a445df87b' def validate_mask(result): mask, score, low_shape = result if type(score) not in (int, float) or not math.isfinite(score): raise ValueError('invalid_score') if low_shape != [1, 256, 256] or len(mask) != 224: raise ValueError('invalid_shape') flat = [] for row in mask: if len(row) != 224 or any(type(v) is not bool for v in row): raise ValueError('invalid_mask') flat.extend(row) runs = [] i = 0 while i < len(flat): if not flat[i]: i += 1 continue start = i while i < len(flat) and flat[i]: i += 1 runs.append([start, i-start]) return {'fixture': 'author-geometry-v1', 'image_shape': [224, 224, 3], 'transformed_shape': [1, 3, 1024, 1024], 'coarse_embedding_shape': [1, 256, 64, 64], 'configured_coarse_vision_positions': 4096, 'point_xy': [64, 112], 'point_label': 1, 'mask_shape': [1, 224, 224], 'mask_true_runs': runs, 'mask_area_pixels': sum(flat), 'estimated_iou': score, 'low_resolution_logits_shape': low_shape, 'generated_text_tokens': None, 'semantic_classification': False} def make_encoder(): # Actual model imports occur only in the reader-run path, not fake boundary tests. import numpy as np import torch from PIL import Image, ImageDraw from sam2.build_sam import build_sam2 from sam2.sam2_image_predictor import SAM2ImagePredictor torch.set_num_threads(4) artifact = ROOT / 'models/sam2_hiera_large.pt' if hashlib.sha256(artifact.read_bytes()).hexdigest() != MODEL_SHA: raise RuntimeError('checkpoint_hash_mismatch') model = build_sam2('configs/sam2/sam2_hiera_l.yaml', str(artifact), device='cpu', apply_postprocessing=False) model = model.float().eval() predictor = SAM2ImagePredictor(model, max_hole_area=0, max_sprinkle_area=0) # Original author geometry; no third-party input or mutable remote URL. image = Image.new('RGB', (224, 224), (240, 240, 240)) draw = ImageDraw.Draw(image) draw.rectangle((24, 24, 104, 200), fill=(220, 40, 40)) draw.ellipse((120, 64, 208, 152), fill=(30, 90, 220)) image.save(ROOT / 'fixture.png') def encode(): # Set fresh predictor state for each fixed-image request; no video state shared. try: with torch.inference_mode(): predictor.set_image(image) if list(predictor.get_image_embedding().shape) != [1, 256, 64, 64]: raise RuntimeError('coarse_embedding_shape') masks, scores, low = predictor.predict( point_coords=np.array([[64, 112]], dtype=np.float32), point_labels=np.array([1], dtype=np.int32), multimask_output=False, return_logits=False) if list(masks.shape) != [1, 224, 224] or list(scores.shape) != [1]: raise RuntimeError('output_shape') if list(low.shape) != [1, 256, 256] or not np.isfinite(low).all(): raise RuntimeError('low_logit_shape_or_finiteness') return masks[0].astype(bool).tolist(), float(scores[0]), list(low.shape) finally: predictor.reset_predictor() return encode def create_server(encoder, key, port=PORT): if not isinstance(key, str) or len(key) != 64 or any(c not in '0123456789abcdef' for c in key): raise ValueError('key_format') class Handler(BaseHTTPRequestHandler): def setup(self): super().setup() self.connection.settimeout(5) def log_message(self, *_): pass # Do not log Bearer keys or request bodies. def reply(self, status, obj): data = json.dumps(obj, allow_nan=False, separators=(',', ':')).encode() self.send_response(status) self.send_header('Content-Type', 'application/json') self.send_header('Content-Length', str(len(data))) self.send_header('Connection', 'close') self.end_headers() self.wfile.write(data) self.close_connection = True def authorized(self): values = self.headers.get_all('Authorization', []) return len(values) == 1 and hmac.compare_digest(values[0].encode(), ('Bearer ' + key).encode()) def do_GET(self): if not self.authorized(): return self.reply(401, {'error': 'unauthorized'}) if self.path != '/health': return self.reply(404, {'error': 'not_found'}) return self.reply(200, {'ready': True, 'configured_coarse_vision_positions': 4096, 'generated_text_tokens': None}) def do_POST(self): if not self.authorized(): return self.reply(401, {'error': 'unauthorized'}) if self.path != '/v1/point-segment': return self.reply(404, {'error': 'not_found'}) if self.headers.get('Transfer-Encoding') is not None: return self.reply(400, {'error': 'transfer_encoding_unsupported'}) lengths = self.headers.get_all('Content-Length', []) if len(lengths) != 1: return self.reply(411, {'error': 'content_length_required'}) raw = lengths[0] if not raw or len(raw) > 4 or any(c not in '0123456789' for c in raw): return self.reply(413, {'error': 'invalid_or_excessive_length'}) n = int(raw) if n < 1 or n > 256: return self.reply(413, {'error': 'body_limit'}) if self.headers.get_content_type() != 'application/json': return self.reply(415, {'error': 'json_required'}) try: body = self.rfile.read(n) except (TimeoutError, OSError): return self.reply(408, {'error': 'body_timeout'}) if len(body) != n: return self.reply(400, {'error': 'incomplete_body'}) try: def unique(pairs): obj = {} for k, v in pairs: if k in obj: raise ValueError('duplicate_key') obj[k] = v return obj request = json.loads(body.decode('utf-8'), object_pairs_hook=unique, parse_constant=lambda _: (_ for _ in ()).throw(ValueError('constant'))) except (ValueError, UnicodeError, RecursionError): return self.reply(400, {'error': 'invalid_json'}) if type(request) is not dict or request != {'fixture': 'author-geometry-v1'}: return self.reply(400, {'error': 'fixed_fixture_required'}) try: result = validate_mask(encoder()) except Exception: return self.reply(500, {'error': 'predictor_or_mask_failure'}) return self.reply(200, result) return HTTPServer(('127.0.0.1', port), Handler) if __name__ == '__main__': secret = (ROOT / '.api-key').read_text().strip() encoder = make_encoder() with create_server(encoder, secret) as server: server.serve_forever() PYSERVER .venv/bin/python -m py_compile sam2_image.py sha256sum --check <<'SHA256' 3c1898a944b0ba5de896cba840cd04c9ba1575b408a97054653b6e82f166782f sam2_image.py SHA256Expected result: Wrapper syntax and exact bytes verify without loading model weights.
Start the model
1. Start the fixed point segmentation experiment
Run from the dedicated workspace, outside the source checkout. Native eager CPU float32 is explicit; no CUDA autocast or optimized compiled path. Predictor state resets after each request, with no shared video/session state.
Commandcd "$HOME/sam2-image" .venv/bin/python sam2_image.pyExpected result: After a source-supported but unexecuted load, the server binds 127.0.0.1:8993. Stop on loading errors; no model load or successful mask is claimed by this guide.
Connect to your endpoint
http://127.0.0.1:8993/v1/point-segment
Same trusted desktop loopback only.
Access: loopback. Private Bearer key required for health and segmentation. Send a JSON object with fixture set to author-geometry-v1. Response contains binary-mask foreground runs, shapes, fixed point coordinates and estimated IoU. No chat schema, arbitrary uploads, URLs or file paths are accepted.
Verify the setup
1. Validate mask shape and inspect spatial quality
From a second terminal on the server, request the exact fixed fixture. Inspect fixture.png, then reconstruct mask.png from row-major foreground runs. Check finite estimated IoU and exact shapes; compare the mask overlay with the clicked red rectangle yourself. One positive point does not guarantee its entire boundary or any exact area/score. Missing authorization must return 401. Do not turn this smoke check into a quality benchmark.
Commandcd "$HOME/sam2-image" SAM_KEY="$(cat .api-key)" curl --fail http://127.0.0.1:8993/health -H "Authorization: Bearer $SAM_KEY" curl --fail http://127.0.0.1:8993/v1/point-segment -H "Authorization: Bearer $SAM_KEY" -H 'Content-Type: application/json' -d '{"fixture":"author-geometry-v1"}' -o mask.json curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:8993/health unset SAM_KEY .venv/bin/python - <<'PYVERIFY' import json,math from PIL import Image d=json.load(open('mask.json')) assert d['configured_coarse_vision_positions']==4096 and d['generated_text_tokens'] is None assert d['mask_shape']==[1,224,224] and d['low_resolution_logits_shape']==[1,256,256] assert math.isfinite(d['estimated_iou']) pixels=[0]*(224*224);previous=0 for start,length in d['mask_true_runs']: assert type(start) is int and type(length) is int and start>=previous and length>0 and start+length<=len(pixels) pixels[start:start+length]=[255]*length;previous=start+length assert sum(x>0 for x in pixels)==d['mask_area_pixels'] mask=Image.new('L',(224,224));mask.putdata(pixels);mask.save('mask.png') image=Image.open('fixture.png').convert('RGB');tint=Image.new('RGB',image.size,(0,255,0)) image.paste(Image.blend(image,tint,0.4),(0,0),mask);image.save('overlay.png') print('Inspect overlay.png and clicked point [64,112]; no exact mask quality promised.') PYVERIFYExpected result: Authenticated health and fixed segmentation return documented JSON; missing key 401. Mask shapes/RLE/finite checks pass after actual reader execution. Inspect overlay and record empty/incorrect masks as failures of the selected task, not fabricated successful segmentation.
Performance evidence
No compatible measurement available. Documented support and estimated memory do not establish response speed.
Limits and troubleshooting
- The exact frozen API identifies original July 2024 SAM2 Hiera Large while the catalog version field says 2.1. This guide exposes the discrepancy and uses original checkpoint/config; no 2.1 substitution, catalog rewrite or family-complete claim.
- 4,096 is the configured coarse 64 × 64 visual embedding position count at 1024 RGB input. Higher-resolution 256×256/128× 128 features, sparse point embeddings and learned decoder tokens are distinct; no text limit, whole internal sequence sum or global maximum is asserted.
- Exactly one original 224 RGBfixture and one positive point are used. Mask and estimated IoU are not semantic class labels, calibrated quality or a guaranteed full-object segmentation. Manual spatial inspection remains essential.
- Optional CUDA connected-component hole/sprinkle filling is omitted with SAM2_BUILD_CUDA=0 and predictor areas 0. apply_postprocessing=False also omits dynamic stability fallback. Do not claim identical masks to default GPU/postprocessed configurations.
- Exact native checkpoint LFS SHA/size and Apache 2 license statements are source metadata/text evidence; no weights were downloaded or model executed. The separately published safetensors and HF-native YAML are not silently treated as identical.
- Native runtime config RoPE initial grid 64 differs from HF-native YAML 32. Runtime recomputes frequencies for actual query shape; this source behavior is not measured numerical equivalence. The recipe pins native runtime config explicitly.
- The original checkpoint is 224.4M parameters per publisher table; A100 benchmark rows are not CPU speed or memory evidence. 32 GiB RAM, 40 GiB disk / four threads are chosen allocations; fit, latency and runtime memory remain unknown.
- This reader-authored serial HTTPServer has fixed input, private loopback/auth, bounded request body and socket timeout. It has no inference deadline, multiuser resilience or public-service suitability guarantee.
- No autoregressive text cache, tokenizer, chat/reasoning template or generation sampler applies. Output tokens are N/A. Native image features reset after each request; video memory/automatic mask generation and other checkpoints remain separate useful open scopes.
- Package versions are source-qualified but not installed/tested with the model. Transitive/system resolutions are recorded by pip freeze. Fake-mask transport tests prove request/output boundary handling only, not segmentation quality or runtime compatibility.
- Checkpoint, config or state-dictionary mismatch
- Stop and restore exact original checkpoint/native runtime config and source pins. Do not substitute SAM2.1 or HF safetensors, relax key checks or follow an unpinned convenience download.
- CUDA extension warning or missing postprocessing
- This CPU path intentionally omits hole/sprinkle cleanup and dynamic fallback. Confirm SAM2_BUILD_CUDA=0, CPU device and zero predictor cleanup areas. Do not install a GPU compiler or claim full GPU behavior from this guide.
- 401 or rejected body
- Use matching private 64-character lowercase hexadecimal key and exact fixed fixture JSON. Arbitrary image uploads, point changes, paths and URLs are not accepted by this bounded experiment.
- Empty, inaccurate or slow mask
- Inspect original fixture, point [64,112], native resize and overlay. Record actual mask defects or runtime errors. No exact area, IoU, latency or CPU fit is promised; do not call a finite but wrong mask a validated segmentation.
Stop the model
1. Stop the research endpoint
Press Ctrl+C in its foreground terminal and unset client keys. Confirm local loopback port 8993 no longer serves.
Commandunset SAM_KEYExpected result: Native process and endpoint stop; no active session state remains.
Uninstall
1. Remove dedicated experiment files
Preserve desired results and licensing records first; confirm the dedicated directory before deletion. Shared Ubuntu packages remain.
Commandrm -r -- "$HOME/sam2-image"Expected result: Dedicated checkpoint, native checkout, virtualenv, generated fixture/mask/overlay, wrapper and private key removed.
Sources and verification
Sources checked Oct 16, 2026. Verification source
- https://huggingface.co/api/models/facebook/sam2-hiera-large?blobs=truepublisher · retrieved Oct 16, 2026
- https://api.github.com/repos/facebookresearch/sam2/commits/mainpublisher · retrieved Oct 16, 2026
- https://huggingface.co/facebook/sam2-hiera-large/raw/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/README.mdpublisher · retrieved Oct 16, 2026 · revision e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- https://huggingface.co/facebook/sam2-hiera-large/raw/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/config.jsonpublisher · retrieved Oct 16, 2026 · revision e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- https://huggingface.co/facebook/sam2-hiera-large/raw/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/preprocessor_config.jsonpublisher · retrieved Oct 16, 2026 · revision e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- https://huggingface.co/facebook/sam2-hiera-large/raw/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/processor_config.jsonpublisher · retrieved Oct 16, 2026 · revision e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- https://huggingface.co/facebook/sam2-hiera-large/raw/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/sam2_hiera_l.yamlpublisher · retrieved Oct 16, 2026 · revision e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- https://huggingface.co/facebook/sam2-hiera-large/raw/e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251/video_preprocessor_config.jsonpublisher · retrieved Oct 16, 2026 · revision e6a8e8809b8f1bfa2238b6d080f3d05cc76bd251
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/README.mdpublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/LICENSEpublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/INSTALL.mdpublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/setup.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/build_sam.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/sam2_image_predictor.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/sam2_video_predictor.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/modeling/sam2_base.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/modeling/sam/prompt_encoder.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/modeling/backbones/hieradet.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/utils/transforms.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/utils/misc.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/configs/sam2/sam2_hiera_l.yamlpublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/modeling/sam/transformer.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/sam2/modeling/sam/mask_decoder.pypublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/LICENSE_cctorchpublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://raw.githubusercontent.com/facebookresearch/sam2/2b90b9f5ceec907a1c18123530e92e794ad901a4/demo/README.mdpublisher · retrieved Oct 16, 2026 · revision 2b90b9f5ceec907a1c18123530e92e794ad901a4
- https://pypi.org/pypi/numpy/2.2.3/jsonruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/hydra-core/1.3.2/jsonruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/iopath/0.1.10/jsonruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/tqdm/4.67.1/jsonruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/omegaconf/2.3.0/jsonruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/antlr4-python3-runtime/4.9.3/jsonruntime maintainer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/pytorch/vision/v0.21.0/torchvision/transforms/functional.pyruntime maintainer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/pytorch/vision/v0.21.0/torchvision/transforms/transforms.pyruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/pillow/11.1.0/jsonruntime maintainer · retrieved Oct 16, 2026
- https://download.pytorch.org/whl/cpu/torch/runtime maintainer · retrieved Oct 16, 2026
- https://docs.python.org/3.11/library/http.server.htmlruntime maintainer · retrieved Oct 16, 2026
- https://docs.python.org/3.11/library/hmac.htmlruntime maintainer · retrieved Oct 16, 2026
- https://download.pytorch.org/whl/cpu/torchvision/runtime maintainer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/pytorch/vision/v0.21.0/README.mdruntime maintainer · retrieved Oct 16, 2026
- https://pypi.org/pypi/torchvision/0.21.0/jsonruntime maintainer · retrieved Oct 16, 2026
- https://opentools.ai/llms/sam-2opentools · retrieved Oct 16, 2026 · revision sam2-reader-image-server-v1
- https://www.intel.com/content/www/us/en/products/sku/134586/intel-core-i512400-processor-18m-cache-up-to-4-40-ghz/specifications.htmlmanufacturer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/ggml/src/ggml-cpu/CMakeLists.txtruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab
- https://docs.liquid.ai/lfm/inference/llama-cppruntime maintainer · retrieved Oct 16, 2026
- https://raw.githubusercontent.com/ggml-org/llama.cpp/620d2225cc436ab0b001e3200e590e3b286ef9ab/docs/build.mdruntime maintainer · retrieved Oct 16, 2026 · revision 620d2225cc436ab0b001e3200e590e3b286ef9ab