diff --git a/src/locales/en-US/clusters.ts b/src/locales/en-US/clusters.ts index e5660196..999843de 100644 --- a/src/locales/en-US/clusters.ts +++ b/src/locales/en-US/clusters.ts @@ -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 /usr/local/PPU_SDK directory does not exist, please create a symbolic link pointing to the T-Head installed path: ln -s /path/to/PPU_SDK /usr/local/PPU_SDK.', + 'If the /usr/local/PPU_SDK directory does not exist, please create a symbolic link pointing to the T-Head PPU SDK installed path: ln -s /path/to/PPU_SDK /usr/local/PPU_SDK.', 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the /var/run/cdi directory to be available for CDI generation.' }; diff --git a/src/locales/en-US/vendor.ts b/src/locales/en-US/vendor.ts index 6743d3db..d36be562 100644 --- a/src/locales/en-US/vendor.ts +++ b/src/locales/en-US/vendor.ts @@ -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' }; diff --git a/src/locales/ja-JP/clusters.ts b/src/locales/ja-JP/clusters.ts index 922a707f..05c6c032 100644 --- a/src/locales/ja-JP/clusters.ts +++ b/src/locales/ja-JP/clusters.ts @@ -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 ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', + 'If the ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the /var/run/cdi 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 ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', +// 99. 'clusters.addworker.theadNotes': 'If the ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', // 100. 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the /var/run/cdi directory to be available for CDI generation.' // ========== End of To-Do List ========== diff --git a/src/locales/ja-JP/vendor.ts b/src/locales/ja-JP/vendor.ts index 6743d3db..d36be562 100644 --- a/src/locales/ja-JP/vendor.ts +++ b/src/locales/ja-JP/vendor.ts @@ -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' }; diff --git a/src/locales/ru-RU/clusters.ts b/src/locales/ru-RU/clusters.ts index 364f2ade..ca9da0ca 100644 --- a/src/locales/ru-RU/clusters.ts +++ b/src/locales/ru-RU/clusters.ts @@ -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 ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', + 'If the ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the /var/run/cdi 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 ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', +// 10. 'clusters.addworker.theadNotes': 'If the ln -s /path/to/PPU_SDK /usr/local/PPU_SDK', // 11. 'clusters.addworker.theadNotes-02': 'T-Head PPU uses the Container Device Interface (CDI) for device injection and requires the /var/run/cdi directory to be available for CDI generation.' // ================================================================ diff --git a/src/locales/ru-RU/vendor.ts b/src/locales/ru-RU/vendor.ts index 6743d3db..d36be562 100644 --- a/src/locales/ru-RU/vendor.ts +++ b/src/locales/ru-RU/vendor.ts @@ -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' }; diff --git a/src/locales/zh-CN/clusters.ts b/src/locales/zh-CN/clusters.ts index 2349947a..70f5032e 100644 --- a/src/locales/zh-CN/clusters.ts +++ b/src/locales/zh-CN/clusters.ts @@ -123,7 +123,7 @@ export default { 'clusters.create.k8sTips1': '接下来,注册已有的 Kubernetes 集群。', 'clusters.create.k8sTips2': '你也可以跳过此步骤,稍后在集群列表中进行注册。', 'clusters.addworker.theadNotes': - '如果 /usr/local/PPU_SDK 目录不存在,请创建一个指向已安装平头哥(T-Head)路径的符号链接:ln -s /path/to/PPU_SDK /usr/local/PPU_SDK。', + '如果 /usr/local/PPU_SDK 目录不存在,请创建一个指向已安装平头哥(T-Head)PPU SDK 路径的符号链接:ln -s /path/to/PPU_SDK /usr/local/PPU_SDK。', 'clusters.addworker.theadNotes-02': '平头哥(T-Head)PPU 使用容器设备接口(CDI)进行设备注入,因此需要确保 /var/run/cdi 目录可用以生成 CDI。' }; diff --git a/src/pages/cluster-management/components/support-gpus.tsx b/src/pages/cluster-management/components/support-gpus.tsx index 508cefe7..9bf3262a 100644 --- a/src/pages/cluster-management/components/support-gpus.tsx +++ b/src/pages/cluster-management/components/support-gpus.tsx @@ -101,7 +101,7 @@ const SupportedHardware: React.FC = ({ icon: }, { - label: 'AMD', + label: `AMD `, hiddenTitle: true, description: '', value: GPUDriverMap.AMD, @@ -183,7 +183,7 @@ const SupportedHardware: React.FC = ({ icon: }, { - label: intl.formatMessage({ id: 'vendor.thead' }), + label: `${intl.formatMessage({ id: 'vendor.thead' })} `, hiddenTitle: true, extra: intl.formatMessage({ id: 'common.tag.experimental' }), value: GPUDriverMap.THEAD, diff --git a/src/pages/resources/config/gpu-driver.ts b/src/pages/resources/config/gpu-driver.ts index e8669360..fb74f67e 100644 --- a/src/pages/resources/config/gpu-driver.ts +++ b/src/pages/resources/config/gpu-driver.ts @@ -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'