Giter VIP home page Giter VIP logo

Comments (11)

ido-pluto avatar ido-pluto commented on June 13, 2024 1

You only need to downgrade the node-llama packages to version 1.5, and this should work

from catai.

ido-pluto avatar ido-pluto commented on June 13, 2024

Version 1, is unstable and therefore in preview.
You can downgrade to version 0 with:

npm -g i catai@0

Then install one of the support models in this version

from catai.

TheSystemGuy1337 avatar TheSystemGuy1337 commented on June 13, 2024

from catai.

TheSystemGuy1337 avatar TheSystemGuy1337 commented on June 13, 2024

Downgrading does not help. I'm still getting the same error, even after downgrading straight to 0.3.12

from catai.

ido-pluto avatar ido-pluto commented on June 13, 2024

That may be because you use an unsupported model, use 'catai install' to install one of the supported models.

Probably the selected model is the model from version 1, you can do:
'catai use Vicuna-7B'
To change the selected model

from catai.

pavelpiha avatar pavelpiha commented on June 13, 2024

I'm facing same error on local run.
I use Windows 10, node.js v19.9.0
catai commit 4bed618

/d/demo/catai/server $ npm start
> [email protected] start
> node src/index.js

/c/Program Files/nodejs/npm: line 44:  3625 Segmentation fault      "$NODE_EXE" "$NPM_CLI_JS" "$@"

from catai.

TheSystemGuy1337 avatar TheSystemGuy1337 commented on June 13, 2024

from catai.

ido-pluto avatar ido-pluto commented on June 13, 2024

The library that binds CatAI with the model, stopped getting updates (node-llama). Now I am implementing, something like that, but this can take a while. For the meantime only old GGML will be supported :(

So catai version 1 and above is not recommended right now.

Use
npm i -g catai@0 to downgrade

from catai.

pavelpiha avatar pavelpiha commented on June 13, 2024

Thank you for the response. Perhaps I'm trying to run it locally from cloned repository as written in Development
Could you possibly suggest which commit should I checkout?

from catai.

pavelpiha avatar pavelpiha commented on June 13, 2024

Yes, Just did it. Fixed it by reverting package-lock.json in catai/server. Looks like problem in dependencies.

from catai.

TheSystemGuy1337 avatar TheSystemGuy1337 commented on June 13, 2024

This software is abandonware and relies on complicated package nonsense. Please consider using C++ or x86 assembly instead of a volatile language like Python. Might be painful, but at least it guarantees it actually bloody works instead of breaking CPU NX policies and segfaulting into /dev/null.

from catai.

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.