mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-21 17:52:09 +00:00
16 lines
408 B
Django/Jinja
16 lines
408 B
Django/Jinja
{% include 'main.js.j2' %}
|
|
|
|
export function get_options() {
|
|
return {
|
|
scenarios: {
|
|
load_test: {
|
|
executor: 'constant-arrival-rate',
|
|
gracefulStop: '0s',
|
|
duration: '{{ duration }}',
|
|
preAllocatedVUs: {{ pre_allocated_vus }},
|
|
rate: {{ rate }},
|
|
timeUnit: '1s',
|
|
},
|
|
},
|
|
};
|
|
} |