cocktailpeanut / dalai

The simplest way to run LLaMA on your local machine
https://cocktailpeanut.github.io/dalai
13.1k stars 1.42k forks source link

Not recognized as the name of a cmdlet, function, script file, or operable program. #214

Open chefbennyj1 opened 1 year ago

chefbennyj1 commented 1 year ago

Hi, Has anyone else seen this in the debug?

`[?25lWindows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows]0;C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe[?25hPS D:\AI\llama> [?25l> D:\AI\llama\build\Release\main --seed -1 --threads 4 --n_predict 200 --model models/13B/ggml-model-q4_0.bin --top_k 40 --top_p 0.9 --temp 0.1 --repeat_last_n 64 --repeat_penalty 1.3 -p "you are a helpful AI" [?25hD:\AI\llama\build\Release\main : The term 'D:\AI\llama\build\Release\main' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

PS D:\AI\llama> exit `

chefbennyj1 commented 1 year ago

I've read thread 175, and renamed the llama.exe to main.exe, but still no joy. model seems to output "..." , and that is all.

rozza-m commented 1 year ago

Same here. My "build" folder is totally empty after running npx dalai alpaca install 7B and it appearing to install successfully.

chefbennyj1 commented 1 year ago

Same here. My "build" folder is totally empty after running npx dalai alpaca install 7B and it appearing to install successfully.

Which is are you building on? I was finally able to build alpaca. Alpaca built the main.exe for me on windows.