Skip to content

Rename 'name' field in op inventory to 'id' - #2681

Merged
tengqm merged 1 commit into
masterfrom
tune-op-inventory
Apr 26, 2026
Merged

Rename 'name' field in op inventory to 'id'#2681
tengqm merged 1 commit into
masterfrom
tune-op-inventory

Conversation

@tengqm

@tengqm tengqm commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

PR Category

Operator

Type of Change

Refactor

Description

This PR renames the 'name' field in the conf/operators.yaml file to id to better reflect its actual usage. There are simply too many "name"s for an operator. The criteria we use to decide whether an operator is "new" is by checking if it is replacing a specific function in Torch (for aten operators). For fused operators, we treat an operator/operation as an unique item if it can be used independently.

The id field is to be used in test cases for identifying an operator with pytest.mark.
It is used to map to other operator lists maintained by our stakeholders.

@tengqm
tengqm merged commit 8bcd5c9 into master Apr 26, 2026
21 of 22 checks passed
@tengqm
tengqm deleted the tune-op-inventory branch April 26, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant