Skip to content

Conversation

@Sebastian-Larsson
Copy link
Collaborator

@Sebastian-Larsson Sebastian-Larsson commented Apr 23, 2025

Asserts are converted to proper raises to ensure graph integrity.

It should not be possible for log to have more than 1 input for a correctly formatted graph, but in the node visitor we cannot know for sure that the graph is formatted correctly.

torch.log supports more data types than fp32, which is why it should be checked.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Asserts are converted to proper raises to ensure graph integrity.

It should not be possible for log to have more than 1 input for a
correctly formatted graph, but in the node visitor we cannot know for
sure that the graph is formatted correctly.

torch.log supports more data types than fp32, which is why it should be
checked.

Change-Id: I83181cb2b733390acfce7bc875c846057c71d6f5
Signed-off-by: Sebastian Larsson <[email protected]>
@Sebastian-Larsson Sebastian-Larsson added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Apr 23, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Apr 23, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 3 Pending

As of commit f24b442 with merge base 450d008 (image):

NEW FAILURE - The following job has failed:

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 Apr 23, 2025
@zingo
Copy link
Collaborator

zingo commented Apr 23, 2025

Unrealted lintrunner error:
Lint for backends/cadence/aot/tests/test_replace_ops_passes.py

@zingo zingo merged commit 0480fc0 into pytorch:main Apr 23, 2025
169 of 170 checks passed
SS-JIA added a commit that referenced this pull request Apr 23, 2025
* main:
  [ET-VK] Enable int8 tiled compute shader to be used with buffer tensors (#10415)
  Revert "Migrate elementwise_util callers to the variants with out_dtypes in template arguments" (#10411)
  Revert "Save some size in dtype_util when dtype selective build is not in use" (#10410)
  Generalize view_copy fusion.
  Add job_arn  to benchmark result (#10372)
  Revert "Minibench refactor (#10376)" (#10405)
  Revert "Arm backend: Populate __init__.py for quantizer and Arm root" (#10395)
  Arm backend: Convert assert to throw ValueError in op_log (#10392)
  Arm backend: Add Tutorial to Example tab on the Docs page (#10386)
  Arm backend: Update node visitors to support TOSA 1.0 (#10390)
  Arm backend: Make it easier to generate non delegated/quantized PTEs (#10387)
  Arm backend: Allow --quantize in non delegated using aot_arm_compiler (#10385)
  Arm backend: Set REGIONCFG registers of the Ethos-U (#10388)
@Sebastian-Larsson Sebastian-Larsson deleted the assert_log branch May 15, 2025 12:40
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 topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants