Comments (4)
Thanks Ido-pluto, it works now!
from catai.
Try to run this inside git-bash
https://git-scm.com/
What hardware do you have?
By the way, the nvm installation is primarily for Linux users, for windows the official installation is good enough.
from catai.
Thanks for the quick response.
I am using Windows 10 on an intel I7 6700 with 16GB of ram, and GTX 980 4GB. I installed everything via the windows cmd line.
I tried it in the git-bash
console, and I can access Catai via catai
commands (without running each command manually). I no longer get the MODULE_NOT_FOUND. Thanks!
However, I when type catai serve
(still in git-bash) I get the 'nGpuLayers' error.
sabagithub@DESKTOP-SABA MINGW64 ~
$ catai serve
$ cd C:\Users\sabagithub\AppData\Roaming\nvm\v20.2.0\node_modules\catai
$ npm start -- --production true --ui catai
[email protected] start
node src/index.js --production true --ui cataiListening on http://127.0.0.1:3000
file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:63
this.instance = yield LLama.load(path, rest, enableLogging);
^Error: Missing field
nGpuLayers
at LLamaCpp. (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:63:35)
at Generator.next ()
at file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:33:61
at new Promise ()
at __async (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:17:10)
at LLamaCpp.load (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:61:12)
at LLM.load (C:\Users\sabagithub\AppData\Roaming\nvm\v20.2.0\node_modules\catai\node_modules\llama-node\dist\index.cjs:52:21)
at #addNew (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/src/alpaca-client/node-llama/process-pull.js:88:21)
at new NodeLlamaActivePull (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/src/alpaca-client/node-llama/process-pull.js:19:38)
at file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/src/alpaca-client/node-llama/node-llama.js:8:48 {
code: 'InvalidArg'
}Node.js v20.2.0
file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:63
this.instance = yield LLama.load(path, rest, enableLogging);
^Error: Missing field
nGpuLayers
at LLamaCpp. (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:63:35)
at Generator.next ()
at file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:33:61
at new Promise ()
at __async (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:17:10)
at LLamaCpp.load (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/node_modules/llama-node/dist/llm/llama-cpp.js:61:12)
at LLM.load (C:\Users\sabagithub\AppData\Roaming\nvm\v20.2.0\node_modules\catai\node_modules\llama-node\dist\index.cjs:52:21)
at #addNew (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/src/alpaca-client/node-llama/process-pull.js:88:21)
at new NodeLlamaActivePull (file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/src/alpaca-client/node-llama/process-pull.js:19:38)
at file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/src/alpaca-client/node-llama/node-llama.js:8:48 {
code: 'InvalidArg'
}Node.js v20.2.0
at file:///C:/Users/sabagithub/AppData/Roaming/nvm/v20.2.0/node_modules/catai/scripts/cli.js:69:27
exit code: 1
from catai.
Fix in the latest version, update with catai update
from catai.
Related Issues (20)
- Error on Win 11 HOT 4
- Alternate GUI won't load
- CatAI crashes when quitting a browser or when starting CatAI when a browser is already open. HOT 10
- Catastrophic - CatAI is completely broken (Segmentation fault core dumped fatal error) HOT 11
- Unable to install `catai` onto an ARM development board HOT 3
- How to pass computer resource information HOT 7
- Failed to load prebuilt binary for platform "linux" "arm64". HOT 4
- Error: The connection lost, check the server status and refresh the page. HOT 11
- cat dont send answer HOT 17
- configure website down HOT 2
- Does not work on ubuntu 22.04 & node 20 HOT 10
- logo in docs have 2 404 errors HOT 2
- Is there a way to specify a path where to store model ? HOT 3
- How to install and run catai from packages? HOT 1
- Otherbrain HF open data integration HOT 2
- How to use with cuda? HOT 5
- connectionError http://127.0.0.1:3000/assets/index-3673c735.js:39 HOT 1
- System_prompt HOT 2
- remote-catai does not work , should wait ws.on('open')
- Made a Discord bot for your project, still in development tho
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catai.