Skip to content

filter gif from lint rules #6002

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

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

pytorchbot
Copy link
Collaborator

Summary:
when running lintrunner -a, it shows

(executorch) chenlai@chenlai-mbp executorch % lintrunner -a
Warning: Could not find a lintrunner config at: '.lintrunner.private.toml'. Continuing without using configuration file.
  UFMT success!
  CLANGFORMAT success!
  FLAKE8 success!
  NEWLINE failure
  CMAKE success!
  ETCAPITAL success!


>>> Lint for examples/models/llama2/Android3_2_1B_bf16.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xf7 in position 10: invalid start byte


>>> Lint for examples/models/llama2/Android3_2_3B_SpinQuant.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xf7 in position 10: invalid start byte


>>> Lint for examples/models/llama2/llama_via_xnnpack.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xf7 in position 10: invalid start byte


>>> Lint for examples/models/llava/llava_via_xnnpack.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xd0 in position 6: invalid continuation
    byte
Successfully applied all patches.

Thanks kirklandsign for identifying the root cause!

Differential Revision: D64059251

Summary:
Pull Request resolved: #5995

when running `lintrunner -a`, it shows
```
(executorch) chenlai@chenlai-mbp executorch % lintrunner -a
Warning: Could not find a lintrunner config at: '.lintrunner.private.toml'. Continuing without using configuration file.
  UFMT success!
  CLANGFORMAT success!
  FLAKE8 success!
  NEWLINE failure
  CMAKE success!
  ETCAPITAL success!

>>> Lint for examples/models/llama2/Android3_2_1B_bf16.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xf7 in position 10: invalid start byte

>>> Lint for examples/models/llama2/Android3_2_3B_SpinQuant.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xf7 in position 10: invalid start byte

>>> Lint for examples/models/llama2/llama_via_xnnpack.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xf7 in position 10: invalid start byte

>>> Lint for examples/models/llava/llava_via_xnnpack.gif:

  Error (NEWLINE) Decoding failure
    utf-8 decoding failed due to UnicodeDecodeError:
    'utf-8' codec can't decode byte 0xd0 in position 6: invalid continuation
    byte
Successfully applied all patches.
```
Thanks kirklandsign for identifying the root cause!

Reviewed By: kirklandsign

Differential Revision: D64059251

fbshipit-source-id: 6960ea7eb8108c622cf33870258bbe3da741e27e
(cherry picked from commit fe083e5)
This was referenced Oct 8, 2024
Copy link

pytorch-bot bot commented Oct 8, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 7cb8c46 with merge base eecf74f (image):
💚 Looks good so far! There are no failures yet. 💚

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 Oct 8, 2024
@jackzhxng jackzhxng merged commit 14df42c into release/0.4 Oct 9, 2024
34 checks passed
@jackzhxng jackzhxng deleted the cherry-pick-5995-by-pytorch_bot_bot_ branch October 9, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants