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

[IFRT] Add pass to remove attributes that are not from IFRT or Builtin dialects. #19861

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

copybara-service[bot]
Copy link

[IFRT] Add pass to remove attributes that are not from IFRT or Builtin dialects.

This pass runs as part of the versioning pipeline, and its purpose is to prevent smuggling of attributes that are not from the Builtin or IFRT dialect. Such attributes might be present as result of JAX lowering (e.g., mhlo.sharding), but IFRT IR should not use them nor depend on them. By adding this pass, we avoid failing during IFRT -> VIFRT legalization pass, which fails if such attributes exist.

@copybara-service copybara-service bot force-pushed the test_700456652 branch 2 times, most recently from a264e57 to 9805cd6 Compare November 27, 2024 02:05
…n dialects.

This pass runs as part of the versioning pipeline, and its purpose is to prevent smuggling of attributes that are not from the Builtin or IFRT dialect. Such attributes might be present as result of JAX lowering (e.g., mhlo.sharding), but IFRT IR should not use them nor depend on them. By adding this pass, we avoid failing during IFRT -> VIFRT legalization pass, which fails if such attributes exist.

PiperOrigin-RevId: 700526071
@copybara-service copybara-service bot merged commit 0f6a243 into main Nov 27, 2024
@copybara-service copybara-service bot deleted the test_700456652 branch November 27, 2024 02:57
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.

1 participant