Comments (7)
Yeah same. Any possible solution for this?
from dalai.
Same problem on Ubuntu.
Node.js version
18.16.1
Python3 version
Python 3.10.6
from dalai.
same thing here
from dalai.
Ran into the same issue,
investigated further by running npx --loglevel verbose dalai llama install 7B
,
the log showed error in installation of the package node-pty
.
tried installing node-pty
with npm install node-pty
failed on command sh -c node-gyp rebuild
[edit]
Environment info:
Node: 18.16.1
npm: 9.5.1
python: 3.10.6
pip: 22.0.2
OS: Ubuntu 22.04 LTS
Linux: 5.19.0
from dalai.
Here's the complete error for me:
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 50, in <module>
sys.exit(gyp.script_main())
^^^^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 554, in script_main
return main(sys.argv[1:])
^^^^^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 547, in main
return gyp_main(args)
^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 520, in gyp_main
[generator, flat_list, targets, data] = Load(
^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 136, in Load
result = gyp.input.Load(build_files, default_variables, includes[:],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 2782, in Load
LoadTargetBuildFile(build_file, data, aux_data,
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 391, in LoadTargetBuildFile
build_file_data = LoadOneBuildFile(build_file_path, data, aux_data,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 234, in LoadOneBuildFile
build_file_contents = open(build_file_path, 'rU').read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU' while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
gyp ERR! System Windows_NT 10.0.19044
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\egiddings\AppData\Roaming\npm-cache\_npx\23276\node_modules\dalai\node_modules\node-pty
gyp ERR! node -v v14.21.3
gyp ERR! node-gyp -v v5.1.1
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.```
from dalai.
doesn't work. this code is just scary.
from dalai.
mine window works but maybe model is just 7B
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
- 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.