Skip to content

Commit

Permalink
fix: right panel bg joi-dark and remove n_pararell params (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Nov 7, 2024
1 parent 8d4734c commit 766a4e8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion themes/joi-dark/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},

"right-panel": {
"bg": "0, 0%, 13%, 0"
"bg": "0, 0%, 13%, 1"
},

"tooltip": {
Expand Down
1 change: 1 addition & 0 deletions web/screens/Settings/Advanced/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ const Advanced = () => {
}
setGpusInUse(updatedGpusInUse)
saveSettings({ gpusInUse: updatedGpusInUse })
window.core?.api?.relaunch()
}

const gpuSelectionPlaceHolder =
Expand Down
15 changes: 0 additions & 15 deletions web/utils/predefinedComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,21 +145,6 @@ export const presetConfiguration: Record<string, SettingComponentProps> = {
requireModelReload: false,
configType: 'runtime',
},
n_parallel: {
key: 'n_parallel',
title: 'N Parallel',
description:
'The number of parallel operations. Only set when enable continuous batching. ',
controllerType: 'slider',
controllerProps: {
min: 0,
max: 4,
step: 1,
value: 1,
},
requireModelReload: true,
configType: 'setting',
},
cpu_threads: {
key: 'cpu_threads',
title: 'CPU Threads',
Expand Down

0 comments on commit 766a4e8

Please sign in to comment.