MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / make_basic_config

Function make_basic_config

tests/test_basic.py:25–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def make_basic_config():
26 config = ServerConfig()
27 config.model = MODEL
28 config.kv_cache_num_tokens = 16384
29 config.max_num_tokens_per_request = 16384
30 config.port = find_free_port()
31
32 if OVERRIDES:
33 # split apart like a shell, respecting quotes
34 parsed_overrides = shlex.split(OVERRIDES)
35 pydra.apply_overrides(config, parsed_overrides)
36
37 return config
38
39
40def simple_configs():

Callers 2

simple_configsFunction · 0.70
multi_gpu_configsFunction · 0.70

Calls 2

ServerConfigClass · 0.90
find_free_portFunction · 0.90

Tested by

no test coverage detected