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

chore: simplify model loading #3715

Merged
merged 1 commit into from
Oct 2, 2024
Merged

chore: simplify model loading #3715

merged 1 commit into from
Oct 2, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Oct 2, 2024

Description

This PR fixes

CGO_LDFLAGS="" go build -ldflags "-s -w -X "github.com/mudler/LocalAI/internal.Version=v2.21.1-41-g5488fc3b" -X "github.com/mudler/LocalAI/internal.Commit=5488fc3bc14598ffb36a2d98f0b66705b45ebe0c"" -tags "p2p" -o local-ai ./              
# github.com/mudler/LocalAI/core/backend                                                                               
core/backend/tokenize.go:14:14: undefined: GRPCModelOpts
core/backend/tokenize.go:19:10: undefined: modelOpts                                                                   
core/backend/tokenize.go:21:9: undefined: model.WithThreads 

Notes for Reviewers

This is a follow-up on #3693 as #3710 was depending on it

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler mudler merged commit 3acd767 into master Oct 2, 2024
23 of 25 checks passed
@mudler mudler deleted the adapt_changes branch October 2, 2024 06:59
Copy link

netlify bot commented Oct 2, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit dfadcf5
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/66fcef2970b51b00088ee7ee
😎 Deploy Preview https://deploy-preview-3715--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 added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant