mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-29 02:02:08 +00:00
21 lines
598 B
Django/Jinja
21 lines
598 B
Django/Jinja
{% include 'main.js.j2' %}
|
|
|
|
export function get_options() {
|
|
return {
|
|
scenarios: {
|
|
load_test: {
|
|
executor: 'ramping-arrival-rate',
|
|
gracefulStop: '0s',
|
|
preAllocatedVUs: {{ pre_allocated_vus }},
|
|
timeUnit: '{{ time_unit }}',
|
|
startRate: {{ start_rate }},
|
|
stages: [
|
|
{%- for stage in stages %}
|
|
{target: {{ stage.target }}, duration: '{{ stage.duration }}'},
|
|
{%- endfor %}
|
|
],
|
|
},
|
|
},
|
|
};
|
|
}
|