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

fix: decorator init order #1669

Merged
merged 1 commit into from
Jan 11, 2024
Merged

fix: decorator init order #1669

merged 1 commit into from
Jan 11, 2024

Conversation

saikonen
Copy link
Collaborator

@saikonen saikonen commented Jan 8, 2024

separate the task_pre_step and task_decorate in order to support better setup-order of dependent decorators.

Specifically we want the PATH patching of conda-decorator to happen early so that other decorators can rely on this after task_pre_step in the lifecycle.

@nflx-mf-bot
Copy link
Collaborator

Testing[589] @ fbb84f7

@saikonen
Copy link
Collaborator Author

saikonen commented Jan 8, 2024

The use case for this also requires #1667 being fixed

@nflx-mf-bot
Copy link
Collaborator

Testing[589] @ fbb84f7 had 14 FAILUREs.

@saikonen
Copy link
Collaborator Author

saikonen commented Jan 9, 2024

tried out decorators that rely on task_decorate and catch/parallel/pytorch_parallel all seem to be working as expected. This should be good to go if the bot failures were not related to the changes

@romain-intel romain-intel merged commit c39f425 into master Jan 11, 2024
23 checks passed
@romain-intel romain-intel deleted the fix/decorator-init-order branch January 11, 2024 10:02
madhur-ob pushed a commit to madhur-ob/metaflow that referenced this pull request Jan 18, 2024
emattia pushed a commit to emattia/metaflow that referenced this pull request Jan 23, 2024
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.

4 participants