fix: hardware section (#3866)
This commit is contained in:
parent
9045eeb1d6
commit
9a266db745
@ -237,7 +237,7 @@ const Advanced = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* CPU / GPU switching */}
|
{/* CPU / GPU switching */}
|
||||||
{!isMac && gpuList.length > 0 && (
|
{!isMac && (
|
||||||
<div className="flex w-full flex-col items-start justify-between border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none">
|
<div className="flex w-full flex-col items-start justify-between border-b border-[hsla(var(--app-border))] py-4 first:pt-0 last:border-none">
|
||||||
<div className="flex w-full items-start justify-between">
|
<div className="flex w-full items-start justify-between">
|
||||||
<div className="space-y-1">
|
<div className="space-y-1">
|
||||||
@ -314,6 +314,8 @@ const Advanced = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{gpuList.length > 0 && (
|
||||||
<div className="mt-2 flex w-full flex-col rounded-lg px-2 py-4">
|
<div className="mt-2 flex w-full flex-col rounded-lg px-2 py-4">
|
||||||
<label className="mb-2 mr-2 inline-block font-medium">
|
<label className="mb-2 mr-2 inline-block font-medium">
|
||||||
Choose device(s)
|
Choose device(s)
|
||||||
@ -340,7 +342,9 @@ const Advanced = () => {
|
|||||||
ref={setDropdownOptions}
|
ref={setDropdownOptions}
|
||||||
>
|
>
|
||||||
<div className="w-full p-4">
|
<div className="w-full p-4">
|
||||||
<p>{vulkanEnabled ? 'Vulkan Supported GPUs' : 'Nvidia'}</p>
|
<p>
|
||||||
|
{vulkanEnabled ? 'Vulkan Supported GPUs' : 'Nvidia'}
|
||||||
|
</p>
|
||||||
<div className="py-2">
|
<div className="py-2">
|
||||||
<div className="rounded-lg">
|
<div className="rounded-lg">
|
||||||
{gpuList
|
{gpuList
|
||||||
@ -379,8 +383,8 @@ const Advanced = () => {
|
|||||||
className="flex-shrink-0"
|
className="flex-shrink-0"
|
||||||
/>
|
/>
|
||||||
<p className="text-xs leading-relaxed">
|
<p className="text-xs leading-relaxed">
|
||||||
If multi-GPU is enabled with different GPU models or
|
If multi-GPU is enabled with different GPU models
|
||||||
without NVLink, it could impact token speed.
|
or without NVLink, it could impact token speed.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@ -389,6 +393,7 @@ const Advanced = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user