fix: add ShareGPT profile

This commit is contained in:
jialin
2026-03-24 16:29:41 +08:00
committed by jialin
parent 3907e1ac76
commit 48779aed29
6 changed files with 35 additions and 6 deletions
+4 -1
View File
@@ -88,5 +88,8 @@ export default {
'benchmark.form.nonLlmModel.tips':
'Benchmarking currently only supports LLM models',
'benchmark.detail.result.duration': 'Duration',
'benchmark.detail.result.basic': 'Basic'
'benchmark.detail.result.basic': 'Basic',
'benchmark.form.profile.ShareGPT': 'ShareGPT',
'benchmark.form.profile.ShareGPT.tips':
'Max throughput with realistic prompt length. The most commonly used baseline for GPU and model comparison.'
};
+4 -1
View File
@@ -88,5 +88,8 @@ export default {
'benchmark.form.nonLlmModel.tips':
'Benchmarking currently only supports LLM models',
'benchmark.detail.result.duration': 'Duration',
'benchmark.detail.result.basic': 'Basic'
'benchmark.detail.result.basic': 'Basic',
'benchmark.form.profile.ShareGPT': 'ShareGPT',
'benchmark.form.profile.ShareGPT.tips':
'Max throughput with realistic prompt length. The most commonly used baseline for GPU and model comparison.'
};
+4 -1
View File
@@ -88,5 +88,8 @@ export default {
'benchmark.form.nonLlmModel.tips':
'Benchmarking currently only supports LLM models',
'benchmark.detail.result.duration': 'Duration',
'benchmark.detail.result.basic': 'Basic'
'benchmark.detail.result.basic': 'Basic',
'benchmark.form.profile.ShareGPT': 'ShareGPT',
'benchmark.form.profile.ShareGPT.tips':
'Max throughput with realistic prompt length. The most commonly used baseline for GPU and model comparison.'
};
+4 -1
View File
@@ -87,5 +87,8 @@ export default {
'benchmark.table.export.results': '导出结果',
'benchmark.form.nonLlmModel.tips': '基准测试目前仅支持 LLM 模型',
'benchmark.detail.result.duration': '耗时',
'benchmark.detail.result.basic': '基础信息'
'benchmark.detail.result.basic': '基础信息',
'benchmark.form.profile.ShareGPT': 'ShareGPT',
'benchmark.form.profile.ShareGPT.tips':
'基于真实提示词长度的最大吞吐表现,是最常用的 GPU 与模型对比基准。'
};
@@ -74,8 +74,17 @@ const RightActions: React.FC<RightActionsProps> = ({
id: 'benchmark.table.filter.byProfile'
})}
style={{ width: 160 }}
options={profileOptions.map((item) => ({
label: intl.formatMessage({ id: item.label }),
options={[
...profileOptions,
{
label: 'backend.custom',
locale: true,
value: 'Custom'
}
].map((item) => ({
label: item.locale
? intl.formatMessage({ id: item.label })
: item.label,
value: item.value
}))}
onChange={(value, option) =>
+8
View File
@@ -36,6 +36,7 @@ export const ProfileValueMap = {
ThroughputMedium: 'Throughput',
LongContextStress: 'Long Context',
GenerationHeavy: 'Generation Heavy',
ShareGPT: 'ShareGPT',
Custom: 'Custom'
};
@@ -44,6 +45,7 @@ export const ProfileLabelMap = {
[ProfileValueMap.ThroughputMedium]: 'benchmark.form.profile.throughput',
[ProfileValueMap.LongContextStress]: 'benchmark.form.profile.longContext',
[ProfileValueMap.GenerationHeavy]: 'benchmark.form.profile.heavy',
[ProfileValueMap.ShareGPT]: 'benchmark.form.profile.ShareGPT',
[ProfileValueMap.Custom]: 'benchmark.form.profile.custom'
};
@@ -71,6 +73,12 @@ export const profileOptions = [
tips: 'benchmark.form.profile.heavy.tips',
value: ProfileValueMap.GenerationHeavy,
locale: true
},
{
label: 'benchmark.form.profile.ShareGPT',
tips: 'benchmark.form.profile.ShareGPT.tips',
value: ProfileValueMap.ShareGPT,
locale: true
}
];