Skip to content

Conversation

@tom-arm
Copy link
Collaborator

@tom-arm tom-arm commented Jan 31, 2025

  • Add filter_fn to ops_to_not_decompose, to filter out quantized candidate ops
  • Added aten.hardsigmoid as a table op for the BI case

Signed-off-by: Tom Allsop tom.allsop@arm.com

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

* Add filter_fn to ops_to_not_decompose, to filter out quantized candidate ops
* Added aten.hardsigmoid as a table op for the BI case

Signed-off-by: Tom Allsop <tom.allsop@arm.com>

Change-Id: I67e6d256dfae6ec6b8f679598043054d25d4a6de
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 31, 2025

🔗 Helpful Links

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

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

⏳ 2 Pending, 1 Unrelated Failure

As of commit 0ea3aed with merge base c9f5f19 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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 Jan 31, 2025
@tom-arm tom-arm added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: arm Changes to the ARM backend delegate labels Jan 31, 2025
@zingo
Copy link
Collaborator

zingo commented Jan 31, 2025

macos job fail not related

@zingo zingo merged commit 31f112e into pytorch:main Jan 31, 2025
105 of 106 checks passed
@tom-arm tom-arm deleted the add_hardsigmoid_op branch January 31, 2025 16:17
@digantdesai
Copy link
Contributor

macos job fail not related

This is something we are trying to fix. But running into other issues. Sorry about that.

self,
ep: ExportedProgram,
) -> Tuple[List[torch._ops.OpOverload], Optional[Callable[[torch.fx.Node], bool]]]:
ops_to_not_decompose_if_quant_op = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: why another list?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list is for ops where we specifically only want to not decompose if it's quantized. Also, another operator will be coming in a follow on commit, so a list is needed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that you are using the same list in the filter_fn, sounds good, false alarm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants