Fix typo: 'paramter' → 'parameter' in quantization model report test (#157646)

This PR addresses a minor typo in the file `test/quantization/fx/test_model_report_fx.py`:

- Corrected the word "paramter" to "parameter" for better readability and accuracy.

While it's a small change, correcting such typographical errors contributes to maintaining the overall quality and professionalism of the codebase.

Thank you for your time and consideration in reviewing this PR. I'm happy to make any further adjustments if needed.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/157646
Approved by: https://github.com/yewentao256, https://github.com/ezyang
This commit is contained in:
Abhishek Nandy
2025-07-05 12:28:36 +00:00
committed by PyTorch MergeBot
parent 71a650ad56
commit 548c9d8281

View File

@ -1945,7 +1945,7 @@ def _get_prepped_for_calibration_model_helper(model, detector_set, example_input
example_input = example_input.to(torch.float)
q_config_mapping = torch.ao.quantization.get_default_qconfig_mapping()
# if they passed in fusion paramter, make sure to test that
# if they passed in fusion parameter, make sure to test that
if fused:
model = torch.ao.quantization.fuse_modules(model, model.get_fusion_modules())