-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Specify file encoding in test_torch.py #97628
Conversation
Attempt to fix ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 5260: ordinal not in range(128) ``` in https://github.com/pytorch/pytorch/actions/runs/4522628359/jobs/7965372405 In general, it's a good practice to explicitly specify encoding
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/97628
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 1 PendingAs of commit 69aa24e: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Attempt to fix ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 5260: ordinal not in range(128) ``` in https://github.com/pytorch/pytorch/actions/runs/4522628359/jobs/7965372405 In general, it's a good practice to explicitly specify encoding, as otherwise it depends on environment variable and makes tests failures unpredicatble Pull Request resolved: pytorch#97628 Approved by: https://github.com/dagitses, https://github.com/kit1980
Attempt to fix ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 5260: ordinal not in range(128) ``` in https://github.com/pytorch/pytorch/actions/runs/4522628359/jobs/7965372405 In general, it's a good practice to explicitly specify encoding, as otherwise it depends on environment variable and makes tests failures unpredicatble Pull Request resolved: pytorch#97628 Approved by: https://github.com/dagitses, https://github.com/kit1980
* Only warn once for TypedStorage deprecation (#97379) Fixes #97207 Pull Request resolved: #97379 Approved by: https://github.com/ezyang * Specify file encoding in test_torch.py (#97628) Attempt to fix ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 5260: ordinal not in range(128) ``` in https://github.com/pytorch/pytorch/actions/runs/4522628359/jobs/7965372405 In general, it's a good practice to explicitly specify encoding, as otherwise it depends on environment variable and makes tests failures unpredicatble Pull Request resolved: #97628 Approved by: https://github.com/dagitses, https://github.com/kit1980 --------- Co-authored-by: Nikita Shulga <nshulga@meta.com>
Attempt to fix
in https://github.com/pytorch/pytorch/actions/runs/4522628359/jobs/7965372405
In general, it's a good practice to explicitly specify encoding, as otherwise it depends on environment variable and makes tests failures unpredicatble