Saltar al contenido
ModelPublicadoExterno
Browse files

Sam3 GGUF

sam-license

TipoOtherModelo basefacebook/sam3VersiónRevision 3c4b059Ccalidad

Fuente del modelo

Tipo
Other
Tamaño del archivo
1,06–3,21 GB
Modelo base
facebook/sam3
Versión
vRevision 3c4b059
Actualizado
10 oct 2026
Descargas
106
Fuente
Hugging Face

Descripción de la fuente

SAM 3 — GGUF

Unofficial GGUF conversion of Meta's facebook/sam3 (HF Sam3VideoModel). This repository packages the original weights into GGUF containers for use with custom C++ inference stacks built on top of ggml / llama.cpp's gguf reader.

The original model is redistributed here unchanged in numerical content — only the on-disk container format differs. The SAM License terms of the upstream release apply in full (see LICENSE).

Files

FilePrecisionSize
sam3-f32.ggufFP32 (all tensors)~3.21 GB
sam3-f16.ggufFP16 (weights) + FP32 (norms / embeddings / heads / biases)~1.70 GB
sam3-q8_0.ggufQ8_0 (2-D Linear weights) + FP32 (rest)~1.06 GB

Pick one file — each is self-contained (config, tokenizer, and all tensors in a single .gguf).

What is preserved

The converter follows llama.cpp's GGUF conventions and keeps the mapping from the upstream HF release intact:

  • Tensor names are kept verbatim from model.safetensors. No renaming, no merging, no reshaping. Any custom reader can look tensors up by their original HF names (e.g. image_encoder.trunk.blocks.0.attn.qkv.weight).
  • Config KV — every key in the upstream config.json is flattened into the GGUF metadata under the sam3.* namespace (typed scalars / arrays where possible). The full raw config is additionally embedded as a single string KV sam3.config_json so nested structures survive round-tripping.
  • Tokenizer — the CLIP byte-level BPE tokenizer (vocab.json + merges.txt
    • special tokens from tokenizer_config.json) is written under the standard tokenizer.ggml.* keys, with tokenizer.ggml.model = "clip".
  • Architecture tag — general.architecture = "sam3".

Precision policy

Small / quantization-sensitive tensors are always kept at FP32 regardless of the output type. These include:

  • All 1-D tensors (biases, norms, scales)
  • Positional / temporal embeddings, RoPE frequencies, learned query/prompt tokens (mask_tokens, iou_token, obj_score_token, presence_token, ...)
  • Final projections of task/output heads (box / presence regression .layer3, and .proj_out of iou_prediction_head / pred_obj_score_head / output_hypernetworks_mlps)
  • LayerNorm / RMSNorm parameters, logit_scale, gamma tensors

For f16: everything not in the keep-FP32 list is down-cast to FP16. For q8_0: 2-D Linear weight matrices whose last dim is a multiple of 32 are quantized to GGML Q8_0 (block size 32, symmetric int8); Conv (4-D), norms, embeddings, and biases stay FP32. There is no FP16 path in the Q8_0 file — the non-quantized tensors are plain FP32.

Note

These files cannot be run with stock llama.cpp or llama-cli. SAM 3 is not an LLM — it has no LLM/segmentation graph in llama.cpp. The .gguf files here are containers intended to be consumed by a custom C++ reader (e.g. via gguf_init_from_file in ggml) paired with a SAM 3 inference implementation that mirrors the reference PyTorch model.

License

Distributed under the SAM License, inherited from the upstream facebook/sam3 release. By downloading or using these files you agree to the same terms as the original SAM 3 distribution.

Fuentes

1 fuente
Hugging FacePrincipalVersión 3c4b05904b9829d4fcd4a7159ad4a52d0f170ad4
huggingface.co/erectbranch/sam3-gguf/tree/3c4b05904b9829d4fcd4a7159ad4a52d0f170ad4

Verificado 10 oct

Download files

Artefactos del modelo

3 artefactos

sam3-f16.gguf

gguf · 1,70 GB · SHA-256 c921e9380edc…bf07 · Hugging Face

Download file

sam3-f32.gguf

gguf · 3,21 GB · SHA-256 c235942cffeb…222c · Hugging Face

Download file

sam3-q8_0.gguf

gguf · 1,06 GB · SHA-256 71ebe043c958…9cb6 · Hugging Face

Download file

Extractos de fuentes

3 extractos

--- license: other license_name: sam-license license_link: LICENSE base_model: facebook/sam3 library_name: gguf pipeline_tag: mask-generation language: - en tags: - sam3 - gguf - quantized - segmentation extra_gated_fields: First Name: text Last Name: text Date of birth: date_picker Country: country Affiliation: text Job title: type: select options: - Student - Research Graduate - AI researcher - AI developer/engineer - Reporter - Other geo: ip_location By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy: checkbox extra_gated_description: >- The information you provide will be collected, stored, processed and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/). extra_gated_button_content: Submit --- # SAM 3 — GGUF Unofficial GGUF conversion of Meta's [facebook/sam3](https://huggingface.co/facebook/sam3) (HF `Sam3VideoModel`). This repository packages the original weights into GGUF containers for use with custom C++ inference stacks built on top of [ggml](https://github.com/ggml-org/ggml) / llama.cpp's `gguf` reader. The original model is redistributed here unchanged in numerical content — only the on-disk container format differs. The SAM License terms of the upstream release apply in full (see [LICENSE](LICENSE)). ## Files | File | Precision | Size | | --- | --- | --- | | `sam3-f32.gguf` | FP32 (all tensors) | ~3.21 GB | | `sam3-f16.gguf` | FP16 (weights) + FP32 (norms / embeddings / heads / biases) | ~1.70 GB | | `sam3-q8_0.gguf` | Q8_0 (2-D Linear weights) + FP32 (rest) | ~1.06 GB | Pick one file — each is self-contained (config, tokenizer, and all tensors in a single `.gguf`). ## What is preserved The converter follows llama.cpp's GGUF conventions and keeps the mapping from the upstream HF release intact: - **Tensor names are kept verbatim** from `model.safetensors`. No renaming, no merging, no reshaping. Any custom reader can look tensors up by their original HF names (e.g. `image_encoder.trunk.blocks.0.attn.qkv.weight`). - **Config KV** — every key in the upstream `config.json` is flattened into the GGUF metadata under the `sam3.*` namespace (typed scalars / arrays where possible). The full raw config is additionally embedded as a single...

Source context: 106 downloads · 3 likes · Pipeline mask-generation · Library gguf · Repo erectbranch/sam3-gguf

Source context: 155 downloads · 0 likes · Pipeline mask-generation · Library gguf · Repo erectbranch/sam3-gguf