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

[API] Add preemption nodes info to frontend spec #1880

Conversation

Tankilevitch
Copy link
Contributor

@Tankilevitch Tankilevitch commented Apr 7, 2022

@@ -65,6 +65,7 @@ def get_frontend_spec(
auto_mount_params=config.get_storage_auto_mount_params(),
default_artifact_path=config.artifact_path,
default_function_pod_resources=mlrun.mlconf.default_function_pod_resources.to_dict(),
default_preemption_mode=mlrun.mlconf.function_defaults.preemption_mode,
Copy link
Contributor

Choose a reason for hiding this comment

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

The ticket says default_function_preemption_mode and you did default_preemption_mode, on purpose ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oopsi

@Hedingber Hedingber changed the title [API] Pass default preemption mode to frontend spec [API] Add preemption nodes info to frontend spec Apr 7, 2022
@Hedingber Hedingber merged commit 2804ac6 into mlrun:development Apr 7, 2022
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

2 participants