From a285279b589e023bc851166e16b8396e5152669d Mon Sep 17 00:00:00 2001 From: Vikhyat Korrapati Date: Mon, 3 Aug 2026 10:57:44 -0700 Subject: [PATCH 1/3] Require explicit Photon model in local docs --- docs/running-locally.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/running-locally.md b/docs/running-locally.md index 4d3174c..5f12a2c 100644 --- a/docs/running-locally.md +++ b/docs/running-locally.md @@ -37,7 +37,7 @@ import moondream as md from PIL import Image # Initialize Photon local inference (NVIDIA GPU or Apple Silicon) -model = md.photon() +model = md.photon("moondream3-preview") # Load an image image = Image.open("path/to/image.jpg") @@ -71,16 +71,16 @@ segment = model.segment(image, "person") print("SVG path:", segment["path"]) ``` -`md.vl(local=True, ...)` remains supported for existing applications and -delegates to `md.photon(...)`. +`md.vl(local=True, model="moondream3-preview", ...)` remains supported for +existing applications and delegates to `md.photon(...)`. ## Configuration ### Model Selection ```python -# Moondream 3 Preview (default) -moondream3 = md.photon() +# Moondream 3 Preview +moondream3 = md.photon("moondream3-preview") # Moondream 2 moondream2 = md.photon("moondream2") From 39a7d0aed2ea4bd2d3e5e9991ca18e9764bb8a76 Mon Sep 17 00:00:00 2001 From: Vikhyat Korrapati Date: Mon, 3 Aug 2026 10:58:54 -0700 Subject: [PATCH 2/3] Use Moondream 3.1 in Photon quick start --- docs/running-locally.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/running-locally.md b/docs/running-locally.md index 5f12a2c..805e548 100644 --- a/docs/running-locally.md +++ b/docs/running-locally.md @@ -37,7 +37,7 @@ import moondream as md from PIL import Image # Initialize Photon local inference (NVIDIA GPU or Apple Silicon) -model = md.photon("moondream3-preview") +model = md.photon("moondream3.1-9B-A2B") # Load an image image = Image.open("path/to/image.jpg") @@ -71,7 +71,7 @@ segment = model.segment(image, "person") print("SVG path:", segment["path"]) ``` -`md.vl(local=True, model="moondream3-preview", ...)` remains supported for +`md.vl(local=True, model="moondream3.1-9B-A2B", ...)` remains supported for existing applications and delegates to `md.photon(...)`. ## Configuration @@ -79,14 +79,14 @@ existing applications and delegates to `md.photon(...)`. ### Model Selection ```python -# Moondream 3 Preview -moondream3 = md.photon("moondream3-preview") +# Moondream 3.1 9B A2B +moondream31 = md.photon("moondream3.1-9B-A2B") # Moondream 2 moondream2 = md.photon("moondream2") -# Moondream 3.1 9B A2B -moondream31 = md.photon("moondream3.1-9B-A2B") +# Moondream 3 Preview +moondream3 = md.photon("moondream3-preview") # Qwen 3.5 4B qwen = md.photon("Qwen/Qwen3.5-4B") From caa80b9abdb96305329975576b9bdbb9f3e2081d Mon Sep 17 00:00:00 2001 From: Vikhyat Korrapati Date: Mon, 3 Aug 2026 11:00:30 -0700 Subject: [PATCH 3/3] Clarify local chat example --- docs/running-locally.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/running-locally.md b/docs/running-locally.md index 805e548..1e7b8ac 100644 --- a/docs/running-locally.md +++ b/docs/running-locally.md @@ -50,7 +50,7 @@ print("Caption:", caption) answer = model.query(image, "What's in this image?")["answer"] print("Answer:", answer) -# Continue a conversation +# Start a chat chat = model.chat([ {"role": "user", "content": "Write a short poem about the moon."}, ])