mirror of
https://github.com/anchore/syft.git
synced 2026-07-05 02:28:25 +02:00
schema: drift
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
16d0449cc8
commit
f9674c5f7d
@ -4094,11 +4094,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"format": {
|
"format": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Format is the source format label (always \"safetensors\" for this metadata type).\nPresent because the Docker AI model config blob carries an explicit format field\nthat can also be \"gguf\", and recording it here makes the origin explicit."
|
"description": "Format is the source format label (always \"safetensors\" for this metadata type).\nPresent because the Docker AI model config blob carries an explicit format field"
|
||||||
},
|
},
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Architecture is the model architecture (e.g., \"LlamaForCausalLM\",\n\"Qwen3MoeForConditionalGeneration\"). It is not present in the SafeTensors\nheader itself; it is enriched from the companion Hugging Face config.json\n\"architectures\" array when one is found alongside the model."
|
"description": "Architecture is the model architecture (e.g., \"LlamaForCausalLM\",\n\"Qwen3MoeForConditionalGeneration\"). It is not present in the SafeTensors\nheader itself; it is enriched from the companion config.json\n\"architectures\" array when one is found alongside the model."
|
||||||
},
|
},
|
||||||
"quantization": {
|
"quantization": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -4122,11 +4122,11 @@
|
|||||||
},
|
},
|
||||||
"userMetadata": {
|
"userMetadata": {
|
||||||
"$ref": "#/$defs/KeyValues",
|
"$ref": "#/$defs/KeyValues",
|
||||||
"description": "UserMetadata is the optional \"__metadata__\" map from a .safetensors file header\n(string-to-string key/values set by the producer). Stored as a sorted KeyValues\nslice rather than a Go map so SBOM output is stable across runs."
|
"description": "UserMetadata is the optional \"__metadata__\" map from a .safetensors file header\n(string-to-string key/values set by the producer)."
|
||||||
},
|
},
|
||||||
"metadataHash": {
|
"metadataHash": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "MetadataHash is an xxhash over the on-disk SafeTensors header (sorted tensor\nentries + __metadata__). It is derived ONLY from the safetensors file bytes —\nnever from OCI manifest, layer descriptor, or config-blob fields — so the same\nmodel content scanned via a directory source and via an OCI image produces the\nsame value. Treat this as the cross-source content fingerprint."
|
"description": "MetadataHash is an xxhash over the on-disk SafeTensors header (sorted tensor\nentries + __metadata__). It is derived ONLY from the safetensors file bytes."
|
||||||
},
|
},
|
||||||
"parts": {
|
"parts": {
|
||||||
"items": {
|
"items": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user