chore: add model api
This commit is contained in:
@@ -55,5 +55,10 @@ export default {
|
||||
'Select a label to generate the command and copy it using the copy button.',
|
||||
'resources.worker.script.install': 'Script Installation',
|
||||
'resources.worker.container.install': 'Container Installation(Linux Only)',
|
||||
'resources.worker.cann.tips': `Set <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES</span> to the required GPU indices. For GPU0 to GPU3, use <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0,1,2,3</span> or <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0-3</span>.`
|
||||
'resources.worker.cann.tips': `Set <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES</span> to the required GPU indices. For GPU0 to GPU3, use <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0,1,2,3</span> or <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0-3</span>.`,
|
||||
'resources.modelfiles.form.path': 'Storage path',
|
||||
'resources.modelfiles.modelfile': 'Model File',
|
||||
'resources.modelfiles.download': 'Download Model',
|
||||
'resources.modelfiles.size': 'Size',
|
||||
'resources.modelfiles.selecttarget': 'Select Target'
|
||||
};
|
||||
|
||||
@@ -55,6 +55,18 @@ export default {
|
||||
'Выберите метку для генерации команды и скопируйте её.',
|
||||
'resources.worker.script.install': 'Установка скриптом',
|
||||
'resources.worker.container.install': 'Установка контейнером (только Linux)',
|
||||
'resources.worker.cann.tips':
|
||||
`Укажите индексы GPU через <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0,1,2,3</span> или <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0-3</span>.`
|
||||
'resources.worker.cann.tips': `Укажите индексы GPU через <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0,1,2,3</span> или <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0-3</span>.`,
|
||||
'resources.modelfiles.form.path': 'Storage path',
|
||||
'resources.modelfiles.modelfile': 'Model File',
|
||||
'resources.modelfiles.download': 'Add Model',
|
||||
'resources.modelfiles.size': 'Size',
|
||||
'resources.modelfiles.selecttarget': 'Select Target'
|
||||
};
|
||||
|
||||
// ========== To-Do: Translate Keys (Remove After Translation) ==========
|
||||
//1. 'resources.modelfiles.form.path',
|
||||
//2. 'resources.modelfiles.modelfile',
|
||||
//3. 'resources.modelfiles.download',
|
||||
//4. 'resources.modelfiles.size',
|
||||
//5. 'resources.modelfiles.selecttarget',
|
||||
// ========== End of To-Do List ==========
|
||||
|
||||
@@ -54,5 +54,10 @@ export default {
|
||||
'resources.worker.script.install': '脚本安装',
|
||||
'resources.worker.container.install': '容器安装(仅支持 Linux)',
|
||||
'resources.worker.cann.tips':
|
||||
'按需要挂载的 GPU index 设置 <span style="color: #000;font-weight: 600">ASCEND_VISIBLE_DEVICES</span>,如需挂载 GPU0 - GPU3,则设为 <span style="color: #000;font-weight: 600">ASCEND_VISIBLE_DEVICES=0,1,2,3</span> 或 <span style="color: #000;font-weight: 600">ASCEND_VISIBLE_DEVICES=0-3</span>'
|
||||
'按需要挂载的 GPU index 设置 <span style="color: #000;font-weight: 600">ASCEND_VISIBLE_DEVICES</span>,如需挂载 GPU0 - GPU3,则设为 <span style="color: #000;font-weight: 600">ASCEND_VISIBLE_DEVICES=0,1,2,3</span> 或 <span style="color: #000;font-weight: 600">ASCEND_VISIBLE_DEVICES=0-3</span>',
|
||||
'resources.modelfiles.form.path': '存储路径',
|
||||
'resources.modelfiles.modelfile': '模型文件',
|
||||
'resources.modelfiles.download': '添加模型',
|
||||
'resources.modelfiles.size': '文件大小',
|
||||
'resources.modelfiles.selecttarget': '选择目标位置'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user