Skip to content

Commit

Permalink
Merge pull request janhq#2151 from janhq/main
Browse files Browse the repository at this point in the history
Sync release 0.4.7 to dev
  • Loading branch information
louis-jan authored Feb 26, 2024
2 parents e86cd7e + 3c8caf3 commit 9010874
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion extensions/inference-nitro-extension/bin/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.12
0.3.13
5 changes: 1 addition & 4 deletions extensions/inference-nitro-extension/src/node/accelerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down
2 changes: 1 addition & 1 deletion extensions/inference-nitro-extension/src/node/execute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down
2 changes: 1 addition & 1 deletion web/containers/ModalTroubleShoot/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion web/screens/Chat/SimpleTextMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9010874

Please sign in to comment.