Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

AWS details llama.cpp decision-model serving on SageMaker AI with SemIf

AI summary

AWS published a walkthrough for serving decision models with llama.cpp on Amazon SageMaker AI using specialized Deep Learning Containers. The standard path deploys a GGUF model from Amazon S3 and maps InvokeEndpoint to llama-server's OpenAI-compatible chat completions; an optional SemIf child image (SemIf was formerly OpenJev) returns probabilities over caller-declared options by reading final-position logits instead of decoding an answer token. On 231 public JevBench tasks with Qwen3.5-4B Q4_K_M, a 32-thread CPU endpoint (ml.c6i.8xlarge) was correct on 179/231 (77.5%, p50 1.715s, p95 19.291s), while full GPU offload on ml.g6e.xlarge scored 180/231 (77.9%, p50 0.352s, p95 0.599s) — 4.9x faster at p50 and 32.2x at p95. AWS says the two images used different llama.cpp builds and disagreed on six hard tasks, so it calls the accuracy gap runtime variation rather than proof that GPU offload improves quality, and cites Jev, Kev and Strands Decider 2B as related decision-model work.

In-depth insight

It gives teams a managed way to serve decision models that return probabilities over predefined options, instead of parsing generated text.

Amazon SageMaker AIllama.cppSemIf

Original · 10 min readRead the original
Group chat

No comments yet. Start the conversation.