Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: User Selectable GPUs and GPU-based Model Recommendations #1730

Merged
merged 9 commits into from
Feb 6, 2024
Prev Previous commit
Next Next commit
Setting get list GPU from file
  • Loading branch information
hientominh authored and hiro-v committed Feb 5, 2024
commit 27363dee5f574ded78791824708ad0ade669ae2e
4 changes: 1 addition & 3 deletions web/screens/Settings/Advanced/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 61,8 @@ const Advanced = () => {
if (settings.gpus) {
setGpuList(settings.gpus)
}
setUseGpuIfPossible()
}
setUseGpuIfPossible()
}, [readSettings])

const clearLogs = async () => {
Expand Down Expand Up @@ -154,10 154,8 @@ const Advanced = () => {
/>
</div>
)}

{/* Directory */}
<DataFolder />

{gpuEnabled && (
<div className="mt-4">
<label className="block text-sm font-medium text-gray-700">
Expand Down