fix: hardware section (#3866)
This commit is contained in:
parent
9045eeb1d6
commit
9a266db745
@ -237,7 +237,7 @@ const Advanced = () => {
|
||||
</div>
|
||||
|
||||
{/* 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 items-start justify-between">
|
||||
<div className="space-y-1">
|
||||
@ -314,6 +314,8 @@ const Advanced = () => {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{gpuList.length > 0 && (
|
||||
<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">
|
||||
Choose device(s)
|
||||
@ -340,7 +342,9 @@ const Advanced = () => {
|
||||
ref={setDropdownOptions}
|
||||
>
|
||||
<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="rounded-lg">
|
||||
{gpuList
|
||||
@ -379,8 +383,8 @@ const Advanced = () => {
|
||||
className="flex-shrink-0"
|
||||
/>
|
||||
<p className="text-xs leading-relaxed">
|
||||
If multi-GPU is enabled with different GPU models or
|
||||
without NVLink, it could impact token speed.
|
||||
If multi-GPU is enabled with different GPU models
|
||||
or without NVLink, it could impact token speed.
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
@ -389,6 +393,7 @@ const Advanced = () => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user