Giter Club home page Giter Club logo

llamastack's People

Contributors

saddam213 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

llamastack's Issues

Odd behaviour

I took a screen capture and it shows how the instruct never finishes - it just keeps going on and on.

Odd.behavior.it.does.not.stop.providing.result.mp4

IInferenceParams does not contain a definition for MinP

I tried to run the example but encountered this error in LlamaStackContext.cs. I've installed everything and I'm using the latest version of LlamaSharp.

'IInferenceParams' does not contain a definition for 'MinP' and no accessible extension method 'MinP' accepting a first argument of type 'IInferenceParams' could be found (are you missing a using directive or an assembly reference?) LLamaStack.Core C:\Users\Me\source\repos\LLamaStack-master\LLamaStack.Core\LLamaStackContext.cs 143 Active


        public int Sample(LLamaTokenDataArray tokenDataArray, IInferenceParams inferenceParams, ref float? mirostatMu)
        {
            return _context.Sample
            (
                tokenDataArray,
                ref mirostatMu,
                inferenceParams.Temperature,
                inferenceParams.Mirostat,
                inferenceParams.MirostatTau,
                inferenceParams.MirostatEta,
                inferenceParams.TopK,
                inferenceParams.TopP,
                inferenceParams.TfsZ,
                inferenceParams.TypicalP,
                inferenceParams.Grammar,
                inferenceParams.MinP
            );
        }

I also get the following errors when trying to start the WPF example.

The type reference cannot find a public type named 'SessionHistoryModel'. Line 116 Position 90. LLamaStack.WPF C:\Users\Me\source\repos\LLamaStack-master\LLamaStack.WPF\Views\InferenceView.xaml 116

The type reference cannot find a public type named 'ModelSessionState`1'. Line 34 Position 82. LLamaStack.WPF C:\Users\Me\source\repos\LLamaStack-master\LLamaStack.WPF\Views\SessionLoadView.xaml 34

llamasharp

[WPF] Method not found: 'Void LLama.Common.ModelParams.set_ContextSize(UInt32)'.

Hello,
I am getting the below issue. Could you please help me fix it?

Here are the details:
Log:

[12/16/2023 3:51:18 PM] [Information] [LLamaStack] - Application started. Press Ctrl+C to shut down.
[12/16/2023 3:51:18 PM] [Information] [LLamaStack] - Hosting environment: Production
[12/16/2023 3:51:18 PM] [Information] [LLamaStack] - Content root path: C:\Users\imran\source\repos\LLamaStack\LLamaStack.WPF\bin\Debug\net8.0-windows
[12/16/2023 3:52:42 PM] [Error] [LLamaStack] - [CreateSession] - Method not found: 'Void LLama.Common.ModelParams.set_ContextSize(UInt32)'.

To recreate:

  1. Clone the repo
  2. Delete all projects except the WPF
  3. Upgrade to .net8
  4. Install LLamaSharp, LLamaStack and LLamaSharp.Backend.Cpu
  5. Download the llama-2-7b-chat.Q2_K.gguf
  6. Run the app and change the model path
  7. Click on Begin Session

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.