Skip to content

Commit 091ee81

Browse files
committed
fix: update specification for model weight media types
Clarified descriptions for `application/vnd.cncf.model.weight.v1.tar+gzip` and `application/vnd.cncf.model.weight.v1.tar+zstd` to specify that they contain the model weight file, ensuring consistency in the documentation. Signed-off-by: Zhao Chen <[email protected]>
1 parent 2444492 commit 091ee81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The image manifest of model artifacts follows the [OCI Image Manifest Specificat
4646

4747
- `application/vnd.cncf.model.weight.v1.tar`: The layer is a [tar archive][tar-archive] that contains the model weight file. If the model has multiple weight files, they SHOULD be packaged into separate layers.
4848

49-
- `application/vnd.cncf.model.weight.v1.tar+gzip`: The layer is a [tar archive][tar-archive] that includes the configuration file for the model weights. The archive is compressed with [gzip][rfc1952_2].
49+
- `application/vnd.cncf.model.weight.v1.tar+gzip`: The layer is a [tar archive][tar-archive] that contains the model weight file. The archive is compressed with [gzip][rfc1952_2].
5050

51-
- `application/vnd.cncf.model.weight.v1.tar+zstd`: The layer is a [tar archive][tar-archive] that includes the configuration file for the model weights. The archive is compressed with [zstd][rfc8478].
51+
- `application/vnd.cncf.model.weight.v1.tar+zstd`: The layer is a [tar archive][tar-archive] that contains the model weight file. The archive is compressed with [zstd][rfc8478].
5252

5353
- `application/vnd.cncf.model.weight.config.v1.raw`: The layer is an unarchived, uncompressed config of the model weights like tokenizer.json, config.json, etc.
5454

0 commit comments

Comments
 (0)