Skip to content

Commit

Permalink
feat(server): boost free RAM delta for LLM
Browse files Browse the repository at this point in the history
  • Loading branch information
louistiti committed Jul 1, 2024
1 parent 2c89041 commit be3df77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/core/llm-manager/llm-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class LLMManager {
const freeRAMInGB = SystemHelper.getFreeRAM()
const totalRAMInGB = SystemHelper.getTotalRAM()
const isLLMPathFound = fs.existsSync(LLM_PATH)
const isCurrentFreeRAMEnough = LLM_MINIMUM_FREE_RAM <= freeRAMInGB * 2 // Multiply by 2 to boost probability of success
const isCurrentFreeRAMEnough = LLM_MINIMUM_FREE_RAM <= freeRAMInGB * 4 // Multiply by 4 to boost probability of success
const isTotalRAMEnough = LLM_MINIMUM_TOTAL_RAM <= totalRAMInGB

/**
Expand Down

0 comments on commit be3df77

Please sign in to comment.