You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When bootstrapping Neuropod Python models, pip packages would be installed in the "current user" folder, which might be readonly (which is typical in production docker environment).
The purpose of the ~/.neuropod/pythonpackages/py{}{}/ directory is to store model dependencies (installed from pypi) so we don't need to reinstall packages every time a given model is loaded.
This is especially important for large pip packages (e.g. torch, tensorflow).
Moving this dir under /tmp by default partly defeats its purpose as these dependencies won't be available across restarts, etc.
I think it makes sense to allow the location of this directory to be configurable with an environment variable though.
Bug
When bootstrapping Neuropod Python models, pip packages would be installed in the "current user" folder, which might be readonly (which is typical in production docker environment).
To Reproduce
Steps to reproduce the behavior:
Create a Neuropod python model and make inference in the user folder which is read only. model bootstrap will fail.
Environment
The text was updated successfully, but these errors were encountered: