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
Copy file name to clipboardExpand all lines: docs/workloads/task/configuration.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@
7
7
definition:
8
8
path: <string> # path to a python file with a Task class definition, relative to the Cortex root (required)
9
9
config: <string: value> # arbitrary dictionary passed to the callable method of the Task class (can be overridden by config passed in job submission) (optional)
10
+
dependencies: # (optional)
11
+
pip: <string> # relative path to requirements.txt (default: requirements.txt)
12
+
conda: <string> # relative path to conda-packages.txt (default: conda-packages.txt)
13
+
shell: <string> # relative path to a shell script for system package installation (default: dependencies.sh)
10
14
python_path: <string> # path to the root of your Python folder that will be appended to PYTHONPATH (default: folder containing cortex.yaml)
11
15
image: <string> # docker image to use for the Task (default: quay.io/cortexlabs/python-predictor-cpu:master, quay.io/cortexlabs/python-predictor-gpu:master-cuda10.2-cudnn8, or quay.io/cortexlabs/python-predictor-inf:master based on compute)
12
16
env: <string: string> # dictionary of environment variables
0 commit comments