Skip to content

Conversation

@mudler
Copy link
Owner

@mudler mudler commented Jan 23, 2025

Description

This pull request includes changes to the pkg/model/initializers.go file to simplify the detection and handling of llama.cpp backend variants. The most important changes include the introduction of a new variable to store the variants and the refactoring of the backend detection logic.

Improvements to backend detection:

  • pkg/model/initializers.go: Added a new variable llamaCPPVariants to store llama.cpp backend variants.
  • pkg/model/initializers.go: Refactored the backend detection logic to use the new llamaCPPVariants variable, simplifying the code and reducing redundancy.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit feaae6f
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/679250e82cb4810008a58889
😎 Deploy Preview https://deploy-preview-4674--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 site configuration.

@mudler mudler merged commit f9e368b into master Jan 23, 2025
25 checks passed
@mudler mudler deleted the chore/detect branch January 23, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants