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
if you are running off the 0.16 branch, replace image: cortexlabs/python-predictor-gpu-slim:master with image: cortexlabs/python-predictor-gpu-slim:0.16.0
cortex deploy
cortex logs iris-classifier will show this error:
ModuleNotFoundError: No module named 'uvicorn'
Additional context
It seems that all of the pre-installed cortex packages are removed or not able to be found. When appending the cortex-required packages to the requirements.txt above, the API works:
Version
0.16, master
Steps to reproduce
1. deploy a gpu cluster (
SSH
ing into a GPU machine and running locally should work too)2. modify
examples/pytorch/iris-classifier
as follows:update
requirements.txt
to be:create
conda-packages.txt
:update
cortex.yaml
to be:if you are running off the 0.16 branch, replace
image: cortexlabs/python-predictor-gpu-slim:master
withimage: cortexlabs/python-predictor-gpu-slim:0.16.0
cortex deploy
cortex logs iris-classifier
will show this error:Additional context
It seems that all of the pre-installed cortex packages are removed or not able to be found. When appending the cortex-required packages to the
requirements.txt
above, the API works:The text was updated successfully, but these errors were encountered: