network volume venv serverless
When trying to access venv/src pip installs from a network volume, I get moduleNotFound. When the same network volume is loaded on a Pod, it works just fine. Any tips?
Solution:Jump to solution
Venv needs to be loaded from the same directory path i think. u should instead in serverless just bake the dependency into the docker image
5 Replies
Solution
Venv needs to be loaded from the same directory path i think. u should instead in serverless just bake the dependency into the docker image
can do this
got this ex from my own whisperx runpod template
GitHub
runpodWhisperx/Dockerfile at master · justinwlin/runpodWhisperx
Runpod WhisperX Docker Container Repo. Contribute to justinwlin/runpodWhisperx development by creating an account on GitHub.
Exactly, the path is hard-coded into the venv. Again, symlink solves this.