mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-30 10:42:07 +00:00
21 lines
598 B
Plaintext
21 lines
598 B
Plaintext
|
{% 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 %}
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
}
|