style: t-head logo
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -194,6 +194,12 @@ export const frameworks = [
|
||||
tips: ManufacturerMap[GPUDriverMap.CAMBRICON],
|
||||
tipLocale: true
|
||||
},
|
||||
{
|
||||
label: 'HGGC',
|
||||
value: GPUDriverMap.THEAD,
|
||||
tips: ManufacturerMap[GPUDriverMap.THEAD],
|
||||
tipLocale: true
|
||||
},
|
||||
{
|
||||
label: 'CPU',
|
||||
value: 'cpu'
|
||||
|
||||
@@ -5,6 +5,7 @@ import iluvatarWEBP from '@/assets/logo/Iluvatar.png';
|
||||
import metaxLogo from '@/assets/logo/metax.png';
|
||||
import mooreLogo from '@/assets/logo/moore-logo.png';
|
||||
import nvidiaLogo from '@/assets/logo/nvidia.png';
|
||||
import theadLogo from '@/assets/logo/t-head.png';
|
||||
import IconFont from '@/components/icon-font';
|
||||
import useUserSettings from '@/hooks/use-user-settings';
|
||||
import {
|
||||
@@ -189,12 +190,7 @@ const SupportedHardware: React.FC<SupportedHardwareProps> = ({
|
||||
locale: false,
|
||||
link: 'https://docs.gpustack.ai/latest/installation/requirements/#thead-gpu',
|
||||
notes: AddWorkerDockerNotes[GPUDriverMap.THEAD],
|
||||
icon: (
|
||||
<IconFont
|
||||
type="icon-thead"
|
||||
style={{ fontSize: 90, color: 'var(--ant-color-text)' }}
|
||||
/>
|
||||
)
|
||||
icon: <ProviderImage src={theadLogo} height={22} />
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ export const GPUsConfigs: Record<
|
||||
[GPUDriverMap.THEAD]: {
|
||||
label: 'T-Head',
|
||||
value: GPUDriverMap.THEAD,
|
||||
runtime: 'thead', // TODO: confirm runtime name
|
||||
runtime: '', // TODO: confirm runtime name
|
||||
driver: 'ppu-smi'
|
||||
}
|
||||
};
|
||||
@@ -250,7 +250,6 @@ const registerTHeadWorker = (params: AddWorkerCommandParams) => {
|
||||
return `${commonArgs}
|
||||
--volume /usr/local/PPU_SDK:/usr/local/PPU_SDK:ro \\
|
||||
--volume /var/run/cdi:/var/run/cdi \\
|
||||
--runtime ${config.runtime} \\
|
||||
${imageArgs}
|
||||
${setWorkerIPArg(params)}`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user