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

Add basic template that uses ImageSpec #43

Merged
merged 22 commits into from
Jan 4, 2024
Merged

Conversation

neverett
Copy link
Contributor

@neverett neverett commented Dec 8, 2023

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

@neverett neverett self-assigned this Dec 8, 2023
@neverett neverett mentioned this pull request Dec 8, 2023
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Copy link

@davidmirror-ops davidmirror-ops left a comment

Choose a reason for hiding this comment

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

Thank you!

@cosmicBboy
Copy link
Contributor

The integration test issue doesn't look like it's related to this PR

AttributeError: module 'workflows' has no attribute 'mnist_workflow_cpu'

I'm okay with merging this and tackling that issue in a separate PR

Signed-off-by: nikki everett <[email protected]>
…ary requirements, small edits to example python script

Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Copy link
Collaborator

@eapolinario eapolinario left a 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.

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"}
Copy link
Collaborator

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).

Copy link
Contributor Author

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 <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
@neverett neverett merged commit 2cc99dc into main Jan 4, 2024
3 of 4 checks passed
Copy link

welcome bot commented Jan 4, 2024

Congrats on merging your first pull request! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants