run-llama / create-llama

The easiest way to get started with LlamaIndex
MIT License
799 stars 96 forks source link

Generation crashing in docker #231

Open leonardpauli opened 1 month ago

leonardpauli commented 1 month ago

As per the readme:

docker run \
  --rm \
  -v $(pwd)/.env:/app/.env \
  -v $(pwd)/config:/app/config \
  -v $(pwd)/data:/app/data \
  -v $(pwd)/storage:/app/storage \
  hacknight \
  poetry run generate

crashed after a while at SimpleDocumentStore.from_persist_dir(STORAGE_DIR) in backend/app/engine/generate.py

removing the -v $(pwd)/storage:/app/storage made it work (but obviously not persisting)

(not reproducing now, but posting issue on request from the event!)

marcusschiesser commented 3 weeks ago

@leonardpauli, did it work in the end? This kind of error might be related to Docker being unable to mount the volume due to file system restrictions