Skip to content

Releases: cortexlabs/cortex

v0.18.0

24 Jun 22:49
Compare
Choose a tag to compare

New features

Breaking changes

  • autoscaling.workers_per_replica and autoscaling.threads_per_worker have been moved/renamed to predictor.processes_per_replica and predictor.threads_per_process (see API configuration docs)
  • endpoint and local_port have been moved to a new sub-field called networking (see API configuration docs)
  • model has been renamed to model_path in TensorFlow and ONNX predictors (see API configuration docs)

Bug fixes

New examples

New guides

Docs

Misc

v0.17.1

03 Jun 19:33
Compare
Choose a tag to compare

Bug fixes

  • Fix bug which caused installation of packages from conda-packages.txt to get stuck when running Cortex locally #1101 #1100 (dsuess)

New guides

Docs

v0.17.0

22 May 20:35
Compare
Choose a tag to compare

New features

  • Support arbitrary API request payload content types, including raw bytes and form fields (not just JSON) #1062, #332, #917 (deliahu)
  • Support custom SSL certificates for the API load balancer #1069, #326, #1066 (vishalbollu)
  • Add a cloudwatch dashboard to show metrics for each running API #1054, #855 (tthebst)
  • Allow for custom tagging of AWS resources created by cortex (and add the cortex.dev/cluster-name tag by default) #1031, #854, #856 (vishalbollu)
  • Expose request query parameters to the predictor's predict() function #1062, #546 (deliahu)
  • Expose request headers to the predictor's predict() function #1062 (deliahu)
  • Allow users to change the Python version via conda-packages.txt #1052, #1051 (RobertLucian)

Bug fixes

  • Fix bug which caused a validation error when running TensorFlow or ONNX locally with locally saved models #1075 (RobertLucian)
  • Enable tty on local docker API containers to avoid strange characters showing up in cortex logs #1067 (deliahu)
  • Allow cluster's min_instances and max_instances to be updated at the same time #1050, #840 (deliahu)

New examples

  • Update pytorch/sentiment-analyzer to use the transformers library #1064 (deliahu)

New guides

Docs

Misc

Breaking changes

  • cortex cluster update has been renamed to cortex cluster configure (so it won't be misinterpreted as updating the Cortex version of the cluster)
  • the tracker field in API configuration has been renamed to monitoring (to be consistent with the other field names)

v0.16.1

15 May 04:00
Compare
Choose a tag to compare

Bug fixes

  • Read and validate TensorFlow and ONNX models from buckets in any region #1059 (vishalbollu)

v0.16.0

04 May 19:49
Compare
Choose a tag to compare

New features

New Examples

New Guides

Docs

Misc

  • Use rolling updates for daemonsets when running cortex cluster update #972 #630 (tthebst)
  • Switch from Classic Elastic Load Balancer to Network Load Balancer #978 #966 (deliahu)
  • Show the original error message when encountering "invalid AWS credentials" #918 (deliahu)
  • Log unexpected TensorFlow Serving gRPC errors #949 (deliahu)

Breaking Changes

  • Previously, custom serving images were configured in the cluster configuration file (e.g. cluster.yaml would have a line for image_python_serve: my-repo/python-serve:latest). Now, custom images are specified inside the API configuration (e.g. cortex.yaml should have image: my-repo/python-serve:latest in the predictor section of your API configuration). Here's the full documentation for API configuration.
  • The names of the serving base images have been updated to be more descriptive, and "slim" images have been added (they are more appropriate to use as base images when building custom images). Here is the full documentation for custom Docker images.
  • The debug query parameter to APIs (which caused the input and output to predict() to be logged) has been removed (#985)

v0.15.1

02 Apr 22:42
Compare
Choose a tag to compare

Bug fixes

Misc

v0.15.0

25 Mar 18:03
Compare
Choose a tag to compare

Bug fixes

  • Improve availability zone selection and validation #885 #891 (deliahu)
  • Validate predictor implementation using getfullargspec() #902 (vishalbollu)
  • Do not remove cluster configuration cache if refresh fails #893 (vishalbollu)

New Examples

  • Keras autoencoder for filtering out the noise from text documents #834 (RobertLucian)

Misc

Breaking changes

  • Remove json_tricks for encoding API responses (responses from predict() must now be json serializable) #908 (vishalbollu)

v0.14.1

12 Mar 21:23
Compare
Choose a tag to compare

Bug fixes

  • Fix JSON parsing before it gets passed to predict() #865 (vishalbollu)
  • Support setup.py packages in requirements.txt #864 (deliahu)
  • Run TensorFlow Predictor's model validations in the region that contains the bucket #866 (deliahu)

Misc

  • Check that cluster image versions match the CLI version #862 (deliahu)
  • Add Cython to Python predictor image 4a463ca (deliahu)

v0.14.0

05 Mar 21:09
Compare
Choose a tag to compare

New features

Bug fixes

  • Ensure previous logs are never shown after showing newer ones #792 (deliahu)
  • Skip service quota validation in unsupported regions #825 (deliahu)
  • Fix prediction metrics when specifying tracker.key #793 (deliahu)

New Examples

  • Real-Time License Plate Detector Example Project (YOLOv3, CRAFT, CRNN) #803 (RobertLucian)

Misc

Breaking API Changes

  • min_replicas, max_replicas, and init_replicas have been moved from the compute configuration key to autoscaling
  • max_surge and max_unavailable have been moved from the compute configuration key to update_strategy
  • target_cpu_utilization has been removed in favor of the request-based scaling configuration parameters (see the autoscaling docs for a detailed explanation of the new parameters)

v0.13.1

29 Jan 22:57
Compare
Choose a tag to compare

Bug fixes

  • Fix cortex cluster update when using spot instances with no on-demand backup nodegroup #787 (vishalbollu)

Misc