Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit d4a0e45

Browse files
committed
Update docs for --context-size
Signed-off-by: Emily Casey <[email protected]>
1 parent 740f721 commit d4a0e45

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/reference/docker_model_package.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,20 @@ short: |
33
Package a GGUF file into a Docker model OCI artifact, with optional licenses, and pushes it to the specified registry
44
long: |
55
Package a GGUF file into a Docker model OCI artifact, with optional licenses, and pushes it to the specified registry
6-
usage: docker model package --gguf <path> [--license <path>...] --push TARGET
6+
usage: docker model package --gguf <path> [--license <path>...] [--context-size <tokens>] --push TARGET
77
pname: docker model
88
plink: docker_model.yaml
99
options:
10+
- option: context-size
11+
value_type: uint64
12+
default_value: "0"
13+
description: context size in tokens
14+
deprecated: false
15+
hidden: false
16+
experimental: false
17+
experimentalcli: false
18+
kubernetes: false
19+
swarm: false
1020
- option: gguf
1121
value_type: string
1222
description: absolute path to gguf file (required)

docs/reference/model_package.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Package a GGUF file into a Docker model OCI artifact, with optional licenses, an
77

88
| Name | Type | Default | Description |
99
|:------------------|:--------------|:--------|:--------------------------------------|
10+
| `--context-size` | `uint64` | `0` | context size in tokens |
1011
| `--gguf` | `string` | | absolute path to gguf file (required) |
1112
| `-l`, `--license` | `stringArray` | | absolute path to a license file |
1213
| `--push` | `bool` | | push to registry (required) |

0 commit comments

Comments
 (0)