fix: update add worker command
This commit is contained in:
@@ -127,7 +127,7 @@ export default {
|
||||
'clusters.create.k8sTips2':
|
||||
'You can also skip this step and register it later from the cluster list.',
|
||||
'clusters.addworker.theadNotes':
|
||||
'If the <span class="bold-text">/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head installed path: <span class="bold-text">ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>.',
|
||||
'If the <span class="bold-text">/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head PPU SDK installed path: <span class="bold-text">ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>.',
|
||||
'clusters.addworker.theadNotes-02':
|
||||
'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the <span class="bold-text">/var/run/cdi</span> directory to be available for CDI generation.'
|
||||
};
|
||||
|
||||
@@ -6,5 +6,5 @@ export default {
|
||||
'vendor.iluvatar': 'Iluvatar',
|
||||
'vendor.metax': 'Metax',
|
||||
'vendor.cambricon': 'Cambricon',
|
||||
'vendor.thead': 'T-Head (PPU)'
|
||||
'vendor.thead': 'T-Head PPU'
|
||||
};
|
||||
|
||||
@@ -127,7 +127,7 @@ export default {
|
||||
'clusters.create.k8sTips2':
|
||||
'You can also skip this step and register it later from the cluster list.',
|
||||
'clusters.addworker.theadNotes':
|
||||
'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head PPU SDK installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
'clusters.addworker.theadNotes-02':
|
||||
'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the <span class="bold-text">/var/run/cdi</span> directory to be available for CDI generation.'
|
||||
};
|
||||
@@ -231,6 +231,6 @@ export default {
|
||||
// 92. 'clusters.create.k8sTips1': 'Next, register existing Kubernetes cluster.',
|
||||
// 93. 'clusters.create.k8sTips2': 'You can also skip this step and register it later from the cluster list.',
|
||||
// 94. 'clusters.create.steps.configure': 'Configure',
|
||||
// 99. 'clusters.addworker.theadNotes': 'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
// 99. 'clusters.addworker.theadNotes': 'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head PPU SDK installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
// 100. 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the <span class="bold-text">/var/run/cdi</span> directory to be available for CDI generation.'
|
||||
// ========== End of To-Do List ==========
|
||||
|
||||
@@ -6,5 +6,5 @@ export default {
|
||||
'vendor.iluvatar': 'Iluvatar',
|
||||
'vendor.metax': 'Metax',
|
||||
'vendor.cambricon': 'Cambricon',
|
||||
'vendor.thead': 'T-Head (PPU)'
|
||||
'vendor.thead': 'T-Head PPU'
|
||||
};
|
||||
|
||||
@@ -128,7 +128,7 @@ export default {
|
||||
'clusters.create.k8sTips2':
|
||||
'You can also skip this step and register it later from the cluster list.',
|
||||
'clusters.addworker.theadNotes':
|
||||
'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head PPU SDK installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
'clusters.addworker.theadNotes-02':
|
||||
'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the <span class="bold-text">/var/run/cdi</span> directory to be available for CDI generation.'
|
||||
};
|
||||
@@ -143,6 +143,6 @@ export default {
|
||||
// 7. 'clusters.create.k8sTips1': 'Next, register existing Kubernetes cluster.',
|
||||
// 8. 'clusters.create.k8sTips2': 'You can also skip this step and register it later from the cluster list.',
|
||||
// 9. 'clusters.create.steps.configure': 'Configure',
|
||||
// 10. 'clusters.addworker.theadNotes': 'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
// 10. 'clusters.addworker.theadNotes': 'If the <span class="bold-text>/usr/local/PPU_SDK</span> directory does not exist, please create a symbolic link pointing to the T-Head PPU SDK installed path: <span class="bold-text>ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>',
|
||||
// 11. 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the <span class="bold-text">/var/run/cdi</span> directory to be available for CDI generation.'
|
||||
// ================================================================
|
||||
|
||||
@@ -6,5 +6,5 @@ export default {
|
||||
'vendor.iluvatar': 'Iluvatar',
|
||||
'vendor.metax': 'Metax',
|
||||
'vendor.cambricon': 'Cambricon',
|
||||
'vendor.thead': 'T-Head (PPU)'
|
||||
'vendor.thead': 'T-Head PPU'
|
||||
};
|
||||
|
||||
@@ -123,7 +123,7 @@ export default {
|
||||
'clusters.create.k8sTips1': '接下来,注册已有的 Kubernetes 集群。',
|
||||
'clusters.create.k8sTips2': '你也可以跳过此步骤,稍后在集群列表中进行注册。',
|
||||
'clusters.addworker.theadNotes':
|
||||
'如果 <span class="bold-text">/usr/local/PPU_SDK</span> 目录不存在,请创建一个指向已安装平头哥(T-Head)路径的符号链接:<span class="bold-text">ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>。',
|
||||
'如果 <span class="bold-text">/usr/local/PPU_SDK</span> 目录不存在,请创建一个指向已安装平头哥(T-Head)PPU SDK 路径的符号链接:<span class="bold-text">ln -s /path/to/PPU_SDK /usr/local/PPU_SDK</span>。',
|
||||
'clusters.addworker.theadNotes-02':
|
||||
'平头哥(T-Head)PPU 使用容器设备接口(CDI)进行设备注入,因此需要确保 <span class="bold-text">/var/run/cdi</span> 目录可用以生成 CDI。'
|
||||
};
|
||||
|
||||
@@ -101,7 +101,7 @@ const SupportedHardware: React.FC<SupportedHardwareProps> = ({
|
||||
icon: <ProviderImage src={nvidiaLogo} height={18} />
|
||||
},
|
||||
{
|
||||
label: 'AMD',
|
||||
label: `AMD `,
|
||||
hiddenTitle: true,
|
||||
description: '',
|
||||
value: GPUDriverMap.AMD,
|
||||
@@ -183,7 +183,7 @@ const SupportedHardware: React.FC<SupportedHardwareProps> = ({
|
||||
icon: <ProviderImage src={metaxLogo} height={20} />
|
||||
},
|
||||
{
|
||||
label: intl.formatMessage({ id: 'vendor.thead' }),
|
||||
label: `${intl.formatMessage({ id: 'vendor.thead' })} `,
|
||||
hiddenTitle: true,
|
||||
extra: intl.formatMessage({ id: 'common.tag.experimental' }),
|
||||
value: GPUDriverMap.THEAD,
|
||||
|
||||
@@ -77,7 +77,7 @@ export const GPUsConfigs: Record<
|
||||
driver: 'mx-smi'
|
||||
},
|
||||
[GPUDriverMap.THEAD]: {
|
||||
label: 'T-Head',
|
||||
label: 'T-Head PPU',
|
||||
value: GPUDriverMap.THEAD,
|
||||
runtime: '', // TODO: confirm runtime name
|
||||
driver: 'ppu-smi'
|
||||
|
||||
Reference in New Issue
Block a user