diff --git a/docs/cluster-management/aws-credentials.md b/docs/cluster-management/aws-credentials.md index 28dc4c6c79..5d67f4ecb0 100644 --- a/docs/cluster-management/aws-credentials.md +++ b/docs/cluster-management/aws-credentials.md @@ -1,7 +1,5 @@ # AWS credentials -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - As of now, Cortex only runs locally or on AWS. We plan to support other cloud providers in the future. If you don't have an AWS account you can get started with one [here](https://portal.aws.amazon.com/billing/signup#/start). Follow this [tutorial](https://aws.amazon.com/premiumsupport/knowledge-center/create-access-key) to create an access key. Enable programmatic access for the IAM user, and attach the built-in `AdministratorAccess` policy to your IAM user. If you'd like to use less privileged credentials once the Cortex cluster has been created, see [security](../miscellaneous/security.md). diff --git a/docs/cluster-management/config.md b/docs/cluster-management/config.md index f66645f0dd..a62f637266 100644 --- a/docs/cluster-management/config.md +++ b/docs/cluster-management/config.md @@ -1,7 +1,5 @@ # Cluster configuration -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - The Cortex cluster may be configured by providing a configuration file to `cortex cluster up` or `cortex cluster configure` via the `--config` flag (e.g. `cortex cluster up --config cluster.yaml`). Below is the schema for the cluster configuration file, with default values shown (unless otherwise specified): diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index 0322eeb96e..0f434314f8 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -1,7 +1,5 @@ # EC2 instances -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - There are a variety of instance types to choose from when creating a Cortex cluster. If you are unsure about which instance to pick, review these options as a starting point. This is not a comprehensive guide so please refer to the [AWS's documentation](https://aws.amazon.com/ec2/instance-types/) for more information. diff --git a/docs/cluster-management/install.md b/docs/cluster-management/install.md index 965d29c6a9..f2b24415b3 100644 --- a/docs/cluster-management/install.md +++ b/docs/cluster-management/install.md @@ -1,7 +1,5 @@ # Install -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ## Running on your machine or a single instance [Docker](https://docs.docker.com/install) is required to run Cortex locally. In addition, your machine (or your Docker Desktop for Mac users) should have at least 8GB of memory if you plan to deploy large deep learning models. diff --git a/docs/cluster-management/spot-instances.md b/docs/cluster-management/spot-instances.md index a7e6ae515f..062d46b23c 100644 --- a/docs/cluster-management/spot-instances.md +++ b/docs/cluster-management/spot-instances.md @@ -1,7 +1,5 @@ # Spot instances -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - [Spot instances](https://aws.amazon.com/ec2/spot/) are spare capacity that AWS sells at a discount (up to 90%). The caveat is that spot instances may not always be available, and can be recalled by AWS at anytime. Cortex allows you to use spot instances in your cluster to take advantage of the discount while ensuring uptime and reliability of APIs. You can configure your cluster to use spot instances using the configuration below: ```yaml diff --git a/docs/cluster-management/uninstall.md b/docs/cluster-management/uninstall.md index bf84bf94f1..6095c9b80e 100644 --- a/docs/cluster-management/uninstall.md +++ b/docs/cluster-management/uninstall.md @@ -1,7 +1,5 @@ # Uninstall -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ## Prerequisites 1. [AWS credentials](aws-credentials.md) diff --git a/docs/cluster-management/update.md b/docs/cluster-management/update.md index 5e2b5a9793..f15359e571 100644 --- a/docs/cluster-management/update.md +++ b/docs/cluster-management/update.md @@ -1,7 +1,5 @@ # Update -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ## Prerequisites 1. [Docker](https://docs.docker.com/install) diff --git a/docs/deployments/api-configuration.md b/docs/deployments/api-configuration.md index a6ce2f15b5..d347e57668 100644 --- a/docs/deployments/api-configuration.md +++ b/docs/deployments/api-configuration.md @@ -1,7 +1,5 @@ # API configuration -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - Once your model is [exported](exporting.md) and you've implemented a [Predictor](predictors.md), you can configure your API via a yaml file (typically named `cortex.yaml`). Reference the section below which corresponds to your Predictor type: [Python](#python-predictor), [TensorFlow](#tensorflow-predictor), or [ONNX](#onnx-predictor). diff --git a/docs/deployments/autoscaling.md b/docs/deployments/autoscaling.md index 424b6658a4..194e01b679 100644 --- a/docs/deployments/autoscaling.md +++ b/docs/deployments/autoscaling.md @@ -1,7 +1,5 @@ # Autoscaling -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - Cortex autoscales your web services on a per-API basis based on your configuration. ## Replica Parallelism diff --git a/docs/deployments/compute.md b/docs/deployments/compute.md index 3208da231b..30f71d3e33 100644 --- a/docs/deployments/compute.md +++ b/docs/deployments/compute.md @@ -1,7 +1,5 @@ # Compute -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - Compute resource requests in Cortex follow the syntax and meaning of [compute resources in Kubernetes](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container). For example: diff --git a/docs/deployments/deployment.md b/docs/deployments/deployment.md index dc1a9ee587..9a11f7d0ad 100644 --- a/docs/deployments/deployment.md +++ b/docs/deployments/deployment.md @@ -1,7 +1,5 @@ # API deployment -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - Once your model is [exported](exporting.md), you've implemented a [Predictor](predictors.md), and you've [configured your API](api-configuration.md), you're ready to deploy! ## `cortex deploy` diff --git a/docs/deployments/exporting.md b/docs/deployments/exporting.md index 78d0c855a0..48bae8da58 100644 --- a/docs/deployments/exporting.md +++ b/docs/deployments/exporting.md @@ -1,7 +1,5 @@ # Exporting models -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - Cortex can deploy models that are exported in a variety of formats. Therefore, it is best practice to export your model by following the recommendations of your machine learning library. Here are examples for some common ML libraries: diff --git a/docs/deployments/gpus.md b/docs/deployments/gpus.md index 473121cc6e..eadedf783d 100644 --- a/docs/deployments/gpus.md +++ b/docs/deployments/gpus.md @@ -1,7 +1,5 @@ # Using GPUs -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - To use GPUs: 1. Make sure your AWS account is subscribed to the [EKS-optimized AMI with GPU Support](https://aws.amazon.com/marketplace/pp/B07GRHFXGM). diff --git a/docs/deployments/prediction-monitoring.md b/docs/deployments/prediction-monitoring.md index da647e7380..05f9b88600 100644 --- a/docs/deployments/prediction-monitoring.md +++ b/docs/deployments/prediction-monitoring.md @@ -1,7 +1,5 @@ # Prediction monitoring -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - You can configure your API to collect prediction metrics and display real-time stats in `cortex get `. Cortex looks for scalar values in the response payload. If the response payload is a JSON object, `key` must be used to extract the desired scalar value. ```yaml diff --git a/docs/deployments/predictors.md b/docs/deployments/predictors.md index 6d03939e8e..07923a7f8a 100644 --- a/docs/deployments/predictors.md +++ b/docs/deployments/predictors.md @@ -1,7 +1,5 @@ # Predictor implementation -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - Once your model is [exported](exporting.md), you can implement one of Cortex's Predictor classes to deploy your model. A Predictor is a Python class that describes how to initialize your model and use it to make predictions. Which Predictor you use depends on how your model is exported: diff --git a/docs/deployments/python-packages.md b/docs/deployments/python-packages.md index 32e822d4b2..4ae38f6db0 100644 --- a/docs/deployments/python-packages.md +++ b/docs/deployments/python-packages.md @@ -1,7 +1,5 @@ # Python/Conda packages -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ## PyPI packages You can install your required PyPI packages and import them in your Python files using pip. Cortex looks for a `requirements.txt` file in the top level Cortex project directory (i.e. the directory which contains `cortex.yaml`): diff --git a/docs/deployments/statuses.md b/docs/deployments/statuses.md index 138d5b47bb..11b490bc01 100644 --- a/docs/deployments/statuses.md +++ b/docs/deployments/statuses.md @@ -1,7 +1,5 @@ # API statuses -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - | Status | Meaning | | :--- | :--- | | live | API is deployed and ready to serve prediction requests (at least one replica is running) | diff --git a/docs/deployments/system-packages.md b/docs/deployments/system-packages.md index 42ea5c809c..79bc9b2a30 100644 --- a/docs/deployments/system-packages.md +++ b/docs/deployments/system-packages.md @@ -1,7 +1,5 @@ # System packages -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ## Bash script Cortex looks for a file named `dependencies.sh` in the top level Cortex project directory (i.e. the directory which contains `cortex.yaml`). For example: diff --git a/docs/guides/api-gateway.md b/docs/guides/api-gateway.md index f2cdc82a8e..3184416222 100644 --- a/docs/guides/api-gateway.md +++ b/docs/guides/api-gateway.md @@ -1,7 +1,5 @@ # Set up AWS API Gateway -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - We have plans to automatically configure API gateway when creating a Cortex API ([#326](https://github.com/cortexlabs/cortex/issues/326)), but until that's implemented, it's fairly straightforward to set it up manually. One reason to use API Gateway is to get HTTPS working with valid certificates (either by using AWS's built-in certificates, or using your own via custom domains and the AWS Certificate Manager). Another reason could be to expose your APIs to the internet when configuring Cortex to use an internal load balancer. diff --git a/docs/guides/batch-runner.md b/docs/guides/batch-runner.md index 08e8f736b7..c8a743551d 100644 --- a/docs/guides/batch-runner.md +++ b/docs/guides/batch-runner.md @@ -1,7 +1,5 @@ # Add a batch runner API -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - We have plans to support a batch interface to Cortex APIs ([#523](https://github.com/cortexlabs/cortex/issues/523)), but until that's implemented, it is possible to implement a batch runner which receives the batch request, splits it into individual requests, and sends them to the prediction API. _Note: this is experimental. Also, this behavior can be implemented outside of Cortex, e.g. in your backend server if you have one._ diff --git a/docs/guides/metrics.md b/docs/guides/metrics.md index 243957263f..b149884357 100644 --- a/docs/guides/metrics.md +++ b/docs/guides/metrics.md @@ -1,7 +1,5 @@ # Plot in-flight requests -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - The `cortex get` and `cortex get API_NAME` commands display the request time (averaged over the past 2 weeks) and response code counts (summed over the past 2 weeks) for your API(s): ```text diff --git a/docs/guides/single-node-deployment.md b/docs/guides/single-node-deployment.md index 649921bf59..f03da4c8a5 100644 --- a/docs/guides/single-node-deployment.md +++ b/docs/guides/single-node-deployment.md @@ -1,7 +1,5 @@ # Single node deployment -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - You can use Cortex to deploy models on a single node. Deploying to a single node can be cheaper than spinning up a Cortex cluster with 1 worker node. It also may be useful for testing your model on a GPU if you don't have access to one locally. Deploying on a single node entails `ssh`ing into that instance and running Cortex locally. When using this approach, you won't get the the advantages of deploying to a cluster such as autoscaling, rolling updates, etc. diff --git a/docs/guides/ssh-instance.md b/docs/guides/ssh-instance.md index 4aeeb95033..0baaf27870 100644 --- a/docs/guides/ssh-instance.md +++ b/docs/guides/ssh-instance.md @@ -1,7 +1,5 @@ # SSH into worker instance -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - There are some cases when SSH-ing into an AWS Cortex instance may be necessary. This can be done via the AWS web UI or via the terminal. The first 5 steps are identical for both approaches. diff --git a/docs/guides/subdomain-https-setup.md b/docs/guides/subdomain-https-setup.md index 7a27817488..61431beaa0 100644 --- a/docs/guides/subdomain-https-setup.md +++ b/docs/guides/subdomain-https-setup.md @@ -1,7 +1,5 @@ # Set up HTTPS on a subdomain -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - The recommended way to set up HTTPS with trusted certificates is by using [API Gateway](../api-gateway.md) because it's simpler and enables you to use API Gateway features such as rate limiting (it also supports custom domains). This guide is only recommended if HTTPS is required and you don't wish to use API Gateway (e.g. it doesn't support your use case due to limitations such as the 29 second request timeout). This guide will demonstrate how to create a dedicated subdomain in AWS Route 53 and use an SSL certificate provisioned by AWS Certificate Manager (ACM) to support HTTPS traffic to Cortex APIs. By the end of this guide, you will have a Cortex cluster with APIs accessible via `https:///`. diff --git a/docs/guides/vpc-peering.md b/docs/guides/vpc-peering.md index 3997914c6b..40605c8ebd 100644 --- a/docs/guides/vpc-peering.md +++ b/docs/guides/vpc-peering.md @@ -1,7 +1,5 @@ # Set up VPC peering -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - If you are using an internal operator load balancer (i.e. you set `operator_load_balancer_scheme: internal` in your cluster configuration file before creating your cluster), you can use VPC Peering to enable your Cortex CLI to connect to your cluster operator from another VPC so that you may run `cortex` commands. If you are using an internal API load balancer (i.e. you set `api_load_balancer_scheme: internal` in your cluster configuration file before creating your cluster), you can use VPC Peering to enable prediction requests from another VPC. _Note: if you intend to create a public endpoint for your internal API load balancer, see our [API Gateway guide](api-gateway.md)._ diff --git a/docs/miscellaneous/architecture.md b/docs/miscellaneous/architecture.md index 80348100ec..a1431b4264 100644 --- a/docs/miscellaneous/architecture.md +++ b/docs/miscellaneous/architecture.md @@ -1,7 +1,5 @@ # Architecture diagram -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ![architecture diagram](https://user-images.githubusercontent.com/808475/81362760-7293bb80-9096-11ea-92e3-475c673b3dbc.png) _note: this diagram is simplified for illustrative purposes_ diff --git a/docs/miscellaneous/cli.md b/docs/miscellaneous/cli.md index 5627d707ea..695433dd01 100644 --- a/docs/miscellaneous/cli.md +++ b/docs/miscellaneous/cli.md @@ -1,7 +1,5 @@ # CLI commands -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - ## deploy ```text diff --git a/docs/miscellaneous/environments.md b/docs/miscellaneous/environments.md index daff9ad7be..b42ed96071 100644 --- a/docs/miscellaneous/environments.md +++ b/docs/miscellaneous/environments.md @@ -1,7 +1,5 @@ # Environments -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - The `cortex` CLI can be used to deploy models locally and/or to any number of clusters. Environments are used to select which cluster to use for a `cortex` command. An environment contains the information required to connect to a cluster (e.g. AWS credentials and Cortex operator URL). By default, the CLI ships with a single environment named `local`. This is the default environment for all Cortex commands (other than `cortex cluster` commands), which means that APIs will be deployed locally by default. diff --git a/docs/miscellaneous/security.md b/docs/miscellaneous/security.md index 10ebecf327..e49f1dc893 100644 --- a/docs/miscellaneous/security.md +++ b/docs/miscellaneous/security.md @@ -1,7 +1,5 @@ # Security -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - _The information on this page assumes you are running Cortex on AWS. If you're only deploying locally, this information does not apply (although AWS credentials can still be passed into your APIs, and can be specified with `cortex env configure local`)_ ## Private cluster diff --git a/docs/miscellaneous/telemetry.md b/docs/miscellaneous/telemetry.md index b26f2ece87..ac55aac798 100644 --- a/docs/miscellaneous/telemetry.md +++ b/docs/miscellaneous/telemetry.md @@ -1,7 +1,5 @@ # Telemetry -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - By default, Cortex sends anonymous usage data to Cortex Labs. ## What data is collected? diff --git a/docs/troubleshooting/nvidia-container-runtime-not-found.md b/docs/troubleshooting/nvidia-container-runtime-not-found.md index cd13b7ef9b..01c0cd3a59 100644 --- a/docs/troubleshooting/nvidia-container-runtime-not-found.md +++ b/docs/troubleshooting/nvidia-container-runtime-not-found.md @@ -1,7 +1,5 @@ # NVIDIA container runtime not found -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - When attempting to deploy a model to a GPU in the local environment, you may encounter NVIDIA container runtime not found. Since Cortex uses Docker to deploy APIs in the local environment, your Docker engine must have the NVIDIA container runtime installed (the NVIDIA container runtime is responsible for exposing your GPU to the Docker engine). ## Check Compatibility diff --git a/docs/troubleshooting/stuck-updating.md b/docs/troubleshooting/stuck-updating.md index 65a681cc0f..268fae5e06 100644 --- a/docs/troubleshooting/stuck-updating.md +++ b/docs/troubleshooting/stuck-updating.md @@ -1,7 +1,5 @@ # API is stuck updating -_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ - There are a few possible causes for APIs getting stuck in the "updating" or "compute unavailable" state. Here are some things to check: ## Check `cortex logs API_NAME` diff --git a/examples/keras/document-denoiser/cortex.yaml b/examples/keras/document-denoiser/cortex.yaml index 071432e75d..f865e8fb7d 100644 --- a/examples/keras/document-denoiser/cortex.yaml +++ b/examples/keras/document-denoiser/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: document-denoiser predictor: diff --git a/examples/keras/document-denoiser/predictor.py b/examples/keras/document-denoiser/predictor.py index af1b625d00..57bfd6c15c 100644 --- a/examples/keras/document-denoiser/predictor.py +++ b/examples/keras/document-denoiser/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import boto3, base64, cv2, re, os, requests from botocore import UNSIGNED diff --git a/examples/keras/document-denoiser/trainer.ipynb b/examples/keras/document-denoiser/trainer.ipynb index 9d05e9f445..3dcaed922d 100644 --- a/examples/keras/document-denoiser/trainer.ipynb +++ b/examples/keras/document-denoiser/trainer.ipynb @@ -13,7 +13,7 @@ "metadata": {}, "outputs": [], "source": [ - "# _WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_\n", + "# _this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_\n", "\n", "\n", "import keras\n", diff --git a/examples/pytorch/answer-generator/cortex.yaml b/examples/pytorch/answer-generator/cortex.yaml index e2abee72f3..614b617751 100644 --- a/examples/pytorch/answer-generator/cortex.yaml +++ b/examples/pytorch/answer-generator/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: answer-generator predictor: diff --git a/examples/pytorch/answer-generator/generator.py b/examples/pytorch/answer-generator/generator.py index 243a934f19..cdbf0d21dc 100644 --- a/examples/pytorch/answer-generator/generator.py +++ b/examples/pytorch/answer-generator/generator.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex # This file includes code which was modified from https://colab.research.google.com/drive/1KTLqiAOdKM_3RnBWfqgrvOQLqumUyOdA diff --git a/examples/pytorch/answer-generator/predictor.py b/examples/pytorch/answer-generator/predictor.py index 2af6e05b88..8a69caf2da 100644 --- a/examples/pytorch/answer-generator/predictor.py +++ b/examples/pytorch/answer-generator/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import wget import torch diff --git a/examples/pytorch/image-classifier/cortex.yaml b/examples/pytorch/image-classifier/cortex.yaml index 7c2957674c..c437713cd8 100644 --- a/examples/pytorch/image-classifier/cortex.yaml +++ b/examples/pytorch/image-classifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: image-classifier predictor: diff --git a/examples/pytorch/image-classifier/predictor.py b/examples/pytorch/image-classifier/predictor.py index 9b51f2fdf2..0d20aacfd9 100644 --- a/examples/pytorch/image-classifier/predictor.py +++ b/examples/pytorch/image-classifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import requests import torch diff --git a/examples/pytorch/iris-classifier/cortex.yaml b/examples/pytorch/iris-classifier/cortex.yaml index 20a5481b11..33c07ffd38 100644 --- a/examples/pytorch/iris-classifier/cortex.yaml +++ b/examples/pytorch/iris-classifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: iris-classifier predictor: diff --git a/examples/pytorch/iris-classifier/model.py b/examples/pytorch/iris-classifier/model.py index 5690c22f46..b0032a4339 100644 --- a/examples/pytorch/iris-classifier/model.py +++ b/examples/pytorch/iris-classifier/model.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import torch import torch.nn as nn diff --git a/examples/pytorch/iris-classifier/predictor.py b/examples/pytorch/iris-classifier/predictor.py index fac8c12030..89fd556857 100644 --- a/examples/pytorch/iris-classifier/predictor.py +++ b/examples/pytorch/iris-classifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import re import torch diff --git a/examples/pytorch/language-identifier/cortex.yaml b/examples/pytorch/language-identifier/cortex.yaml index 4b6024d848..80ab9326cc 100644 --- a/examples/pytorch/language-identifier/cortex.yaml +++ b/examples/pytorch/language-identifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: language-identifier predictor: diff --git a/examples/pytorch/language-identifier/predictor.py b/examples/pytorch/language-identifier/predictor.py index 5214ed35a6..8531869172 100644 --- a/examples/pytorch/language-identifier/predictor.py +++ b/examples/pytorch/language-identifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import wget import fasttext diff --git a/examples/pytorch/object-detector/cortex.yaml b/examples/pytorch/object-detector/cortex.yaml index e4b5ff3d57..6f84906409 100644 --- a/examples/pytorch/object-detector/cortex.yaml +++ b/examples/pytorch/object-detector/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: object-detector predictor: diff --git a/examples/pytorch/object-detector/predictor.py b/examples/pytorch/object-detector/predictor.py index a559f78a9a..c1175f3139 100644 --- a/examples/pytorch/object-detector/predictor.py +++ b/examples/pytorch/object-detector/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex from io import BytesIO diff --git a/examples/pytorch/reading-comprehender/cortex.yaml b/examples/pytorch/reading-comprehender/cortex.yaml index 769e266006..cea45417bf 100644 --- a/examples/pytorch/reading-comprehender/cortex.yaml +++ b/examples/pytorch/reading-comprehender/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: reading-comprehender predictor: diff --git a/examples/pytorch/reading-comprehender/predictor.py b/examples/pytorch/reading-comprehender/predictor.py index e4c36f12ff..50b736f8dc 100644 --- a/examples/pytorch/reading-comprehender/predictor.py +++ b/examples/pytorch/reading-comprehender/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import torch from allennlp.predictors.predictor import Predictor as AllenNLPPredictor diff --git a/examples/pytorch/search-completer/cortex.yaml b/examples/pytorch/search-completer/cortex.yaml index a392adc056..cd1467e866 100644 --- a/examples/pytorch/search-completer/cortex.yaml +++ b/examples/pytorch/search-completer/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: search-completer predictor: diff --git a/examples/pytorch/search-completer/predictor.py b/examples/pytorch/search-completer/predictor.py index 6bb2f2bcb3..a186db89a4 100644 --- a/examples/pytorch/search-completer/predictor.py +++ b/examples/pytorch/search-completer/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import torch import regex diff --git a/examples/pytorch/sentiment-analyzer/cortex.yaml b/examples/pytorch/sentiment-analyzer/cortex.yaml index 161a77542a..adae467766 100644 --- a/examples/pytorch/sentiment-analyzer/cortex.yaml +++ b/examples/pytorch/sentiment-analyzer/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: sentiment-analyzer predictor: diff --git a/examples/pytorch/sentiment-analyzer/predictor.py b/examples/pytorch/sentiment-analyzer/predictor.py index ef509a64de..b5e8c71eac 100644 --- a/examples/pytorch/sentiment-analyzer/predictor.py +++ b/examples/pytorch/sentiment-analyzer/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import torch from transformers import pipeline diff --git a/examples/pytorch/text-generator/cortex.yaml b/examples/pytorch/text-generator/cortex.yaml index 4cb63d2f5c..ff917be488 100644 --- a/examples/pytorch/text-generator/cortex.yaml +++ b/examples/pytorch/text-generator/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: text-generator predictor: diff --git a/examples/pytorch/text-generator/predictor.py b/examples/pytorch/text-generator/predictor.py index 2adff5d81a..3fa780cba0 100644 --- a/examples/pytorch/text-generator/predictor.py +++ b/examples/pytorch/text-generator/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex # This file includes code which was modified from https://github.com/huggingface/transformers/blob/master/examples/run_generation.py diff --git a/examples/pytorch/text-summarizer/cortex.yaml b/examples/pytorch/text-summarizer/cortex.yaml index 5948e5cc43..a1b197444e 100644 --- a/examples/pytorch/text-summarizer/cortex.yaml +++ b/examples/pytorch/text-summarizer/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: text-summarizer predictor: diff --git a/examples/pytorch/text-summarizer/predictor.py b/examples/pytorch/text-summarizer/predictor.py index 2f611ba9f2..e52aa6abf5 100644 --- a/examples/pytorch/text-summarizer/predictor.py +++ b/examples/pytorch/text-summarizer/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import torch from transformers import pipeline diff --git a/examples/sklearn/iris-classifier/README.md b/examples/sklearn/iris-classifier/README.md index 975769b93a..7ec0b31b79 100644 --- a/examples/sklearn/iris-classifier/README.md +++ b/examples/sklearn/iris-classifier/README.md @@ -1,6 +1,6 @@ # Deploy models as a web APIs -_WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_ +_this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_ This example shows how to deploy a classifier trained on the famous [iris data set](https://archive.ics.uci.edu/ml/datasets/iris) using scikit-learn. diff --git a/examples/sklearn/iris-classifier/batch-predictor.py b/examples/sklearn/iris-classifier/batch-predictor.py index 3de9f8a40b..4d4545583a 100644 --- a/examples/sklearn/iris-classifier/batch-predictor.py +++ b/examples/sklearn/iris-classifier/batch-predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import os import boto3 diff --git a/examples/sklearn/iris-classifier/cortex.yaml b/examples/sklearn/iris-classifier/cortex.yaml index 20e939d4e1..4b22094900 100644 --- a/examples/sklearn/iris-classifier/cortex.yaml +++ b/examples/sklearn/iris-classifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: iris-classifier predictor: diff --git a/examples/sklearn/iris-classifier/predictor.py b/examples/sklearn/iris-classifier/predictor.py index d3bbf19827..5dc0cb1cb4 100644 --- a/examples/sklearn/iris-classifier/predictor.py +++ b/examples/sklearn/iris-classifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import os import boto3 diff --git a/examples/sklearn/iris-classifier/trainer.py b/examples/sklearn/iris-classifier/trainer.py index d14eb07208..3cfb473d43 100644 --- a/examples/sklearn/iris-classifier/trainer.py +++ b/examples/sklearn/iris-classifier/trainer.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import boto3 import pickle diff --git a/examples/sklearn/mpg-estimator/cortex.yaml b/examples/sklearn/mpg-estimator/cortex.yaml index 8c73583c6e..7728c22a62 100644 --- a/examples/sklearn/mpg-estimator/cortex.yaml +++ b/examples/sklearn/mpg-estimator/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: mpg-estimator predictor: diff --git a/examples/sklearn/mpg-estimator/predictor.py b/examples/sklearn/mpg-estimator/predictor.py index ad693ce6e8..f1e268980b 100644 --- a/examples/sklearn/mpg-estimator/predictor.py +++ b/examples/sklearn/mpg-estimator/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import boto3 from botocore import UNSIGNED diff --git a/examples/sklearn/mpg-estimator/trainer.py b/examples/sklearn/mpg-estimator/trainer.py index 90d6192f43..549fd7ebca 100644 --- a/examples/sklearn/mpg-estimator/trainer.py +++ b/examples/sklearn/mpg-estimator/trainer.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import mlflow.sklearn import pandas as pd diff --git a/examples/spacy/entity-recognizer/cortex.yaml b/examples/spacy/entity-recognizer/cortex.yaml index 99123c4f33..ff2bcdd701 100644 --- a/examples/spacy/entity-recognizer/cortex.yaml +++ b/examples/spacy/entity-recognizer/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: entity-recognizer predictor: diff --git a/examples/spacy/entity-recognizer/predictor.py b/examples/spacy/entity-recognizer/predictor.py index 74c5312c4a..da2fb686f7 100644 --- a/examples/spacy/entity-recognizer/predictor.py +++ b/examples/spacy/entity-recognizer/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import spacy import subprocess diff --git a/examples/tensorflow/image-classifier/cortex.yaml b/examples/tensorflow/image-classifier/cortex.yaml index fe0c3f2062..83e3555de1 100644 --- a/examples/tensorflow/image-classifier/cortex.yaml +++ b/examples/tensorflow/image-classifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: image-classifier predictor: diff --git a/examples/tensorflow/image-classifier/inception.ipynb b/examples/tensorflow/image-classifier/inception.ipynb index 547d6dbe20..caf90de21c 100644 --- a/examples/tensorflow/image-classifier/inception.ipynb +++ b/examples/tensorflow/image-classifier/inception.ipynb @@ -31,7 +31,7 @@ "source": [ "# Exporting ImageNet Inception\n", "\n", - "_WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_\n", + "_this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_\n", "\n", "In this notebook, we'll show how to export the [pre-trained Imagenet Inception model](https://tfhub.dev/google/imagenet/inception_v3/classification/3) for serving." ] diff --git a/examples/tensorflow/image-classifier/predictor.py b/examples/tensorflow/image-classifier/predictor.py index 7322a88bb6..73dba5e3ad 100644 --- a/examples/tensorflow/image-classifier/predictor.py +++ b/examples/tensorflow/image-classifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import requests import numpy as np diff --git a/examples/tensorflow/iris-classifier/cortex.yaml b/examples/tensorflow/iris-classifier/cortex.yaml index f23ad79545..897e4d00ab 100644 --- a/examples/tensorflow/iris-classifier/cortex.yaml +++ b/examples/tensorflow/iris-classifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: iris-classifier predictor: diff --git a/examples/tensorflow/iris-classifier/predictor.py b/examples/tensorflow/iris-classifier/predictor.py index c880d2233f..0339cd8755 100644 --- a/examples/tensorflow/iris-classifier/predictor.py +++ b/examples/tensorflow/iris-classifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex labels = ["setosa", "versicolor", "virginica"] diff --git a/examples/tensorflow/iris-classifier/tensorflow.ipynb b/examples/tensorflow/iris-classifier/tensorflow.ipynb index f3e3dfad34..e7ba89f30d 100644 --- a/examples/tensorflow/iris-classifier/tensorflow.ipynb +++ b/examples/tensorflow/iris-classifier/tensorflow.ipynb @@ -31,7 +31,7 @@ "source": [ "# Training an Iris classifier using TensorFlow\n", "\n", - "_WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_\n", + "_this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_\n", "\n", "In this notebook, we'll show how to train a classifier trained on the [iris data set](https://archive.ics.uci.edu/ml/datasets/iris) using TensorFlow." ] diff --git a/examples/tensorflow/license-plate-reader/cortex_full.yaml b/examples/tensorflow/license-plate-reader/cortex_full.yaml index 01a32ddd53..8e66fda950 100644 --- a/examples/tensorflow/license-plate-reader/cortex_full.yaml +++ b/examples/tensorflow/license-plate-reader/cortex_full.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: yolov3 predictor: diff --git a/examples/tensorflow/license-plate-reader/cortex_lite.yaml b/examples/tensorflow/license-plate-reader/cortex_lite.yaml index bc77475730..1804daaa15 100644 --- a/examples/tensorflow/license-plate-reader/cortex_lite.yaml +++ b/examples/tensorflow/license-plate-reader/cortex_lite.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: license-plate-reader predictor: diff --git a/examples/tensorflow/license-plate-reader/predictor_crnn.py b/examples/tensorflow/license-plate-reader/predictor_crnn.py index 16a9870f80..e772188e00 100644 --- a/examples/tensorflow/license-plate-reader/predictor_crnn.py +++ b/examples/tensorflow/license-plate-reader/predictor_crnn.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import cv2 import numpy as np diff --git a/examples/tensorflow/license-plate-reader/predictor_lite.py b/examples/tensorflow/license-plate-reader/predictor_lite.py index 30d1a1b2a1..589fee706f 100644 --- a/examples/tensorflow/license-plate-reader/predictor_lite.py +++ b/examples/tensorflow/license-plate-reader/predictor_lite.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import boto3, base64, cv2, re, os, requests, json import keras_ocr diff --git a/examples/tensorflow/license-plate-reader/predictor_yolo.py b/examples/tensorflow/license-plate-reader/predictor_yolo.py index 12f9610658..989d645d14 100644 --- a/examples/tensorflow/license-plate-reader/predictor_yolo.py +++ b/examples/tensorflow/license-plate-reader/predictor_yolo.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import json import base64 diff --git a/examples/tensorflow/license-plate-reader/sample_inference.py b/examples/tensorflow/license-plate-reader/sample_inference.py index 2b69521f45..86bc0d9ed8 100644 --- a/examples/tensorflow/license-plate-reader/sample_inference.py +++ b/examples/tensorflow/license-plate-reader/sample_inference.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import click, cv2, requests, pickle, base64, json import numpy as np diff --git a/examples/tensorflow/license-plate-reader/utils/__init__.py b/examples/tensorflow/license-plate-reader/utils/__init__.py index 6a2382d026..b8439731d4 100644 --- a/examples/tensorflow/license-plate-reader/utils/__init__.py +++ b/examples/tensorflow/license-plate-reader/utils/__init__.py @@ -1 +1 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex diff --git a/examples/tensorflow/license-plate-reader/utils/bbox.py b/examples/tensorflow/license-plate-reader/utils/bbox.py index 8322c696d5..c28a60e7fb 100644 --- a/examples/tensorflow/license-plate-reader/utils/bbox.py +++ b/examples/tensorflow/license-plate-reader/utils/bbox.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import numpy as np import cv2 diff --git a/examples/tensorflow/license-plate-reader/utils/colors.py b/examples/tensorflow/license-plate-reader/utils/colors.py index d392a6ee95..561de2616a 100644 --- a/examples/tensorflow/license-plate-reader/utils/colors.py +++ b/examples/tensorflow/license-plate-reader/utils/colors.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex def get_color(label): diff --git a/examples/tensorflow/license-plate-reader/utils/preprocess.py b/examples/tensorflow/license-plate-reader/utils/preprocess.py index 7382b22774..a8b7fc9456 100644 --- a/examples/tensorflow/license-plate-reader/utils/preprocess.py +++ b/examples/tensorflow/license-plate-reader/utils/preprocess.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import numpy as np import cv2, requests diff --git a/examples/tensorflow/license-plate-reader/utils/utils.py b/examples/tensorflow/license-plate-reader/utils/utils.py index 8b5a2a7290..08891cc71e 100644 --- a/examples/tensorflow/license-plate-reader/utils/utils.py +++ b/examples/tensorflow/license-plate-reader/utils/utils.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import cv2 import numpy as np diff --git a/examples/tensorflow/sentiment-analyzer/bert.ipynb b/examples/tensorflow/sentiment-analyzer/bert.ipynb index f9d951f1b7..b3aac37bee 100644 --- a/examples/tensorflow/sentiment-analyzer/bert.ipynb +++ b/examples/tensorflow/sentiment-analyzer/bert.ipynb @@ -50,7 +50,7 @@ "source": [ "#Predicting Movie Review Sentiment with BERT on TF Hub", "\n", - "_WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_\n", + "_this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_\n", "\n" ] }, diff --git a/examples/tensorflow/sentiment-analyzer/cortex.yaml b/examples/tensorflow/sentiment-analyzer/cortex.yaml index ae2ffa0bf9..ce09f47edd 100644 --- a/examples/tensorflow/sentiment-analyzer/cortex.yaml +++ b/examples/tensorflow/sentiment-analyzer/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: sentiment-analyzer predictor: diff --git a/examples/tensorflow/sentiment-analyzer/predictor.py b/examples/tensorflow/sentiment-analyzer/predictor.py index d04ccad88f..038125fae9 100644 --- a/examples/tensorflow/sentiment-analyzer/predictor.py +++ b/examples/tensorflow/sentiment-analyzer/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import tensorflow as tf import tensorflow_hub as hub diff --git a/examples/tensorflow/text-generator/cortex.yaml b/examples/tensorflow/text-generator/cortex.yaml index a2eb5aafff..0461971504 100644 --- a/examples/tensorflow/text-generator/cortex.yaml +++ b/examples/tensorflow/text-generator/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: text-generator predictor: diff --git a/examples/tensorflow/text-generator/encoder.py b/examples/tensorflow/text-generator/encoder.py index 50e14ef043..4d73c551da 100644 --- a/examples/tensorflow/text-generator/encoder.py +++ b/examples/tensorflow/text-generator/encoder.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex # This file includes code which was modified from https://github.com/openai/gpt-2 diff --git a/examples/tensorflow/text-generator/gpt-2.ipynb b/examples/tensorflow/text-generator/gpt-2.ipynb index 725492c4a7..f63dce2d7a 100644 --- a/examples/tensorflow/text-generator/gpt-2.ipynb +++ b/examples/tensorflow/text-generator/gpt-2.ipynb @@ -31,7 +31,7 @@ "source": [ "# Exporting GPT-2\n", "\n", - "_WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_\n", + "_this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_\n", "\n", "In this notebook, we'll show how to export [OpenAI's GPT-2 text generation model](https://github.com/openai/gpt-2) for serving." ] diff --git a/examples/tensorflow/text-generator/predictor.py b/examples/tensorflow/text-generator/predictor.py index 3840d23d11..5bf04b350e 100644 --- a/examples/tensorflow/text-generator/predictor.py +++ b/examples/tensorflow/text-generator/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex import os import boto3 diff --git a/examples/xgboost/iris-classifier/cortex.yaml b/examples/xgboost/iris-classifier/cortex.yaml index 4123806ae0..36cdb4d3d5 100644 --- a/examples/xgboost/iris-classifier/cortex.yaml +++ b/examples/xgboost/iris-classifier/cortex.yaml @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex - name: iris-classifier predictor: diff --git a/examples/xgboost/iris-classifier/predictor.py b/examples/xgboost/iris-classifier/predictor.py index 1526cdcc36..15f97bf49d 100644 --- a/examples/xgboost/iris-classifier/predictor.py +++ b/examples/xgboost/iris-classifier/predictor.py @@ -1,4 +1,4 @@ -# WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version` +# this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex labels = ["setosa", "versicolor", "virginica"] diff --git a/examples/xgboost/iris-classifier/xgboost.ipynb b/examples/xgboost/iris-classifier/xgboost.ipynb index a79eb0fe58..d2714cf95a 100644 --- a/examples/xgboost/iris-classifier/xgboost.ipynb +++ b/examples/xgboost/iris-classifier/xgboost.ipynb @@ -31,7 +31,7 @@ "source": [ "# Training an Iris classifier using XGBoost\n", "\n", - "_WARNING: you are on the master branch, please refer to the examples on the branch that matches your `cortex version`_\n", + "_this is an example for cortex release 0.17 and may not deploy correctly on other releases of cortex_\n", "\n", "In this notebook, we'll show how to train a classifier trained on the [iris data set](https://archive.ics.uci.edu/ml/datasets/iris) using XGBoost." ]