Skip to content

Commit

Permalink
Merge pull request #126 from cliveseldon/intro_slides
Browse files Browse the repository at this point in the history
Add Overview Doc
  • Loading branch information
axsaucedo authored May 28, 2021
2 parents 4014f79 + 878d19d commit e2ebec4
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 3 deletions.
Binary file added docs/assets/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/goals.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/graph-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/graph2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added docs/assets/steps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Tempo
:titlesonly:
:caption: Documentation:

Overview <overview/overview.md>
Quickstart <overview/quickstart.md>
Architecture <overview/architecture.md>
Workflow <workflow/workflow.md>
Expand Down
6 changes: 3 additions & 3 deletions docs/overview/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

Overview of Tempo architecture.

![internals](internals.png)
![internals](../assets/internals.png)


## Model and Pipeline

A Model is the core deployment artifact in tempo and describes the link to a saved machine learning component. A Pipeline is a custom python orchestrator that references other Tempo models or pipelines specied in its definition.

![model-pipeline](model-pipeline.png)
![model-pipeline](../assets/model-pipeline.png)


A Model can be:
Expand All @@ -22,7 +22,7 @@ A Pipeline is custom python code (defined via a class or function) which referen

An example is shown below for the [outlier demo](../examples/outlier/README.html). There we have a Pipeline which calls the outlier model and if the request is determined to be an outlier then the processing is halted otherwise the model is called.

![outlier demo](outlier-demo.png)
![outlier demo](../assets/outlier-demo.png)

## Runtimes

Expand Down
40 changes: 40 additions & 0 deletions docs/overview/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Tempo Overview

Tempo is a python SDK for data scientists to help them move their models to production. It has 4 core goals:

1. Data science friendly.
2. Pluggable runtimes.
3. Custom python inference components.
4. Powerful orchestration logic.

![goals](../assets/goals.png)

A simple model example is shown below. A data scientist need only fill some core details about their trained model.

![example](../assets/example.png)

Tempo allows you to combine business logic as custom python with models served on optimized servers.

![example](../assets/graph.png)

In the example below:

1. Train your sklearn model
2. Train your xgboost model
3. Create python logic to orchestrate the two

![example](../assets/graph2.png)


The Tempo code for the above example is shown below:


![example code](../assets/graph-code.png)

The steps to use tempo would be:

1. Local training and unit tests
2. Local tests of inference on Docker
3. Push to production runtime, e.g. Kubernetes with Seldon Core

![production steps](../assets/steps.png)

0 comments on commit e2ebec4

Please sign in to comment.