-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Models not downloading? #101
Comments
Same issue. Fixed. Posted a snip below |
Same issue as well |
the screenshot above looks like your using windows powershell, which is stated in the instructions to not work, use the regular cmd.exe instead ? But even on cmd its not working for me, gets stuck on downloading. |
I am running CMD, but you're right, it does seem to be running some of the commands through powershell, and im not sure why that is. |
So, I am updating this. I found out my Malwarebytes was causing the models to fail. When I turned it off, it downloaded like normal. May be something to check. |
I've tried install from the command prompt in the root user directory with all firewalls turned off and nothing has worked . Also tried running cmd as administrator and reinstalling Visual Studio. How did you guys troubleshoot this? |
Model not downloading properly?Here is the solution..As model is downloading from https://ipfs.io/ipfs/QmQ1bf2BTnYxq73MFJWu1B7bQ2UD6qG7D7YDCxhTndVkPC Here is what you have to do..
|
sorry maybe a stupid Q. where is "dalai/alpaca/models/7B" on a mac |
Search for the model in dalai folder. replace it with it. |
thx found it , it all workd inc DL when using with npm instead of npx |
Great so is there a link for llama 7B as well? |
Where should the file be placed after a manual download when using a local machine? |
I believe the default download location is your users folder so it should be something along the lines of
|
The easiest way to workaround the issue, that I found yesterday - is just to disable downloading files during installation by commenting out one line in
this line. After which you can copy your torrent downloaded model files to
And run |
This worked for me- many thanks! |
I have similar issue. |
I'm getting this error #!/usr/bin/env node process.title = 'npm' var unsupported = require('../lib/utils/unsupported.js') var log = require('npmlog') unsupported.checkForUnsupportedNode() if (!unsupported.checkVersion(process.version).unsupported) { var path = require('path') var configDefs = npmconf.defs // if npm is called as "npmg" or "npm_g", then log.verbose('cli', process.argv) var conf = nopt(types, shorthands) if (conf.version) { if (conf.versions) { log.info('using', 'npm@%s', npm.version) process.on('uncaughtException', errorHandler) if (conf.usage && npm.command !== 'help') { // now actually fire up npm and run the command. |
what are the steps you take for manually downloading and then installing? Start install via npx, close the shell, download the models manually, place them in the correct folder (which was already created via the first install attempt), then open shell and run npx dalai llama 7B again? |
I highly recommend using WSL2 on Windows. And use it with Windows Terminal download from the Microsoft Store on your Windows 10 or later. WSL2 has been out for a few years already. |
same for me, it's impossible to download anything |
One possible solution is to add a flag (like --no-download) to deploy without downloading, or checking checksums and asking the user if they want to download again. This could be useful for slow connections (so you bring the model in an external drive and move it manually |
Same for me. It retries downloading when i copy paste consolidated.00.pth from downloads folder to models/7B folder I also tried closing and reopening the shell, it did not make a difference. This is on M2 MAC |
I believe the issue is that the code temporarily moves the
This gives the user 200K ms time to copy the files necessary as stated in the previous replies. You can adjust the timing accordingly. |
I wasn't able to find the code for the linux downloader to put in that wait code, |
Still the same problem... |
I run the "npx dalai alpaca install 7B" command, and cmd seems to just stop, without downloading the model. Anyone have any ideas? Thanks!
The text was updated successfully, but these errors were encountered: