ollama/cmd
Daniel Hiltgen 16b4376aea
bench: use HumanEval patch prompts (#17480)
* bench: use code prompts for prompt-token runs

Replace the synthetic word-list prompt with packed HumanEval Python prompts so speculative draft models see code-like continuations.

Keep the benchmark on the chat path, and calibrate -prompt-tokens with untimed chat probes that read PromptEvalCount instead of relying on a separate token-count API.

Each request still gets a nonce prefix to avoid prefix-cache hits while timed epochs measure the chat-rendered workload.

* review comments

* use different windows for each epoch

* add OpenAI API support

* address comments
2026-09-26 07:29:54 -07:00
..
bench bench: use HumanEval patch prompts (#17480) 2026-09-26 07:29:54 -07:00
config cli: add first-run onboarding shared with the desktop app (#18495) 2026-09-17 11:49:24 -07:00
internal/fileutil cmd: remove built-in agent (#18393) 2026-09-11 12:21:52 -07:00
launch launch: default Claude Code to client-side auto checks (#18596) 2026-09-23 15:20:45 -07:00
tui cli: add first-run onboarding shared with the desktop app (#18495) 2026-09-17 11:49:24 -07:00
cloud_suggest.go Merge pull request #17483 from ollama/drifkin/suggest-cloud 2026-07-31 14:28:04 -07:00
cloud_suggest_test.go Merge pull request #17483 from ollama/drifkin/suggest-cloud 2026-07-31 14:28:04 -07:00
cmd.go api: deprecate typical_p (#18627) 2026-09-24 15:03:28 -07:00
cmd_launcher_test.go launch: rename Codex App integration to ChatGPT (#17161) 2026-07-13 14:34:17 -07:00
cmd_test.go api: deprecate typical_p (#18627) 2026-09-24 15:03:28 -07:00
create_safetensors.go mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
create_safetensors_remote.go mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
create_safetensors_remote_test.go mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
create_safetensors_test.go mlxrunner, cmd, server: fold three small packages into their users 2026-09-16 14:06:08 -07:00
editor_unix.go feature: add ctrl-g to allow users to use an editor to edit their prompt (#14197) 2026-02-11 13:04:41 -08:00
editor_windows.go feature: add ctrl-g to allow users to use an editor to edit their prompt (#14197) 2026-02-11 13:04:41 -08:00
interactive.go api: deprecate typical_p (#18627) 2026-09-24 15:03:28 -07:00
interactive_test.go cmd: guard empty editor before indexing fields (#17067) 2026-08-24 09:50:40 -07:00
start.go
start_darwin.go
start_default.go
start_windows.go lint fixes (#17897) 2026-08-20 10:23:25 -07:00
warn_thinking_test.go
welcome.go cli: add first-run onboarding shared with the desktop app (#18495) 2026-09-17 11:49:24 -07:00
welcome_test.go cli: add first-run onboarding shared with the desktop app (#18495) 2026-09-17 11:49:24 -07:00