Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add document on Couler Step Zoo #94

Merged
merged 1 commit into from
Dec 14, 2020
Merged

Conversation

terrytangyuan
Copy link
Member

Signed-off-by: terrytangyuan terrytangyuan@gmail.com

What changes were proposed in this pull request?

Add document on Couler Step Zoo. Related issue #67.

cc'ing @couler-proj/couler-team @xinbinhuang @andreyvelich @FogDong @gaocegege @davidhershey @vishnu2kmohan @JPZ13 @inohmonton99 and others who might be interested to take a look and share feedback.

Why are the changes needed?

This document introduces the Couler Step Zoo, which consists of a collection of pre-defined and reusable steps that can
be used directly as part of a workflow defined using Couler.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Not applicable.

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
@xinbinhuang
Copy link
Contributor

xinbinhuang commented Oct 28, 2020

I think it's good for the first draft 👍. We can modify it when we have more pre-defined steps added into it.

Copy link

@FogDong FogDong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks for your contribution! 🎉 👍

Currently, Couler Step Zoo consists of the following pre-defined steps:

| Name | Description | API |
| ---- | ----------- | --- |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step may also need to include input output definitions

import random

res = "heads" if random.randint(0, 1) == 0 else "tails"
print(res)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return res ?


* It should be completely implemented using the core [Couler APIs](couler-api-design.md).
* It should expose backend specific configurations instead of hard-coding them.
* It should have a clear set of dependencies that can be easily installed with sufficient instructions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to specify the dependencies for a new step function? Adding the dependencies in requirements.txt or other ways?

@terrytangyuan terrytangyuan merged commit 3800d67 into master Dec 14, 2020
@terrytangyuan terrytangyuan deleted the step-zoo-doc branch December 14, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants