Skip to content

Commit 49f75d6

Browse files
committed
Update version to 0.9.0
1 parent fca5460 commit 49f75d6

File tree

29 files changed

+60
-64
lines changed

29 files changed

+60
-64
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Cortex is an open source platform that takes machine learning models—trained with nearly any framework—and turns them into production web APIs in one command. <br>
44

5-
<!-- Delete on release branches -->
6-
<!-- CORTEX_VERSION_README_MINOR x1 -->
7-
[install](https://www.cortex.dev/install)[docs](https://www.cortex.dev)[examples](https://github.com/cortexlabs/cortex/tree/0.8/examples)[we're hiring](https://angel.co/cortex-labs-inc/jobs)[email us](mailto:[email protected])[chat with us](https://gitter.im/cortexlabs/cortex)<br><br>
8-
95
<!-- Set header Cache-Control=no-cache on the S3 object metadata (see https://help.github.com/en/articles/about-anonymized-image-urls) -->
106
![Demo](https://cortex-public.s3-us-west-2.amazonaws.com/demo/gif/v0.8.gif)<br>
117

@@ -20,7 +16,7 @@ Below, we'll walk through how to use Cortex to deploy OpenAI's GPT-2 model as a
2016
### Step 1: Configure your deployment
2117

2218
<!-- CORTEX_VERSION_README_MINOR -->
23-
Define a `deployment` and an `api` resource. A `deployment` specifies a set of APIs that are deployed together. An `api` makes a model available as a web service that can serve real-time predictions. The configuration below will download the model from the `cortex-examples` S3 bucket. You can run the code that generated the model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.8/examples/text-generator/gpt-2.ipynb).
19+
Define a `deployment` and an `api` resource. A `deployment` specifies a set of APIs that are deployed together. An `api` makes a model available as a web service that can serve real-time predictions. The configuration below will download the model from the `cortex-examples` S3 bucket. You can run the code that generated the model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/text-generator/gpt-2.ipynb).
2420

2521
```yaml
2622
# cortex.yaml
@@ -101,11 +97,11 @@ Any questions? [chat with us](https://gitter.im/cortexlabs/cortex).
10197
## More examples
10298

10399
<!-- CORTEX_VERSION_README_MINOR x3 -->
104-
- [Iris classification](https://github.com/cortexlabs/cortex/tree/0.8/examples/iris-classifier)
100+
- [Iris classification](https://github.com/cortexlabs/cortex/tree/0.9/examples/iris-classifier)
105101

106-
- [Sentiment analysis](https://github.com/cortexlabs/cortex/tree/0.8/examples/sentiment-analysis) with BERT
102+
- [Sentiment analysis](https://github.com/cortexlabs/cortex/tree/0.9/examples/sentiment-analysis) with BERT
107103

108-
- [Image classification](https://github.com/cortexlabs/cortex/tree/0.8/examples/image-classifier) with Inception v3 and AlexNet
104+
- [Image classification](https://github.com/cortexlabs/cortex/tree/0.9/examples/image-classifier) with Inception v3 and AlexNet
109105

110106
<br>
111107

build/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919

2020
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)"
2121

22-
CORTEX_VERSION=master
22+
CORTEX_VERSION=0.9.0
2323

2424
dir=$1
2525
image=$2

build/cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -euo pipefail
1919

2020
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. >/dev/null && pwd)"
2121

22-
CORTEX_VERSION=master
22+
CORTEX_VERSION=0.9.0
2323

2424
arg1=${1:-""}
2525
upload="false"

build/push-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
set -euo pipefail
1919

20-
CORTEX_VERSION=master
20+
CORTEX_VERSION=0.9.0
2121

2222
image=$1
2323

cortex.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ set -u
8484
### CONFIGURATION ###
8585
#####################
8686

87-
export CORTEX_VERSION_BRANCH_STABLE=master
87+
export CORTEX_VERSION_BRANCH_STABLE=0.9.0
8888

8989
export CORTEX_CONFIG="${CORTEX_CONFIG:-""}"
9090
if [ "$CORTEX_CONFIG" != "" ]; then

docs/cluster/config.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,23 @@ export CORTEX_NODES_MIN=2
3737
export CORTEX_NODES_MAX=5
3838

3939
# Image paths
40-
export CORTEX_IMAGE_MANAGER="cortexlabs/manager:master"
41-
export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:master"
42-
export CORTEX_IMAGE_STATSD="cortexlabs/statsd:master"
43-
export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:master"
44-
export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:master"
45-
export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:master"
46-
export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:master"
47-
export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:master"
48-
export CORTEX_IMAGE_ONNX_SERVE_GPU="cortexlabs/onnx-serve-gpu:master"
49-
export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:master"
50-
export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:master"
51-
export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:master"
52-
export CORTEX_IMAGE_ISTIO_PROXY="cortexlabs/istio-proxy:master"
53-
export CORTEX_IMAGE_ISTIO_PILOT="cortexlabs/istio-pilot:master"
54-
export CORTEX_IMAGE_ISTIO_CITADEL="cortexlabs/istio-citadel:master"
55-
export CORTEX_IMAGE_ISTIO_GALLEY="cortexlabs/istio-galley:master"
56-
export CORTEX_IMAGE_DOWNLOADER="cortexlabs/downloader:master"
40+
export CORTEX_IMAGE_MANAGER="cortexlabs/manager:0.9.0"
41+
export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:0.9.0"
42+
export CORTEX_IMAGE_STATSD="cortexlabs/statsd:0.9.0"
43+
export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:0.9.0"
44+
export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:0.9.0"
45+
export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:0.9.0"
46+
export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:0.9.0"
47+
export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:0.9.0"
48+
export CORTEX_IMAGE_ONNX_SERVE_GPU="cortexlabs/onnx-serve-gpu:0.9.0"
49+
export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:0.9.0"
50+
export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:0.9.0"
51+
export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:0.9.0"
52+
export CORTEX_IMAGE_ISTIO_PROXY="cortexlabs/istio-proxy:0.9.0"
53+
export CORTEX_IMAGE_ISTIO_PILOT="cortexlabs/istio-pilot:0.9.0"
54+
export CORTEX_IMAGE_ISTIO_CITADEL="cortexlabs/istio-citadel:0.9.0"
55+
export CORTEX_IMAGE_ISTIO_GALLEY="cortexlabs/istio-galley:0.9.0"
56+
export CORTEX_IMAGE_DOWNLOADER="cortexlabs/downloader:0.9.0"
5757

5858
# Flag to enable collecting error reports and usage stats. If flag is not set to either "true" or "false", you will be prompted.
5959
export CORTEX_ENABLE_TELEMETRY=""

docs/cluster/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See [cluster configuration](config.md) to customize your installation.
1313

1414
```bash
1515
# Download
16-
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh
16+
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.9/cortex.sh
1717

1818
# Change permissions
1919
chmod +x cortex.sh
@@ -42,7 +42,7 @@ This will create resources in your AWS account which aren't included in the free
4242

4343
```bash
4444
# Clone the Cortex repository
45-
git clone -b master https://github.com/cortexlabs/cortex.git
45+
git clone -b 0.9 https://github.com/cortexlabs/cortex.git
4646

4747
# Navigate to the iris classification example
4848
cd cortex/examples/iris-classifier

docs/cluster/python-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Python client can be used to programmatically deploy models to a Cortex Clus
44

55
<!-- CORTEX_VERSION_BRANCH_STABLE, e.g. v0.9.0 -->
66
```bash
7-
pip install git+https://github.com/cortexlabs/cortex.git@master#egg=cortex\&subdirectory=pkg/workloads/cortex/client
7+
pip install git+https://github.com/cortexlabs/cortex.git@v0.9.0#egg=cortex\&subdirectory=pkg/workloads/cortex/client
88
```
99

1010
The Python client needs to be initialized with AWS credentials and an operator URL for your Cortex cluster. You can find the operator URL by running `./cortex.sh endpoints`.

docs/cluster/uninstall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
```bash
1313
# Download
14-
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh
14+
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.9/cortex.sh
1515

1616
# Change permissions
1717
chmod +x cortex.sh

docs/cluster/update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See [cluster configuration](config.md) to customize your installation.
1313

1414
```bash
1515
# Download
16-
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh
16+
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.9/cortex.sh
1717

1818
# Change permissions
1919
chmod +x cortex.sh

docs/deployments/packaging-models.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## TensorFlow
44

55
<!-- CORTEX_VERSION_MINOR -->
6-
Export your trained model and upload the export directory, or checkpoint directory containing the export directory, which is usually the case if you used `estimator.train_and_evaluate`. An example is shown below (here is the [complete example](https://github.com/cortexlabs/cortex/blob/master/examples/sentiment-analysis)):
6+
Export your trained model and upload the export directory, or checkpoint directory containing the export directory, which is usually the case if you used `estimator.train_and_evaluate`. An example is shown below (here is the [complete example](https://github.com/cortexlabs/cortex/blob/0.9/examples/sentiment-analysis)):
77

88
```Python
99
import tensorflow as tf
@@ -80,10 +80,10 @@ with open("sklearn.onnx", "wb") as f:
8080
<!-- CORTEX_VERSION_MINOR x4 -->
8181
Here are complete examples of converting models from some of the common ML frameworks to ONNX:
8282
83-
* [PyTorch](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/pytorch_model.py)
84-
* [Sklearn](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/sklearn_model.py)
85-
* [XGBoost](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/xgboost_model.py)
86-
* [Keras](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/keras_model.py)
83+
* [PyTorch](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/pytorch_model.py)
84+
* [Sklearn](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/sklearn_model.py)
85+
* [XGBoost](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/xgboost_model.py)
86+
* [Keras](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/keras_model.py)
8787
8888
Upload your trained model in ONNX format to Amazon S3 using the AWS web console or CLI:
8989

docs/summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* [Deploy machine learning models in production](../README.md)
44
* [Install](cluster/install.md)
55
* [GitHub](https://github.com/cortexlabs/cortex)
6-
* [Examples](https://github.com/cortexlabs/cortex/tree/master/examples) <!-- CORTEX_VERSION_MINOR -->
6+
* [Examples](https://github.com/cortexlabs/cortex/tree/0.9/examples) <!-- CORTEX_VERSION_MINOR -->
77
* [We're hiring](https://angel.co/cortex-labs-inc/jobs)
88
* [Email us](mailto:[email protected])
99
* [Chat with us](https://gitter.im/cortexlabs/cortex)

examples/image-classifier/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
2020
2121
<!-- CORTEX_VERSION_MINOR x2 -->
2222
You can run the code that generated the exported models used in this example folder here:
23-
- [Pytorch Alexnet](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/image-classifier/alexnet.ipynb)
24-
- [TensorFlow Inception V3](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/image-classifier/inception.ipynb)
23+
- [Pytorch Alexnet](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/image-classifier/alexnet.ipynb)
24+
- [TensorFlow Inception V3](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/image-classifier/inception.ipynb)
2525
2626
2727
## Add request handling

examples/image-classifier/alexnet.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
},
167167
"source": [
168168
"<!-- CORTEX_VERSION_MINOR -->\n",
169-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/image-classifier) for how to deploy the model as an API."
169+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/image-classifier) for how to deploy the model as an API."
170170
]
171171
}
172172
]

examples/image-classifier/inception.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
},
203203
"source": [
204204
"<!-- CORTEX_VERSION_MINOR -->\n",
205-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/image-classifier) for how to deploy the model as an API."
205+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/image-classifier) for how to deploy the model as an API."
206206
]
207207
}
208208
]

examples/iris-classifier/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ Define a `deployment` and an `api` resource in `cortex.yaml`. A `deployment` spe
2020
2121
<!-- CORTEX_VERSION_MINOR x5 -->
2222
You can run the code that generated the exported models used in this folder example here:
23-
- [TensorFlow](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/tensorflow.ipynb)
24-
- [Pytorch](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/pytorch.ipynb)
25-
- [Keras](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/keras.ipynb)
26-
- [XGBoost](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/xgboost.ipynb)
27-
- [sklearn](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/sklearn.ipynb)
23+
- [TensorFlow](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/tensorflow.ipynb)
24+
- [Pytorch](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/pytorch.ipynb)
25+
- [Keras](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/keras.ipynb)
26+
- [XGBoost](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/xgboost.ipynb)
27+
- [sklearn](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/sklearn.ipynb)
2828
2929
## Add request handling
3030

examples/iris-classifier/models/keras.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
},
243243
"source": [
244244
"<!-- CORTEX_VERSION_MINOR -->\n",
245-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
245+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/iris-classifier) for how to deploy the model as an API."
246246
]
247247
}
248248
]

examples/iris-classifier/models/pytorch.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
},
275275
"source": [
276276
"<!-- CORTEX_VERSION_MINOR -->\n",
277-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
277+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/iris-classifier) for how to deploy the model as an API."
278278
]
279279
}
280280
]

examples/iris-classifier/models/sklearn.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
},
294294
"source": [
295295
"<!-- CORTEX_VERSION_MINOR -->\n",
296-
"We also need to upload the mean and standard deviation, so that the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/handlers/sklearn.py) can normalize the data before making real-time predictions."
296+
"We also need to upload the mean and standard deviation, so that the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/handlers/sklearn.py) can normalize the data before making real-time predictions."
297297
]
298298
},
299299
{
@@ -347,7 +347,7 @@
347347
},
348348
"source": [
349349
"<!-- CORTEX_VERSION_MINOR -->\n",
350-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
350+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/iris-classifier) for how to deploy the model as an API."
351351
]
352352
}
353353
]

examples/iris-classifier/models/tensorflow.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
},
288288
"source": [
289289
"<!-- CORTEX_VERSION_MINOR -->\n",
290-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
290+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/iris-classifier) for how to deploy the model as an API."
291291
]
292292
}
293293
]

examples/iris-classifier/models/xgboost.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
},
236236
"source": [
237237
"<!-- CORTEX_VERSION_MINOR -->\n",
238-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/iris-classifier) for how to deploy the model as an API."
238+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/iris-classifier) for how to deploy the model as an API."
239239
]
240240
}
241241
]

examples/sentiment-analysis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
1919
```
2020
2121
<!-- CORTEX_VERSION_MINOR -->
22-
You can run the code that generated the exported BERT model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/sentiment-analysis/bert.ipynb).
22+
You can run the code that generated the exported BERT model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/sentiment-analysis/bert.ipynb).
2323
2424
2525
## Add request handling

examples/sentiment-analysis/bert.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@
998998
},
999999
"source": [
10001000
"<!-- CORTEX_VERSION_MINOR -->\n",
1001-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/sentiment-analysis) for how to deploy the model as an API."
1001+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/sentiment-analysis) for how to deploy the model as an API."
10021002
]
10031003
}
10041004
]

examples/text-generator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
2020
```
2121
2222
<!-- CORTEX_VERSION_MINOR -->
23-
You can run the code that generated the exported GPT-2 model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/text-generator/gpt-2.ipynb).
23+
You can run the code that generated the exported GPT-2 model [here](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/text-generator/gpt-2.ipynb).
2424
2525
## Add request handling
2626

examples/text-generator/gpt-2.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
},
345345
"source": [
346346
"<!-- CORTEX_VERSION_MINOR x2 -->\n",
347-
"We also need to upload `vocab.bpe` and `encoder.json`, so that the [encoder](https://github.com/cortexlabs/cortex/blob/master/examples/text-generator/encoder.py) in the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/master/examples/text-generator/handler.py) can encode the input text before making a request to the model."
347+
"We also need to upload `vocab.bpe` and `encoder.json`, so that the [encoder](https://github.com/cortexlabs/cortex/blob/0.9/examples/text-generator/encoder.py) in the [pre-inference request handler](https://github.com/cortexlabs/cortex/blob/0.9/examples/text-generator/handler.py) can encode the input text before making a request to the model."
348348
]
349349
},
350350
{
@@ -374,7 +374,7 @@
374374
},
375375
"source": [
376376
"<!-- CORTEX_VERSION_MINOR -->\n",
377-
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/master/examples/text-generator) for how to deploy the model as an API."
377+
"That's it! See the [example on GitHub](https://github.com/cortexlabs/cortex/tree/0.9/examples/text-generator) for how to deploy the model as an API."
378378
]
379379
}
380380
]

pkg/consts/consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package consts
1818

1919
var (
20-
CortexVersion = "master" // CORTEX_VERSION
20+
CortexVersion = "0.9.0" // CORTEX_VERSION
2121

2222
ContextCacheDir = "/mnt/context"
2323
EmptyDirMountPath = "/mnt"

pkg/workloads/cortex/client/cortex/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, aws_access_key_id, aws_secret_access_key, operator_url):
4444
self.aws_access_key_id = aws_access_key_id
4545
self.aws_secret_access_key = aws_secret_access_key
4646
self.headers = {
47-
"CortexAPIVersion": "master", # CORTEX_VERSION
47+
"CortexAPIVersion": "0.9.0", # CORTEX_VERSION
4848
"Authorization": "CortexAWS {}|{}".format(
4949
self.aws_access_key_id, self.aws_secret_access_key
5050
),

pkg/workloads/cortex/client/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name="cortex",
19-
version="master", # CORTEX_VERSION
19+
version="0.9.0", # CORTEX_VERSION
2020
description="",
2121
author="Cortex Labs",
2222
author_email="[email protected]",

pkg/workloads/cortex/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
CORTEX_VERSION = "master"
15+
CORTEX_VERSION = "0.9.0"

0 commit comments

Comments
 (0)