parent
5b20a7edb8
commit
b27ebaaccf
@ -1 +1 @@
|
||||
src/components/icon-font/iconfont.js
|
||||
src/components/icon-font/iconfont/iconfont.js
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
import { createFromIconfontCN } from '@ant-design/icons';
|
||||
// import './iconfont/iconfont.js';
|
||||
import './iconfont/iconfont.js';
|
||||
|
||||
const IconFont = createFromIconfontCN({
|
||||
scriptUrl: '//at.alicdn.com/t/c/font_4613488_hlvsvytu57b.js'
|
||||
scriptUrl: ''
|
||||
});
|
||||
|
||||
export default IconFont;
|
||||
|
||||
@ -0,0 +1,96 @@
|
||||
const options = [
|
||||
{
|
||||
label: '--log-level',
|
||||
value: '--log-level',
|
||||
options: ['Verbose', 'Info', 'Warning', 'Warn', 'Error', 'Debug']
|
||||
},
|
||||
{
|
||||
label: '--max-seq-len',
|
||||
value: '--max-seq-len'
|
||||
},
|
||||
{
|
||||
label: '--max-input-token-len',
|
||||
value: '--max-input-token-len'
|
||||
},
|
||||
{
|
||||
label: '--cpu-mem-size',
|
||||
value: '--cpu-mem-size'
|
||||
},
|
||||
{
|
||||
label: '--npu-memory-fraction',
|
||||
value: '--npu-memory-fraction'
|
||||
},
|
||||
{
|
||||
label: '--cache-block-size',
|
||||
value: '--cache-block-size'
|
||||
},
|
||||
{
|
||||
label: '--max-prefill-batch-size',
|
||||
value: '--max-prefill-batch-size'
|
||||
},
|
||||
{
|
||||
label: '--prefill-time-ms-per-req',
|
||||
value: '--prefill-time-ms-per-req',
|
||||
options: ['0', '1', '2', '3']
|
||||
},
|
||||
{
|
||||
label: '--prefill-policy-type',
|
||||
value: '--prefill-policy-type'
|
||||
},
|
||||
{
|
||||
label: '--max-batch-size',
|
||||
value: '--max-batch-size'
|
||||
},
|
||||
{
|
||||
label: '--decode-time-ms-per-req',
|
||||
value: '--decode-time-ms-per-req'
|
||||
},
|
||||
{
|
||||
label: '--decode-policy-type',
|
||||
value: '--decode-policy-type',
|
||||
options: ['0', '1', '2', '3']
|
||||
},
|
||||
{
|
||||
label: '--max-preempt-count',
|
||||
value: '--max-preempt-count'
|
||||
},
|
||||
{
|
||||
label: '--support-select-batch',
|
||||
value: '--support-select-batch'
|
||||
},
|
||||
{
|
||||
label: '--max-queue-delay-microseconds',
|
||||
value: '--max-queue-delay-microseconds'
|
||||
},
|
||||
{
|
||||
label: '--enable-prefix-caching',
|
||||
value: '--enable-prefix-caching'
|
||||
},
|
||||
{
|
||||
label: '--metrics',
|
||||
value: '--metrics'
|
||||
},
|
||||
{
|
||||
label: '--enforce-eager',
|
||||
value: '--enforce-eager'
|
||||
},
|
||||
{
|
||||
label: '--trust-remote-code',
|
||||
value: '--trust-remote-code'
|
||||
}
|
||||
];
|
||||
|
||||
const resultList = options.map((option) => {
|
||||
return {
|
||||
label: option.label,
|
||||
value: option.value,
|
||||
opts: option.options?.map((opt) => {
|
||||
return {
|
||||
label: opt,
|
||||
value: opt
|
||||
};
|
||||
})
|
||||
};
|
||||
});
|
||||
|
||||
export default resultList;
|
||||
Loading…
Reference in new issue