Merge pull request #2151 from janhq/main

Sync release 0.4.7 to dev
This commit is contained in:
Louis 2024-02-26 11:15:21 +07:00 committed by GitHub
commit 90108745e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 8 deletions

View File

@ -1 +1 @@
0.3.12
0.3.13

View File

@ -23,10 +23,7 @@ const DEFALT_SETTINGS = {
gpus_in_use: [],
is_initial: true,
// TODO: This needs to be set based on user toggle in settings
vulkan: {
enabled: true,
gpu_in_use: '1',
},
vulkan: false
}
/**

View File

@ -67,7 +67,7 @@ export const executableNitroFile = (): NitroExecutableOptions => {
if (gpuInfo['vulkan'] === true) {
binaryFolder = path.join(__dirname, '..', 'bin')
binaryFolder = path.join(binaryFolder, 'win-vulkan')
binaryFolder = path.join(binaryFolder, 'linux-vulkan')
vkVisibleDevices = gpuInfo['gpus_in_use'].toString()
}
}

View File

@ -69,7 +69,7 @@ const ModalTroubleShooting: React.FC = () => {
>
Discord
</a>
&nbsp; & send it to #🆘|get-help channel for further support.
&nbsp;& send it to #🆘|get-help channel for further support.
</p>
</li>
</ul>

View File

@ -207,7 +207,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
{messages[messages.length - 1]?.id === props.id &&
(props.status === MessageStatus.Pending || tokenSpeed > 0) && (
<p className="absolute right-8 text-xs font-medium text-foreground">
Token Speed: {Number(tokenSpeed).toFixed(2)}/s
Token Speed: {Number(tokenSpeed).toFixed(2)}t/s
</p>
)}
</div>