Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit 08efe0f

Browse files
committed
Provide guidance for packaging sharded models in help text
Signed-off-by: Emily Casey <emily.casey@docker.com>
1 parent 83efc55 commit 08efe0f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

commands/package.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ func newPackagedCmd() *cobra.Command {
2525

2626
c := &cobra.Command{
2727
Use: "package --gguf <path> [--license <path>...] [--context-size <tokens>] [--push] MODEL",
28-
Short: "Package a GGUF file into a Docker model OCI artifact, with optional licenses. The package is sent to the model-runner, unless --push is specified",
28+
Short: "Package a GGUF file into a Docker model OCI artifact, with optional licenses.",
29+
Long: "Package a GGUF file into a Docker model OCI artifact, with optional licenses. The package is sent to the model-runner, unless --push is specified.\n" +
30+
"When packaging a sharded model --gguf should point to the first shard. All shard files should be siblings and should include the index in the file name (e.g. model-00001-of-00015.gguf).",
2931
Args: func(cmd *cobra.Command, args []string) error {
3032
if len(args) != 1 {
3133
return fmt.Errorf(

0 commit comments

Comments
 (0)