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
Merge dev to feature/user-select-gpus
  • Loading branch information
hientominh committed Feb 6, 2024
commit 6d61ba93bc325e5d438a1441633a7ada1663f4c9
2 changes: 1 addition & 1 deletion web/hooks/useGetSystemResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 75,7 @@ export default function useGetSystemResources() {
// There is a possibility that this will be removed and replaced by the process event hook?
const intervalId = setInterval(() => {
getSystemResources()
}, 2000)
}, 5000)

// clean up interval
return () => clearInterval(intervalId)
Expand Down
6 changes: 2 additions & 4 deletions web/screens/ExploreModels/ExploreModelItemHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 34,8 @@
import { assistantsAtom } from '@/helpers/atoms/Assistant.atom'
import { serverEnabledAtom } from '@/helpers/atoms/LocalServer.atom'

import {
totalRamAtom,
nvidiaTotalVramAtom,
} from '@/helpers/atoms/SystemBar.atom'
import { downloadedModelsAtom } from '@/helpers/atoms/Model.atom'
import { nvidiaTotalVramAtom, totalRamAtom } from '@/helpers/atoms/SystemBar.atom'

Check failure on line 38 in web/screens/ExploreModels/ExploreModelItemHeader/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-ubuntu

Replace `·nvidiaTotalVramAtom,·totalRamAtom·` with `⏎··nvidiaTotalVramAtom,⏎··totalRamAtom,⏎`

Check failure on line 38 in web/screens/ExploreModels/ExploreModelItemHeader/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-macos

Replace `·nvidiaTotalVramAtom,·totalRamAtom·` with `⏎··nvidiaTotalVramAtom,⏎··totalRamAtom,⏎`

Check failure on line 38 in web/screens/ExploreModels/ExploreModelItemHeader/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-windows (mcafee)

Replace `·nvidiaTotalVramAtom,·totalRamAtom·` with `␍⏎··nvidiaTotalVramAtom,␍⏎··totalRamAtom,␍⏎`

type Props = {
model: Model
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.