Skip to content

Conversation

mudler
Copy link
Owner

@mudler mudler commented May 29, 2025

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented May 29, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 4909aa6
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/6838c6e33845bb00083021c1
😎 Deploy Preview https://deploy-preview-5525--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

isFullOffload := estimatedLayers <= 0
if isFullOffload {
estimatedLayers = 0
estimatedLayers := int(availableVRAM / layerSize)

Check failure

Code scanning / gosec

integer overflow conversion uint64 -> int Error

integer overflow conversion uint64 -> int
estimatedLayers = 0
estimatedLayers := int(availableVRAM / layerSize)
if availableVRAM > estimatedVRAM {
estimatedLayers = int(availableLayers)

Check failure

Code scanning / gosec

integer overflow conversion uint64 -> int Error

integer overflow conversion uint64 -> int
@mudler mudler marked this pull request as ready for review June 5, 2025 17:16
@mudler mudler merged commit b034cff into master Jun 5, 2025
23 of 28 checks passed
@mudler mudler deleted the fix/improve_vram_estimation branch June 5, 2025 17:16
@mudler mudler added the enhancement New feature or request label Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant