-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add basic template that uses ImageSpec #43
Conversation
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
The integration test issue doesn't look like it's related to this PR
I'm okay with merging this and tackling that issue in a separate PR |
Signed-off-by: nikki everett <nikki@union.ai>
…ary requirements, small edits to example python script Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the imagespec example looks pretty good, but I don't understand why we're also adding a hello-world
example.
basic-template-imagespec/{{cookiecuter.project_name}}/workflows/example.py
Outdated
Show resolved
Hide resolved
basic-template-imagespec/{{cookiecuter.project_name}}/workflows/example.py
Show resolved
Hide resolved
basic-template-imagespec/{{cookiecuter.project_name}}/workflows/example.py
Show resolved
Hide resolved
templates.json
Outdated
{"template_name": "wine-classification", "workflow_name": "training_workflow"} | ||
{"template_name": "wine-classification", "workflow_name": "training_workflow"}, | ||
{"template_name": "basic-template-imagespec", "workflow_name": "wf"}, | ||
{"template_name": "hello_world", "workflow_name": "hello_world_wf"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why we're adding the hello-world
example, but the template name is not matching (hello_world
instead of hello-world
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added ahello-world
example in response to this feedback on the new onboarding docs, and went into a bit more detail on my changes here. I'll update the template name, thanks for flagging!
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Signed-off-by: nikki everett <nikki@union.ai>
Congrats on merging your first pull request! 🎉 |
Adds a basic template that uses ImageSpec, based on the simple example template in #40.
Context
We need a template that uses ImageSpec for the updated onboarding docs (specifically, the new "Creating a Flyte project" and "Flyte project components" pages.) Per the discussion in today's OSS retro planning meeting, it sounds like a long-term plan we may want to consider (with input from appropriate stakeholders) may be to move the content-specific examples we want to keep (bayesian-optimization, mnist-training) from this repo to flytesnacks, remove the wine-classification example, and make the templates in this repo focused on project patterns instead (single cluster deployment, multi-cluster deployment, Dockerfile for those who need to use that instead of ImageSpec).
TODO after merging this PR
pyflyte init
ing a new project directorybasic-example-dockerfile