GithubHelp home page GithubHelp logo

Gemma Is Not Supported about llamasharp HOT 7 OPEN

zddtpy avatar zddtpy commented on June 20, 2024 1
Gemma Is Not Supported

from llamasharp.

Comments (7)

martindevans avatar martindevans commented on June 20, 2024 3

You just need to recompile the Cpp code yourself and it will work (I have tested the Gemma models already)

Note that in general you can't just recompile an up-to-date version of llama.cpp and use it with LLamaSharp. llama.cpp is constantly making small breaking changes to their API, so almost every update of the binaries requires a bit of tweaking to the C# binding layer.

from llamasharp.

martindevans avatar martindevans commented on June 20, 2024 2

Gemma is a very new model format that's not supported in LLamaSharp yet. Support was added to llama.cpp yesterday, we'll hopefully upgrade our version within a month or so :)

from llamasharp.

zddtpy avatar zddtpy commented on June 20, 2024 2

Hi @zddtpy, I had a similar error when I followed the steps on https://github.com/SciSharp/LLamaSharp?tab=readme-ov-file#installation

In my case the error was resolved by removing the "cuda" package and installing the "cpu" one instead.

emm.maybe i have install the "cpu",but not work

from llamasharp.

zddtpy avatar zddtpy commented on June 20, 2024 1

Gemma is a very new model format that's not supported in LLamaSharp yet. Support was added to llama.cpp yesterday, we'll hopefully upgrade our version within a month or so :)

looking forward to you

from llamasharp.

zsogitbe avatar zsogitbe commented on June 20, 2024 1

There is no special code needed in LLamaSharp for Gemma to work. You just need to recompile the Cpp code yourself and it will work (I have tested the Gemma models already).

from llamasharp.

swharden avatar swharden commented on June 20, 2024

Hi @zddtpy, I had a similar error when I followed the steps on https://github.com/SciSharp/LLamaSharp?tab=readme-ov-file#installation

In my case the error was resolved by removing the "cuda" package and installing the "cpu" one instead.

from llamasharp.

swharden avatar swharden commented on June 20, 2024

As as aside, this seems to be a pretty common error message. It comes up in a lot of issues...

It may be helpful to catch this error and provide a more descriptive message of what may have gone wrong. Maybe pointing users to a URL with "things to try" would be helpful.

from llamasharp.

Related Issues (20)

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.