|
2 | 2 |
|
3 | 3 | <br> |
4 | 4 |
|
5 | | -**Get started:** [Install](https://docs.cortex.dev/install) • [Tutorial](https://docs.cortex.dev/tutorial) • [Demo Video](https://www.youtube.com/watch?v=tgMjCOD_ufo) • <!-- CORTEX_VERSION_MINOR_STABLE e.g. https://docs.cortex.dev/v/0.2/ -->[Docs](https://docs.cortex.dev) • <!-- CORTEX_VERSION_MINOR_STABLE -->[Examples](https://github.com/cortexlabs/cortex/tree/0.4/examples) |
| 5 | +**Get started:** [Install](https://docs.cortex.dev/install) • [Tutorial](https://docs.cortex.dev/tutorial) • <!-- CORTEX_VERSION_MINOR_STABLE e.g. https://docs.cortex.dev/v/0.2/ -->[Docs](https://docs.cortex.dev) • <!-- CORTEX_VERSION_MINOR_STABLE -->[Examples](https://github.com/cortexlabs/cortex/tree/0.4/examples) |
6 | 6 |
|
7 | | -**Learn more:** [Website](https://cortex.dev) • [FAQ](https://docs.cortex.dev/faq) • [Blog](https://blog.cortex.dev) • [Subscribe](https://cortexlabs.us20.list-manage.com/subscribe?u=a1987373ab814f20961fd90b4&id=ae83491e1c) • [Twitter](https://twitter.com/cortex_deploy) • [Contact](mailto:hello@cortex.dev) |
| 7 | +**Learn more:** [Website](https://cortex.dev) • [Blog](https://blog.cortex.dev) • [Subscribe](https://cortexlabs.us20.list-manage.com/subscribe?u=a1987373ab814f20961fd90b4&id=ae83491e1c) • [Twitter](https://twitter.com/cortex_deploy) • [Contact](mailto:hello@cortex.dev) |
8 | 8 |
|
9 | 9 | <br> |
10 | 10 |
|
11 | | -## Deploy, manage, and scale machine learning applications |
12 | | - |
13 | | -Deploy machine learning applications without worrying about setting up infrastructure, managing dependencies, or orchestrating data pipelines. |
| 11 | +Cortex deploys your machine learning models to your cloud infrastructure. You define your deployment with simple declarative configuration, Cortex containerizes your models, deploys them as scalable JSON APIs, and manages their lifecycle in production. |
14 | 12 |
|
15 | 13 | Cortex is actively maintained by Cortex Labs. We're a venture-backed team of infrastructure engineers and [we're hiring](https://angel.co/cortex-labs-inc/jobs). |
16 | 14 |
|
17 | 15 | <br> |
18 | 16 |
|
19 | 17 | ## How it works |
20 | 18 |
|
21 | | -1. **Define your app:** define your app using Python, TensorFlow, and PySpark. |
22 | | - |
23 | | -2. **`$ cortex deploy`:** deploy end-to-end machine learning pipelines to AWS with one command. |
24 | | - |
25 | | -3. **Serve predictions:** serve real time predictions via horizontally scalable JSON APIs. |
26 | | - |
27 | | -<br> |
28 | | - |
29 | | -## End-to-end machine learning workflow |
30 | | - |
31 | | -**Data ingestion:** connect to your data warehouse and ingest data. |
| 19 | +**Define** your deployment using declarative configuration: |
32 | 20 |
|
33 | 21 | ```yaml |
34 | | -- kind: environment |
35 | | - name: dev |
36 | | - data: |
37 | | - type: csv |
38 | | - path: s3a://my-bucket/data.csv |
39 | | - schema: [@col1, @col2, ...] |
| 22 | +- kind: api |
| 23 | + name: my-api |
| 24 | + external_model: |
| 25 | + path: s3://my-bucket/my-model.zip |
| 26 | + region: us-west-2 |
| 27 | + compute: |
| 28 | + replicas: 3 |
| 29 | + gpu: 2 |
40 | 30 | ``` |
41 | 31 |
|
42 | | -**Data validation:** prevent data quality issues early. |
| 32 | +**Deploy** to your cloud infrastructure: |
43 | 33 |
|
44 | | -```yaml |
45 | | -- kind: raw_column |
46 | | - name: col1 |
47 | | - type: INT_COLUMN |
48 | | - min: 0 |
49 | | - max: 10 |
50 | 34 | ``` |
| 35 | +$ cortex deploy |
51 | 36 |
|
52 | | -**Data transformation:** use custom Python and PySpark code to transform data. |
53 | | -
|
54 | | -```yaml |
55 | | -- kind: transformed_column |
56 | | - name: col1_normalized |
57 | | - transformer_path: normalize.py # Python / PySpark code |
58 | | - input: @col1 |
59 | | -``` |
60 | | -
|
61 | | -**Model training:** train models with custom TensorFlow code. |
62 | | -
|
63 | | -```yaml |
64 | | -- kind: model |
65 | | - name: my_model |
66 | | - estimator_path: dnn.py # TensorFlow code |
67 | | - target_column: @label_col |
68 | | - input: [@col1_normalized, @col2_indexed, ...] |
69 | | - hparams: |
70 | | - hidden_units: [16, 8] |
71 | | - training: |
72 | | - batch_size: 32 |
73 | | - num_steps: 10000 |
| 37 | +Deploying ... |
| 38 | +Ready! https://amazonaws.com/my-api |
74 | 39 | ``` |
75 | 40 |
|
76 | | -**Prediction serving:** serve real time predictions via JSON APIs. |
| 41 | +**Serve** real time predictions via scalable JSON APIs: |
77 | 42 |
|
78 | | -```yaml |
79 | | -- kind: api |
80 | | - name: my-api |
81 | | - model: @my_model |
82 | | - compute: |
83 | | - replicas: 3 |
84 | 43 | ``` |
| 44 | +$ curl -d '{"a": 1, "b": 2, "c": 3}' https://amazonaws.com/my-api |
85 | 45 |
|
86 | | -**Deployment:** Cortex deploys your pipeline on scalable cloud infrastructure. |
87 | | -
|
88 | | -``` |
89 | | -$ cortex deploy |
90 | | -Ingesting data ... |
91 | | -Transforming data ... |
92 | | -Training models ... |
93 | | -Deploying API ... |
94 | | -Ready! https://abc.amazonaws.com/my-api |
| 46 | +{ prediction: "def" } |
95 | 47 | ``` |
96 | 48 |
|
97 | 49 | <br> |
98 | 50 |
|
99 | 51 | ## Key features |
100 | 52 |
|
101 | | -- **Machine learning pipelines as code:** Cortex applications are defined using a simple declarative syntax that enables flexibility and reusability. |
| 53 | +- **Machine learning deployments as code:** Cortex deployments are defined using declarative configuration. |
| 54 | + |
| 55 | +- **Multi framework support:** Cortex supports TensorFlow models with more frameworks coming soon. |
| 56 | + |
| 57 | +- **CPU / GPU support:** Cortex can run inference on CPU or GPU infrastructure. |
102 | 58 |
|
103 | | -- **End-to-end machine learning workflow:** Cortex spans the machine learning workflow from feature management to model training to prediction serving. |
| 59 | +- **Scalability:** Cortex can scale APIs to handle production workloads. |
104 | 60 |
|
105 | | -- **TensorFlow and PySpark support:** Cortex supports custom [TensorFlow](https://www.tensorflow.org) code for model training and custom [PySpark](https://spark.apache.org/docs/latest/api/python/index.html) code for data processing. |
| 61 | +- **Rolling updates:** Cortex updates deployed APIs without any downtime. |
106 | 62 |
|
107 | | -- **Built for the cloud:** Cortex can handle production workloads and can be deployed in any AWS account in minutes. |
| 63 | +- **Cloud native:** Cortex can be deployed on any AWS account in minutes. |
0 commit comments