MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / get_prompts_rng

Function get_prompts_rng

subprojects/llama.cpp/scripts/server-bench.py:46–47  ·  view source on GitHub ↗
(prompt_lengths: list[int])

Source from the content-addressed store, hash-verified

44
45
46def get_prompts_rng(prompt_lengths: list[int]) -> list[list[int]]:
47 return [[random.randint(100, 10000) for _ in range(pl)] for pl in prompt_lengths]
48
49
50def get_server(path_server: str, path_log: Optional[str]) -> dict:

Callers 1

benchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected