Skip to content

Commit

Permalink
Update version to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deliahu committed Oct 15, 2019
1 parent fca5460 commit 49f75d6
Show file tree
Hide file tree
Showing 29 changed files with 60 additions and 64 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

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>

<!-- Delete on release branches -->
<!-- CORTEX_VERSION_README_MINOR x1 -->
[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>

<!-- Set header Cache-Control=no-cache on the S3 object metadata (see https://help.github.com/en/articles/about-anonymized-image-urls) -->
![Demo](https://cortex-public.s3-us-west-2.amazonaws.com/demo/gif/v0.8.gif)<br>

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

<!-- CORTEX_VERSION_README_MINOR -->
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).
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).

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

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

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

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

<br>

Expand Down
2 changes: 1 addition & 1 deletion build/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -euo pipefail

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

CORTEX_VERSION=master
CORTEX_VERSION=0.9.0

dir=$1
image=$2
Expand Down
2 changes: 1 addition & 1 deletion build/cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -euo pipefail

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

CORTEX_VERSION=master
CORTEX_VERSION=0.9.0

arg1=${1:-""}
upload="false"
Expand Down
2 changes: 1 addition & 1 deletion build/push-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

set -euo pipefail

CORTEX_VERSION=master
CORTEX_VERSION=0.9.0

image=$1

Expand Down
2 changes: 1 addition & 1 deletion cortex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ set -u
### CONFIGURATION ###
#####################

export CORTEX_VERSION_BRANCH_STABLE=master
export CORTEX_VERSION_BRANCH_STABLE=0.9.0

export CORTEX_CONFIG="${CORTEX_CONFIG:-""}"
if [ "$CORTEX_CONFIG" != "" ]; then
Expand Down
34 changes: 17 additions & 17 deletions docs/cluster/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ export CORTEX_NODES_MIN=2
export CORTEX_NODES_MAX=5

# Image paths
export CORTEX_IMAGE_MANAGER="cortexlabs/manager:master"
export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:master"
export CORTEX_IMAGE_STATSD="cortexlabs/statsd:master"
export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:master"
export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:master"
export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:master"
export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:master"
export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:master"
export CORTEX_IMAGE_ONNX_SERVE_GPU="cortexlabs/onnx-serve-gpu:master"
export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:master"
export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:master"
export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:master"
export CORTEX_IMAGE_ISTIO_PROXY="cortexlabs/istio-proxy:master"
export CORTEX_IMAGE_ISTIO_PILOT="cortexlabs/istio-pilot:master"
export CORTEX_IMAGE_ISTIO_CITADEL="cortexlabs/istio-citadel:master"
export CORTEX_IMAGE_ISTIO_GALLEY="cortexlabs/istio-galley:master"
export CORTEX_IMAGE_DOWNLOADER="cortexlabs/downloader:master"
export CORTEX_IMAGE_MANAGER="cortexlabs/manager:0.9.0"
export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:0.9.0"
export CORTEX_IMAGE_STATSD="cortexlabs/statsd:0.9.0"
export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:0.9.0"
export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:0.9.0"
export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:0.9.0"
export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:0.9.0"
export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:0.9.0"
export CORTEX_IMAGE_ONNX_SERVE_GPU="cortexlabs/onnx-serve-gpu:0.9.0"
export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:0.9.0"
export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:0.9.0"
export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:0.9.0"
export CORTEX_IMAGE_ISTIO_PROXY="cortexlabs/istio-proxy:0.9.0"
export CORTEX_IMAGE_ISTIO_PILOT="cortexlabs/istio-pilot:0.9.0"
export CORTEX_IMAGE_ISTIO_CITADEL="cortexlabs/istio-citadel:0.9.0"
export CORTEX_IMAGE_ISTIO_GALLEY="cortexlabs/istio-galley:0.9.0"
export CORTEX_IMAGE_DOWNLOADER="cortexlabs/downloader:0.9.0"

# Flag to enable collecting error reports and usage stats. If flag is not set to either "true" or "false", you will be prompted.
export CORTEX_ENABLE_TELEMETRY=""
Expand Down
4 changes: 2 additions & 2 deletions docs/cluster/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See [cluster configuration](config.md) to customize your installation.

```bash
# Download
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.9/cortex.sh

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

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

# Navigate to the iris classification example
cd cortex/examples/iris-classifier
Expand Down
2 changes: 1 addition & 1 deletion docs/cluster/python-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The Python client can be used to programmatically deploy models to a Cortex Clus

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

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`.
Expand Down
2 changes: 1 addition & 1 deletion docs/cluster/uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

```bash
# Download
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.9/cortex.sh

# Change permissions
chmod +x cortex.sh
Expand Down
2 changes: 1 addition & 1 deletion docs/cluster/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See [cluster configuration](config.md) to customize your installation.

```bash
# Download
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/master/cortex.sh
curl -O https://raw.githubusercontent.com/cortexlabs/cortex/0.9/cortex.sh

# Change permissions
chmod +x cortex.sh
Expand Down
10 changes: 5 additions & 5 deletions docs/deployments/packaging-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## TensorFlow

<!-- CORTEX_VERSION_MINOR -->
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)):
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)):

```Python
import tensorflow as tf
Expand Down Expand Up @@ -80,10 +80,10 @@ with open("sklearn.onnx", "wb") as f:
<!-- CORTEX_VERSION_MINOR x4 -->
Here are complete examples of converting models from some of the common ML frameworks to ONNX:
* [PyTorch](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/pytorch_model.py)
* [Sklearn](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/sklearn_model.py)
* [XGBoost](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/xgboost_model.py)
* [Keras](https://github.com/cortexlabs/cortex/blob/master/examples/iris-classifier/models/keras_model.py)
* [PyTorch](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/pytorch_model.py)
* [Sklearn](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/sklearn_model.py)
* [XGBoost](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/xgboost_model.py)
* [Keras](https://github.com/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/keras_model.py)
Upload your trained model in ONNX format to Amazon S3 using the AWS web console or CLI:
Expand Down
2 changes: 1 addition & 1 deletion docs/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* [Deploy machine learning models in production](../README.md)
* [Install](cluster/install.md)
* [GitHub](https://github.com/cortexlabs/cortex)
* [Examples](https://github.com/cortexlabs/cortex/tree/master/examples) <!-- CORTEX_VERSION_MINOR -->
* [Examples](https://github.com/cortexlabs/cortex/tree/0.9/examples) <!-- CORTEX_VERSION_MINOR -->
* [We're hiring](https://angel.co/cortex-labs-inc/jobs)
* [Email us](mailto:[email protected])
* [Chat with us](https://gitter.im/cortexlabs/cortex)
Expand Down
4 changes: 2 additions & 2 deletions examples/image-classifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
<!-- CORTEX_VERSION_MINOR x2 -->
You can run the code that generated the exported models used in this example folder here:
- [Pytorch Alexnet](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/image-classifier/alexnet.ipynb)
- [TensorFlow Inception V3](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/image-classifier/inception.ipynb)
- [Pytorch Alexnet](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/image-classifier/alexnet.ipynb)
- [TensorFlow Inception V3](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/image-classifier/inception.ipynb)
## Add request handling
Expand Down
2 changes: 1 addition & 1 deletion examples/image-classifier/alexnet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/image-classifier/inception.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
10 changes: 5 additions & 5 deletions examples/iris-classifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Define a `deployment` and an `api` resource in `cortex.yaml`. A `deployment` spe
<!-- CORTEX_VERSION_MINOR x5 -->
You can run the code that generated the exported models used in this folder example here:
- [TensorFlow](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/tensorflow.ipynb)
- [Pytorch](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/pytorch.ipynb)
- [Keras](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/keras.ipynb)
- [XGBoost](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/xgboost.ipynb)
- [sklearn](https://colab.research.google.com/github/cortexlabs/cortex/blob/master/examples/iris-classifier/models/sklearn.ipynb)
- [TensorFlow](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/tensorflow.ipynb)
- [Pytorch](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/pytorch.ipynb)
- [Keras](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/keras.ipynb)
- [XGBoost](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/xgboost.ipynb)
- [sklearn](https://colab.research.google.com/github/cortexlabs/cortex/blob/0.9/examples/iris-classifier/models/sklearn.ipynb)
## Add request handling
Expand Down
2 changes: 1 addition & 1 deletion examples/iris-classifier/models/keras.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/iris-classifier/models/pytorch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
4 changes: 2 additions & 2 deletions examples/iris-classifier/models/sklearn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
},
{
Expand Down Expand Up @@ -347,7 +347,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/iris-classifier/models/tensorflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/iris-classifier/models/xgboost.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/sentiment-analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
```
<!-- CORTEX_VERSION_MINOR -->
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).
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).
## Add request handling
Expand Down
2 changes: 1 addition & 1 deletion examples/sentiment-analysis/bert.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/text-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A `deployment` specifies a set of resources that are deployed as a single unit.
```
<!-- CORTEX_VERSION_MINOR -->
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).
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).
## Add request handling
Expand Down
4 changes: 2 additions & 2 deletions examples/text-generator/gpt-2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR x2 -->\n",
"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."
"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."
]
},
{
Expand Down Expand Up @@ -374,7 +374,7 @@
},
"source": [
"<!-- CORTEX_VERSION_MINOR -->\n",
"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."
"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."
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion pkg/consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package consts

var (
CortexVersion = "master" // CORTEX_VERSION
CortexVersion = "0.9.0" // CORTEX_VERSION

ContextCacheDir = "/mnt/context"
EmptyDirMountPath = "/mnt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/workloads/cortex/client/cortex/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, aws_access_key_id, aws_secret_access_key, operator_url):
self.aws_access_key_id = aws_access_key_id
self.aws_secret_access_key = aws_secret_access_key
self.headers = {
"CortexAPIVersion": "master", # CORTEX_VERSION
"CortexAPIVersion": "0.9.0", # CORTEX_VERSION
"Authorization": "CortexAWS {}|{}".format(
self.aws_access_key_id, self.aws_secret_access_key
),
Expand Down
2 changes: 1 addition & 1 deletion pkg/workloads/cortex/client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="cortex",
version="master", # CORTEX_VERSION
version="0.9.0", # CORTEX_VERSION
description="",
author="Cortex Labs",
author_email="[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion pkg/workloads/cortex/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

CORTEX_VERSION = "master"
CORTEX_VERSION = "0.9.0"

0 comments on commit 49f75d6

Please sign in to comment.