osi1880vr / prompt_quill

Apache License 2.0
219 stars 21 forks source link

Running on Windows - Problems and Solutions #17

Open MichaelMartinez opened 3 months ago

MichaelMartinez commented 3 months ago

Great project and thank you for sharing!

I ran into a few issues while installing and have some solutions.

Problems

  1. Qdrant didn't work on Windows 10
  2. Unclear where data is supposed to be stored/loaded
  3. Unclear where the app runs from when using docker

Solutions

  1. Use docker for Qdrant - It seems that qdrant is very problematic running on windows natively
  2. Download data from https://civitai.com/models/330412/prompt-quill-vector-data
    • Navigate: Qdrant Dashboard -> collections -> upload dataset
    • Name the new collection: prompts_large_meta
    • Unzip prompt quill vector file (19GB or so)
    • Populate the upload dialogue with the file and click upload
    • Patiently wait for Qdrant to do its thing. DO NOT CLICK AROUND. Go check out hackernews or something
    • It will finish eventually and now you can install the app with the one click method
  3. Install the app
    • The app itself doesn't install into another docker container. I was confused by this at first. It simply uses docker for qdrant.
    • Click on one_click_install_docker.bat to install the main app. I still ended up with the vector data being downloaded, into the /installer_files/qdrant/ directory. I haven't deleted it yet but I assume you could as its using the docker container.
    • Once installed, use the start_prompt_quill_docker.bat to run. There will be a pull request with a change to this file shortly.
osi1880vr commented 2 months ago

Thanks for pointing that out and digging into the details. I keep it open so maybe other people can learn from this until I learn how to fix the native install that most the time works but in some cases keep failing without any visible reason.