|
|
|
|
@ -665,16 +665,16 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
|
|
|
|
|
</Col>
|
|
|
|
|
<Col flex="1">
|
|
|
|
|
分配显存/内存:
|
|
|
|
|
{convertFileSize(
|
|
|
|
|
instanceData?.computed_resource_claim?.ram || 0
|
|
|
|
|
)}{' '}
|
|
|
|
|
/{' '}
|
|
|
|
|
{convertFileSize(
|
|
|
|
|
(
|
|
|
|
|
Object.values(
|
|
|
|
|
instanceData?.computed_resource_claim?.vram || {}
|
|
|
|
|
) as number[]
|
|
|
|
|
).reduce((acc, curr) => acc + curr, 0)
|
|
|
|
|
)}{' '}
|
|
|
|
|
/{' '}
|
|
|
|
|
{convertFileSize(
|
|
|
|
|
instanceData?.computed_resource_claim?.ram || 0
|
|
|
|
|
)}
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
|