- 
                Notifications
    You must be signed in to change notification settings 
- Fork 706
Arm backend: Remove quant_utils.py #15392
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
base: main
Are you sure you want to change the base?
Conversation
quant_utils.py only have one public function, `build_rescale`, which in turn is only use by one file op_tosa_rescale.py. For this reason, move `build_rescale` into op_tosa_rescale.py and remove quant_utils.py. Signed-off-by: Martin Lindström <[email protected]> Change-Id: I2a3564e60e1566979b0c3714d3b17cded91b61cd
| 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15392
 Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 2 Cancelled Jobs, 2 Unrelated FailuresAs of commit 4db72ed with merge base c85ece4 ( NEW FAILURE - The following job has failed:
 
 CANCELLED JOBS - The following jobs were cancelled. Please retry:
 
 BROKEN TRUNK - The following jobs 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. | 
| @pytorchbot label ciflow/trunk | 
| @pytorchbot label "partner: arm" | 
| @digantdesai I think this PR needs approval from Meta since it removes a file. | 
| This PR needs a  | 
| @digantdesai It might be nice if you could tests this with buck2 internally? | 
quant_utils.py only have one public function,
build_rescale, which in turn is only use by one file op_tosa_rescale.py. For this reason, movebuild_rescaleinto op_tosa_rescale.py and remove quant_utils.py.cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai