Skip to content

Conversation

@perheld
Copy link
Collaborator

@perheld perheld commented Jan 31, 2025

Summary

Three small fixes for mypy warnings.

Test plan

Done with internal CI, no changes in result.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

In arm_vela.py, function vela_compile() there is a reuse of the
variable block_length that was of different type between uses and mypy
complained.

Change name of block_length that is used inside the loop to
block_length_bytes since its not a int.

Change-Id: If44e46269f777df903641f1cd4c30af4c60d5bbc
Fix mypy warnings in arm_model_evaluator.py

Change-Id: Ife2e5502d5dacd71e92bd5a86fdf25a34b0fd2b6
Annotate a dict to fix mypy warning.

Change-Id: Icbe9f846ecddcf974c47f355c36df63b9ea8f593
@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/8092

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

❌ 1 Cancelled Job, 1 Pending

As of commit e7d4c09 with merge base ce93291 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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
@perheld
Copy link
Collaborator Author

perheld commented Jan 31, 2025

@pytorchbot label ciflow/trunk

@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing labels Jan 31, 2025
@perheld
Copy link
Collaborator Author

perheld commented Jan 31, 2025

Failing test (pull / unittest / macos / macos-job (pull_request)) doesn't seem related to me.

@perheld perheld requested review from freddan80 and zingo January 31, 2025 13:23
@zingo zingo merged commit 9d4e1ee into pytorch:main Jan 31, 2025
105 of 110 checks passed
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