docker model package don't update context size

Open
#962 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, go

Research direction

Start by reproducing the issue with the shown docker model ls, docker model rm, and docker model package commands, then trace the docker model package implementation. Confirm where the --context-size value is stored or applied; done means the packaged gemma4:12B_256k model reports or uses the requested 262144-token context size.

Written by the indexing model from the issue text.

Description

Image
docker model ls
docker model rm gemma4:12B_256k
docker model package --from ai/gemma4:12B --context-size 262144 gemma4:12B_256k

expected result changed context window size

Dominant language
Go
Stars
665
Forks
161
Avg merge
4h 25m
Merged PRs (30d)
18

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/model-runner

All issues in docker/model-runner

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.