mlboydaisuke commited on
Commit
2d2acb2
·
verified ·
1 Parent(s): 68a57e2

Add LiteRT-LM 0.20.0 to the 10-minute limit of a blocking send

Browse files

The card's 10-minute note and the same known issue in litertlm_manifest.json now say that the blocking send of LiteRT-LM 0.20.0 also fails a reply that is still generating after 10 minutes with DEADLINE_EXCEEDED.

Files changed (2) hide show
  1. README.md +1 -1
  2. litertlm_manifest.json +3 -3
README.md CHANGED
@@ -144,7 +144,7 @@ Peak resident is the process's VmHWM. The GPU engine's memory is not in it. It s
144
  - **Message whitespace.** The files' chat template keeps the whitespace at the start and end of each message, and the publisher's template removes it. Strip each message to get the publisher's prompt.
145
  - **`<|endoftext|>` in a prompt.** A `<|endoftext|>` token (id 248044) in a prompt is treated as padding: the Gated DeltaNet layers get a zero input at that position.
146
  - **One engine per conversation.** Create a new engine for each conversation, as every reply on this card did. See [LiteRT-LM #3165](https://github.com/google-ai-edge/LiteRT-LM/issues/3165).
147
- - **10-minute limit of a blocking send.** With LiteRT-LM 0.19.0 and 0.18.1, the blocking send (Python `send_message`, C `litert_lm_conversation_send_message`, C++ `Conversation::SendMessage`) fails a reply that is still generating after 10 minutes with `DEADLINE_EXCEEDED`, and streaming with `send_message_async` ran past 10 minutes without it. LiteRT-LM 0.20.0 was not checked. At the decode speeds in the table, 10 minutes of decoding is about 3,500 to 7,700 tokens (600 s × 5.889 to 12.861 tok/s).
148
  - **A message that overflows the context.** With LiteRT-LM 0.19.1 and 0.19.2, once a message failed because it did not fit in the context window, every later message in that conversation failed too, with `Task failed with state: 7`; a new conversation answered. LiteRT-LM 0.20.0 was not checked.
149
  - **GPU program cache on Android.** On the Pixel 11 Pro and the Galaxy S26, the second GPU engine loaded the program cache that the first one wrote, and the program cache did not grow. Creating the engine took 47.34 s, then 13.32 s on the Pixel 11 Pro, and 8.65 s, then 6.86 s on the Galaxy S26.
150
  - **Phones with 8 GB of memory.** On a phone with 8 GB of memory, the GPU engine of the phone file is not expected to fit: with the file's 16,384-token KV cache, in the eight-question runs, the phone's available memory fell by about 5.65–5.84 GB on the Pixel 11 Pro and 6.06–6.42 GB on the Galaxy S26. The phone file was not run on an 8 GB phone.
 
144
  - **Message whitespace.** The files' chat template keeps the whitespace at the start and end of each message, and the publisher's template removes it. Strip each message to get the publisher's prompt.
145
  - **`<|endoftext|>` in a prompt.** A `<|endoftext|>` token (id 248044) in a prompt is treated as padding: the Gated DeltaNet layers get a zero input at that position.
146
  - **One engine per conversation.** Create a new engine for each conversation, as every reply on this card did. See [LiteRT-LM #3165](https://github.com/google-ai-edge/LiteRT-LM/issues/3165).
147
+ - **10-minute limit of a blocking send.** With LiteRT-LM 0.20.0, 0.19.0 and 0.18.1, the blocking send (Python `send_message`, C `litert_lm_conversation_send_message`, C++ `Conversation::SendMessage`) fails a reply that is still generating after 10 minutes with `DEADLINE_EXCEEDED`. With 0.19.0 and 0.18.1, streaming with `send_message_async` ran past 10 minutes without it; with 0.20.0, streaming was not checked. Both were measured with the test model in LiteRT-LM's repository, `runtime/testdata/test_lm_dynamic.litertlm`, not with these files. At the decode speeds in the table, 10 minutes of decoding is about 3,500 to 7,700 tokens (600 s × 5.889 to 12.861 tok/s).
148
  - **A message that overflows the context.** With LiteRT-LM 0.19.1 and 0.19.2, once a message failed because it did not fit in the context window, every later message in that conversation failed too, with `Task failed with state: 7`; a new conversation answered. LiteRT-LM 0.20.0 was not checked.
149
  - **GPU program cache on Android.** On the Pixel 11 Pro and the Galaxy S26, the second GPU engine loaded the program cache that the first one wrote, and the program cache did not grow. Creating the engine took 47.34 s, then 13.32 s on the Pixel 11 Pro, and 8.65 s, then 6.86 s on the Galaxy S26.
150
  - **Phones with 8 GB of memory.** On a phone with 8 GB of memory, the GPU engine of the phone file is not expected to fit: with the file's 16,384-token KV cache, in the eight-question runs, the phone's available memory fell by about 5.65–5.84 GB on the Pixel 11 Pro and 6.06–6.42 GB on the Galaxy S26. The phone file was not run on an 8 GB phone.
litertlm_manifest.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "manifest_schema": "0.1.5",
3
  "repo": "litert-community/CCORE-Web-Coder-4B",
4
- "generated": "2026-11-30",
5
  "generator": "make_manifest.py",
6
  "model": {
7
  "display_name": "CCORE-Web-Coder-4B",
@@ -222,7 +222,7 @@
222
  "The file's chat template keeps the whitespace at the start and end of each message, and the publisher's template removes it; strip each message to get the publisher's prompt.",
223
  "Create a new engine for each conversation, as every reply checked here did (LiteRT-LM #3165, https://github.com/google-ai-edge/LiteRT-LM/issues/3165).",
224
  "A <|endoftext|> token (id 248044) in a prompt is treated as padding: the Gated DeltaNet layers get a zero input at that position (all seven signatures of the file compare the input tokens with 248044).",
225
- "With LiteRT-LM 0.19.0 and 0.18.1, the blocking send (Python send_message, C litert_lm_conversation_send_message, C++ Conversation::SendMessage) fails a reply that is still generating after 10 minutes with DEADLINE_EXCEEDED, and streaming with send_message_async ran past 10 minutes without it; LiteRT-LM 0.20.0 was not checked.",
226
  "With LiteRT-LM 0.19.1 and 0.19.2, once a message failed because it did not fit in the context window, every later message in that conversation failed too, with 'Task failed with state: 7'; a new conversation answered. LiteRT-LM 0.20.0 was not checked."
227
  ],
228
  "context_length": 16384
@@ -296,7 +296,7 @@
296
  "The file's chat template keeps the whitespace at the start and end of each message, and the publisher's template removes it; strip each message to get the publisher's prompt.",
297
  "Create a new engine for each conversation, as every reply checked here did (LiteRT-LM #3165, https://github.com/google-ai-edge/LiteRT-LM/issues/3165).",
298
  "A <|endoftext|> token (id 248044) in a prompt is treated as padding: the Gated DeltaNet layers get a zero input at that position (all seven signatures of the file compare the input tokens with 248044).",
299
- "With LiteRT-LM 0.19.0 and 0.18.1, the blocking send (Python send_message, C litert_lm_conversation_send_message, C++ Conversation::SendMessage) fails a reply that is still generating after 10 minutes with DEADLINE_EXCEEDED, and streaming with send_message_async ran past 10 minutes without it; LiteRT-LM 0.20.0 was not checked.",
300
  "With LiteRT-LM 0.19.1 and 0.19.2, once a message failed because it did not fit in the context window, every later message in that conversation failed too, with 'Task failed with state: 7'; a new conversation answered. LiteRT-LM 0.20.0 was not checked."
301
  ],
302
  "context_length": 32768
 
1
  {
2
  "manifest_schema": "0.1.5",
3
  "repo": "litert-community/CCORE-Web-Coder-4B",
4
+ "generated": "2026-12-01",
5
  "generator": "make_manifest.py",
6
  "model": {
7
  "display_name": "CCORE-Web-Coder-4B",
 
222
  "The file's chat template keeps the whitespace at the start and end of each message, and the publisher's template removes it; strip each message to get the publisher's prompt.",
223
  "Create a new engine for each conversation, as every reply checked here did (LiteRT-LM #3165, https://github.com/google-ai-edge/LiteRT-LM/issues/3165).",
224
  "A <|endoftext|> token (id 248044) in a prompt is treated as padding: the Gated DeltaNet layers get a zero input at that position (all seven signatures of the file compare the input tokens with 248044).",
225
+ "With LiteRT-LM 0.20.0, 0.19.0 and 0.18.1, the blocking send (Python send_message, C litert_lm_conversation_send_message, C++ Conversation::SendMessage) fails a reply that is still generating after 10 minutes with DEADLINE_EXCEEDED. With 0.19.0 and 0.18.1, streaming with send_message_async ran past 10 minutes without it; with 0.20.0, streaming was not checked. Both were measured with the test model in LiteRT-LM's repository, runtime/testdata/test_lm_dynamic.litertlm, not with this file.",
226
  "With LiteRT-LM 0.19.1 and 0.19.2, once a message failed because it did not fit in the context window, every later message in that conversation failed too, with 'Task failed with state: 7'; a new conversation answered. LiteRT-LM 0.20.0 was not checked."
227
  ],
228
  "context_length": 16384
 
296
  "The file's chat template keeps the whitespace at the start and end of each message, and the publisher's template removes it; strip each message to get the publisher's prompt.",
297
  "Create a new engine for each conversation, as every reply checked here did (LiteRT-LM #3165, https://github.com/google-ai-edge/LiteRT-LM/issues/3165).",
298
  "A <|endoftext|> token (id 248044) in a prompt is treated as padding: the Gated DeltaNet layers get a zero input at that position (all seven signatures of the file compare the input tokens with 248044).",
299
+ "With LiteRT-LM 0.20.0, 0.19.0 and 0.18.1, the blocking send (Python send_message, C litert_lm_conversation_send_message, C++ Conversation::SendMessage) fails a reply that is still generating after 10 minutes with DEADLINE_EXCEEDED. With 0.19.0 and 0.18.1, streaming with send_message_async ran past 10 minutes without it; with 0.20.0, streaming was not checked. Both were measured with the test model in LiteRT-LM's repository, runtime/testdata/test_lm_dynamic.litertlm, not with this file.",
300
  "With LiteRT-LM 0.19.1 and 0.19.2, once a message failed because it did not fit in the context window, every later message in that conversation failed too, with 'Task failed with state: 7'; a new conversation answered. LiteRT-LM 0.20.0 was not checked."
301
  ],
302
  "context_length": 32768