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

[LLama.KernelMemory] Fixed System.ArgumentException: EmbeddingMode must be true & #617 #615

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

ChengYen-Tang
Copy link
Contributor

@ChengYen-Tang ChengYen-Tang commented Mar 19, 2024

Unhandled exception. System.ArgumentException: EmbeddingMode must be true (Parameter 'params')
   at LLama.LLamaEmbedder..ctor(LLamaWeights weights, IContextParams params, ILogger logger)
   at LLamaSharp.KernelMemory.LLamaSharpTextEmbeddingGenerator..ctor(LLamaSharpConfig config)
   at LLamaSharp.KernelMemory.BuilderExtensions.WithLLamaSharpTextEmbeddingGeneration(IKernelMemoryBuilder builder, LLamaSharpConfig config)

#617

@ChengYen-Tang ChengYen-Tang changed the title [LLama.KernelMemory] Fixed System.ArgumentException: EmbeddingMode must be true [LLama.KernelMemory] Fixed System.ArgumentException: EmbeddingMode must be true & #617 Mar 20, 2024
@AsakusaRinne AsakusaRinne added the bug Something isn't working label Mar 20, 2024
@AsakusaRinne AsakusaRinne added this to the v0.11.0 milestone Mar 20, 2024
Copy link
Collaborator

@AsakusaRinne AsakusaRinne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you a lot for this contribution!

@ChengYen-Tang
Copy link
Contributor Author

Why unit tests always fail🤔

@martindevans
Copy link
Member

Tests are flakey in CI, I think it's because the test runners can't handle the load we're putting on them (loading LLMs, even small ones, into machines with very limited memory).

@AsakusaRinne AsakusaRinne merged commit 9ee6ae3 into SciSharp:master Mar 27, 2024
3 checks passed
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.

3 participants