Skip to content

Commit 22057ec

Browse files
authored
Document system packages (#847)
1 parent db83580 commit 22057ec

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

docs/deployments/onnx.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class ONNXPredictor:
122122

123123
## Pre-installed packages
124124

125-
The following packages have been pre-installed and can be used in your implementations:
125+
The following Python packages have been pre-installed and can be used in your implementations:
126126

127127
```text
128128
boto3==1.10.45
@@ -134,4 +134,7 @@ pyyaml==5.3
134134
requests==2.22.0
135135
```
136136

137-
Learn how to install additional packages [here](../dependency-management/python-packages.md).
137+
<!-- CORTEX_VERSION_MINOR x2 -->
138+
The pre-installed system packages are listed in the [onnx-serve Dockerfile](https://github.com/cortexlabs/cortex/tree/master/images/onnx-serve/Dockerfile) (for CPU) or the [onnx-serve-gpu Dockerfile](https://github.com/cortexlabs/cortex/tree/master/images/onnx-serve-gpu/Dockerfile) (for GPU).
139+
140+
If your application requires additional dependencies, you can [install additional Python packages](../dependency-management/python-packages.md) or [install additional system packages](../dependency-management/system-packages.md).

docs/deployments/python.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class PythonPredictor:
141141

142142
## Pre-installed packages
143143

144-
The following packages have been pre-installed and can be used in your implementations:
144+
The following Python packages have been pre-installed and can be used in your implementations:
145145

146146
```text
147147
boto3==1.10.45
@@ -172,4 +172,7 @@ torchvision==0.5.0
172172
xgboost==0.90
173173
```
174174

175-
Learn how to install additional packages [here](../dependency-management/python-packages.md).
175+
<!-- CORTEX_VERSION_MINOR x2 -->
176+
The pre-installed system packages are listed in the [python-serve Dockerfile](https://github.com/cortexlabs/cortex/tree/master/images/python-serve/Dockerfile) (for CPU) or the [python-serve-gpu Dockerfile](https://github.com/cortexlabs/cortex/tree/master/images/python-serve-gpu/Dockerfile) (for GPU).
177+
178+
If your application requires additional dependencies, you can [install additional Python packages](../dependency-management/python-packages.md) or [install additional system packages](../dependency-management/system-packages.md).

docs/deployments/tensorflow.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class TensorFlowPredictor:
114114

115115
## Pre-installed packages
116116

117-
The following packages have been pre-installed and can be used in your implementations:
117+
The following Python packages have been pre-installed and can be used in your implementations:
118118

119119
```text
120120
boto3==1.10.45
@@ -129,4 +129,7 @@ tensorflow-hub==0.7.0
129129
tensorflow==2.1.0
130130
```
131131

132-
Learn how to install additional packages [here](../dependency-management/python-packages.md).
132+
<!-- CORTEX_VERSION_MINOR -->
133+
The pre-installed system packages are listed in the [tf-api Dockerfile](https://github.com/cortexlabs/cortex/tree/master/images/tf-api/Dockerfile).
134+
135+
If your application requires additional dependencies, you can [install additional Python packages](../dependency-management/python-packages.md) or [install additional system packages](../dependency-management/system-packages.md).

0 commit comments

Comments
 (0)