dalai icon indicating copy to clipboard operation
dalai copied to clipboard

Choose where the models will be downloaded

Open flesler opened this issue 1 year ago • 4 comments

I tried the example in the docs (adapting the path of course)

npx dalai llama install 7B --home ~/test_dir

It still downloaded to ~/dalai. I'm sure many want to download to another partition or directory. Is it already possible? Otherwise it'd be great to implement

flesler avatar Mar 20 '23 16:03 flesler

I noticed it's not the models but dalai itself that is being downloaded to the home. It has a couple of GB already,

flesler avatar Mar 20 '23 16:03 flesler

yeah i wish this is possible also on windows

Space-Clustercompany avatar Mar 20 '23 17:03 Space-Clustercompany

try using absolute windows path C:\llama-models\ for windows?

jon91 avatar Mar 20 '23 20:03 jon91

Well, even the models fail to install because they try to reference the scripts from the home directory still.

I was able to workaround this issue by creating a symlink to the other drive and then installing it again.

C:\Users{{USERNAME}}\dalai --> {{DRIVE_LETTER}}\dalai

Nonary avatar Mar 21 '23 04:03 Nonary