Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npx dalai llama install 7B" fails with "./quantize : The term './quantize' is not recognized" #448

Open
rmangino opened this issue May 20, 2023 · 1 comment

Comments

@rmangino
Copy link

rmangino commented May 20, 2023

Running npx dalai llama install 7B fails with:

PS C:\Users\xxxx\dalai\llama\build\Release> [System.Console]::OutputEncoding=[System.Console]::InputEncoding=[System.Text.Encoding]::UTF8; ./quantize C:\Users\xxxx\dalai\llama\models\7B\ggml-model-f16.bin C:\Users\xxxx\dalai\llama\models\7B\ggml-model-q4_0.bin 2

`./quantize : The term './quantize' 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:96

  • ... sole]::InputEncoding=[System.Text.Encoding]::UTF8; ./quantize C:\User ...
    • CategoryInfo : ObjectNotFound: (./quantize:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException`
  • Windows 11 Home: 10.0.22621 Build 22621
  • npx version: 9.6.6
@npecko
Copy link

npecko commented May 25, 2023

While the install is running, before reaching this command step, manually go into the 'build\bin\Release' dir and move the three files from there to 'build\Release'.
After that, the quantize can do its job and it won't fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants