Comments (11)
I have tried again the command, and it doesn't do anything:
$ npx dalai llama
Need to install the following packages:
[email protected]
Ok to proceed? (y)
I type the y and enter, but it does not happen anything
from dalai.
I met the same issue as you, and also cant run the project.
from dalai.
doesn't look like this supports Windows yet! So far, I downloaded the model, have it converted and quantized and can interact with it via the llama cpp but this tool doesn't appear to work with Windows nicely
from dalai.
Alright, I'll keep that in mind. Is it only compatible with Mac, or would it work with Linux too?
from dalai.
i have another error. Windows 11 22H2
C:\proj\dalai>npx dalai llama
exec: git clone https://github.com/ggerganov/llama.cpp.git C:\Users\chuss\llama.cpp in undefined
C:\proj\dalai\node_modules\node-pty\lib\windowsPtyAgent.js:75
term = this._ptyNative.startProcess(file, cols, rows, debug, this._generatePipeName(), conptyInheritCursor);
^
Error: File not found:
at new WindowsPtyAgent (C:\proj\dalai\node_modules\node-pty\lib\windowsPtyAgent.js:75:36)
at new WindowsTerminal (C:\proj\dalai\node_modules\node-pty\lib\windowsTerminal.js:50:24)
at Object.spawn (C:\proj\dalai\node_modules\node-pty\lib\index.js:28:12)
at C:\proj\dalai\index.js:267:30
at new Promise (<anonymous>)
at Dalai.exec (C:\proj\dalai\index.js:261:12)
at Dalai.install (C:\proj\dalai\index.js:120:30)
at Object.<anonymous> (C:\proj\dalai\bin\cli.js:37:17)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
Node.js v18.14.1
folder C:\Users\chuss\llama.cpp empty
from dalai.
Did you perform with admin privileges?
-->"[Error: EPERM: operation not permitted,"
This message suggests to use "run as administrator", I think.
Run a terminal with "run as administrator" and try again.
from dalai.
Did you perform with admin privileges?
-->"[Error: EPERM: operation not permitted,"
This message suggests to use "run as administrator", I think. Run a terminal with "run as administrator" and try again.
Yes, I did it, but I didn't work, I didn't receive any logs of the command.
from dalai.
FIXED: I'm actually not a js user and just forgot to npm install
π«‘
maybe some of the folks don't understand that either
I have Mac and no effect either.
from dalai.
Did anyone find a solution to this problem? Mine is occurring on windows 10
from dalai.
I had figured it out eventually and your mileage may vary. For windows 11 here are some things I did differently.
(Assuming you following all the instructions)
- Install the Windows SDK
- Run NPM instead of NPX for the first installation command.
- Using the Microsoft Store install Python 3.10, and make sure the command βpython3β is in Path. (It did this for me)
I did a few other things as I tried to figure it out, but I think those three pieces are what fixed it for me.
from dalai.
same problem, can not install in windows 11
C:\Windows\System32>npx dalai llama install 7B
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Local\npm-cache\_npx\3c737cbb02d79cc9\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Administrator\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Local\npm-cache\_npx\3c737cbb02d79cc9\node_modules\dalai'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
from dalai.
Related Issues (20)
- "npx dalai llama install 7B" fails with "./quantize : The term './quantize' is not recognized" HOT 1
- Dalai server doesn't start without internet connection HOT 1
- Possible solution for Windows users - LLama not working. HOT 4
- Low CPU, Low Memory, Low GPU usage via Docker HOT 3
- Typo in README.md HOT 1
- llama_model_load: loading model issue in Docker HOT 5
- Docker compose never responds HOT 5
- [EndeavorOS] model hangs
- can't install HOT 7
- any way this can run Falcon?
- silent fail in llama/main HOT 1
- Support for Llama-2? HOT 4
- Error installing llama using docker compose (logs attached) HOT 1
- Alpaca doesn't respond HOT 1
- boucle inf on javascript call to Dalai
- Does not work on Windows 11 or Linux Mint Cinnamon HOT 1
- llama 7B is talking jibberish. Does not respond intelligently to my command.
- On Mac OS, I got this error
- On Mac, Alpaca is stuck. Did I uninstall correctly?
- Models repository HOT 1
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 dalai.