You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive this error when trying to run the KernelMemory example:
Unhandled exception. System.TypeLoadException: Method 'GenerateTextAsync' in type 'LLamaSharp.KernelMemory.LlamaSharpTextGenerator' from assembly 'LLamaSharp.KernelMemory, Version=0.21.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
at LLamaSharp.KernelMemory.BuilderExtensions.WithLLamaSharpDefaults(IKernelMemoryBuilder builder, LLamaSharpConfig config, LLamaWeights weights, LLamaContext context)
at LLama.Examples.Examples.KernelMemory.CreateMemory(String modelPath) in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\Examples\KernelMemory.cs:line 85
at LLama.Examples.Examples.KernelMemory.Run() in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\Examples\KernelMemory.cs:line 29
at ExampleRunner.Run() in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\ExampleRunner.cs:line 58
at Program.
$(String[] args) in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\Program.cs:line 38
at Program.(String[] args)
Reproduction Steps
Clone the repository
Open in VS code at the root folder
Open Program.cs in the LLamaSharp.Examples sub-project and click Run->Run Without Debugging
Navigate in the embedded terminal to KernelMemory : Document Q&A
Error occurs and app quits
(Note: I am pretty new to the .NET infrastructure so hopefully this isn't something simple but it seems pretty straightforward and other examples I've tried work fine)
Environment & Configuration
Operating system: Windows 11
.NET runtime version: 8.0
LLamaSharp version: 0.21.0 (was also having this issue on 0.20.0
CUDA version (if you are using cuda backend): 12
CPU & GPU device: i9-13900HX, 4080 laptop
Known Workarounds
No response
The text was updated successfully, but these errors were encountered:
Description
I receive this error when trying to run the KernelMemory example:
Unhandled exception. System.TypeLoadException: Method 'GenerateTextAsync' in type 'LLamaSharp.KernelMemory.LlamaSharpTextGenerator' from assembly 'LLamaSharp.KernelMemory, Version=0.21.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
$(String[] args) in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\Program.cs:line 38at LLamaSharp.KernelMemory.BuilderExtensions.WithLLamaSharpDefaults(IKernelMemoryBuilder builder, LLamaSharpConfig config, LLamaWeights weights, LLamaContext context)
at LLama.Examples.Examples.KernelMemory.CreateMemory(String modelPath) in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\Examples\KernelMemory.cs:line 85
at LLama.Examples.Examples.KernelMemory.Run() in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\Examples\KernelMemory.cs:line 29
at ExampleRunner.Run() in c:\Users\jeff\projects\LLamaSharp\LLama.Examples\ExampleRunner.cs:line 58
at Program.
at Program.(String[] args)
Reproduction Steps
(Note: I am pretty new to the .NET infrastructure so hopefully this isn't something simple but it seems pretty straightforward and other examples I've tried work fine)
Environment & Configuration
Known Workarounds
No response
The text was updated successfully, but these errors were encountered: