Skip to content

patch op name discrepancy in oss #8491

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

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

zonglinpeng
Copy link
Contributor

Summary:

  1. Few of the operators are renamed:

quantized_relu_out --> quantized_relu_per_tensor_out
where_out --> where_self_out
mean_dim_out --> mean
softmax_out --> __softmax_out
clamp_tensor_out --> clamp_Tensor_out
corresponding .yml (functions_hifi.yaml) needs to be updated.

  1. Name changes of quantize files from

quantized_linear_out.cpp, quantized_layer_norm.cpp,quantized_fully_connected_out.cpp,
quantize_per_tensor.cpp,quantized_relu_out.cpp,dequantize_per_tensor.cpp
to
op_quantized_linear_out.cpp, op_quantized_layer_norm.cpp,op_quantized_fully_connected_out.cpp,
op_quantize_per_tensor.cpp,op_quantized_relu_out.cpp,op_dequantize_per_tensor.cpp

CMakeLists.txt has to be changed to change the file names.

  1. yml file has to be changed for quantized kernels to use per_tensor_out versions.

Differential Revision: D69568677

Copy link

pytorch-bot bot commented Feb 14, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8491

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 23538a1 with merge base 08eb5be (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 14, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69568677

Summary:

1. Few of the operators are renamed:

quantized_relu_out --> quantized_relu_per_tensor_out
where_out --> where_self_out
mean_dim_out --> mean
softmax_out --> __softmax_out
clamp_tensor_out --> clamp_Tensor_out
corresponding .yml (functions_hifi.yaml)   needs to be updated.

2. Name changes of quantize files from

quantized_linear_out.cpp, quantized_layer_norm.cpp,quantized_fully_connected_out.cpp,
quantize_per_tensor.cpp,quantized_relu_out.cpp,dequantize_per_tensor.cpp
to
op_quantized_linear_out.cpp, op_quantized_layer_norm.cpp,op_quantized_fully_connected_out.cpp,
op_quantize_per_tensor.cpp,op_quantized_relu_out.cpp,op_dequantize_per_tensor.cpp 

CMakeLists.txt has to be changed to change the file names.

3. yml file has to be changed for quantized kernels to use per_tensor_out versions.

Differential Revision: D69568677
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69568677

@facebook-github-bot facebook-github-bot merged commit f910ca9 into pytorch:main Feb 15, 2025
46 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants