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

Added support for named attrs in DecomposingContext. #213

Conversation

vladimirjovanovicTT
Copy link
Contributor

Added support for named attrs in DecomposingContext, since they are needed for lowering to MLIR.
Currently using it only in softmax_bw, as an example. As we find more uses for it (as training matures), we will add it at other locations.

Solves #183

@vladimirjovanovicTT vladimirjovanovicTT force-pushed the vladimirjovanovic/named_attrs_in_decomposing_context branch from 58d5795 to 7e4fbb2 Compare September 2, 2024 16:02
@@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
build:
- runs-on: self-hosted
- runs-on: runner
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this intentional?

@vmilosevic

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, this is required now that runners have been re-configured. However, I think there is separate PR to tackle this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I needed to set this up here in order to run CI.

@@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
build:
- runs-on: self-hosted
- runs-on: runner
Copy link
Contributor

Choose a reason for hiding this comment

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

Yup, this is required now that runners have been re-configured. However, I think there is separate PR to tackle this change

forge/csrc/passes/python_bindings.cpp Show resolved Hide resolved
Copy link
Contributor

@nvukobratTT nvukobratTT left a comment

Choose a reason for hiding this comment

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

Looks good, just sync with @vmilosevic on who will push the runner update change :))

@vmilosevic vmilosevic self-requested a review September 4, 2024 10:25
@vladimirjovanovicTT vladimirjovanovicTT merged commit fc211a7 into main Sep 4, 2024
3 checks passed
@vmilosevic
Copy link
Collaborator

The runner is already updated on main, so it is okay. If there is any difference, it will show as a conflict; otherwise, it should merge without problems.

@nvukobratTT nvukobratTT deleted the vladimirjovanovic/named_attrs_in_decomposing_context branch September 9, 2024 17:20
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.

6 participants